npsobj_newslist_selected ::= <npsobj newslist = "selected" ( name = "channel_field" | value = string ) [ ( length = "length" ) ] > content </npsobj> string = "string"
This instruction is used for generating newslists. selected
indicates that only news from the specified channels are taken into account. The channels are specified either indirectly via the channel_field
field or directly as a string. channel_field
can be of the type string, text, selection, or multiple selection. Channels specified directly or indirectly as a string must be separated by a comma from each other. The instruction generates a list containing at most length
file contexts and replaces the element with a sequence of texts resulting from evaluating content
for each element in the context list.
<npsobj newslist="selected" name="channels" length="20"> This is evaluated for each news item </npsobj>