Jaco de Groot <[EMAIL PROTECTED]> wrote: > Michiel Meeuwissen wrote: > >Jaco de Groot <[EMAIL PROTECTED]> wrote: > > > >>Michiel Meeuwissen wrote: > >> > >>> - mm:countrelations searchdir="source|destination" role="posrel" > >> > >>It would be nice if the countrelations tag has the same attributes as the > >>relatednodes tag. > > > > > >I think 'searchdir' and 'role' are new now. What is missing more? > >'constraints' perhaps? > > Yes and any attribute that can influence the size of the returned list like > max. The problem is that is isn't possible to use > <mm:related><mm:size></mm:related> because nothing gets printed if size is > zero.
I think you missed the point about the new containers a bit. The follwing will print zero if there are no pos-related news articles: <mm:relatednodescontainer type="news" role="posrel"><mm:size/></mm:relatednodescontainer> So, basicly the countrelations tag is a bit obsolete now. Furthermore countrleations does not return a list, so I think adding a 'max' attribute on it is a bit silly. Should it simple return max if it would otherwise return a bigger number? Michiel -- Michiel Meeuwissen Mediapark C101 Hilversum +31 (0)35 6772979 nl_NL eo_XX en_US mihxil' [] ()
