Forum for discussing general topics related to Couch.
4 posts Page 1 of 1
Hi,
How can I filter an rss feed by k_page_foldertitle or similar tag.

I have created the rss.php file and it works lovely. However I need to filter by folder title to only get the feed I want.

Is there a way to do it the couch way?

Thanks.
Hi,

RSS feed, as described in our docs (http://docs.couchcms.com/concepts/rss-feeds.html) is created using <cms:pages> tag to do the listing.

One is free to use all the parameters the cms:pages tag accepts to filter its results. For example, the following would only list pages belonging to the two specified folders using the 'folder' parameter -
Code: Select all
<cms:pages masterpage='whatever.php' limit="10" folder='classic-bikes, super-bikes'>

Please see http://docs.couchcms.com/tags-reference ... tml#folder for more details on this parameter.

Hope it helps.
Hi KK,
Thanks for your response and assistance.

Yes it worked perfect with the filters applied. Working with CouchCMS is such a joy every time.

Thanks again.
You are welcome, Harris :)
4 posts Page 1 of 1