Frequently Asked Questions v2 |
FAQ Main / Answer Detail |
How do I automatically feed only select items to other slices?
Author: Honza and Jason |
|
Through Value field on
the Mapping page you can specify not only a new value, but also
any AA expression, which is
unaliased - example:
<a href="{source_href.....}">{source..........}</a>
In the Value field you can specify, which items should be
fed and which not. It is done by modifying the value of the ‘Status Code’ of the
receiving slice, according to field in the feeding slice.
Status codes are:
1=active, 2=Holding, 3=Trash, 4=Do not fed)
An example set-up:
1) Set Feeding, as usual ('Slice
Admin' -> 'Inner Node Feeds') (see feeding FAQ)
2) Go to 'Slice Admin' ->
'Mapping' and select the your source slice
3) fill something like:
{switch({category.......1})Enviro:1:4} for 'Status Code' and set FROM to '--
Value --'
After this all items from the source
slice with category 'Enviro' will be fed into Active ('Status Code' value=1).
Other will not be fed ('Status Code' value=4).
|
Last Edit: Aug 17 2011
<aafaq id=2060> ~ToDo: 2060 How do I automatically feed only select items to other slices? </aafaq>
This FAQ interface was developed by Jason at Commons.ca
|
APC
ActionApps is a free software content management system initiated by
the Association for Progressive Communications (APC) APC - Internet and ICTs for social justice and development |