5 February 2018 | 43 views | Tags: Documentation
An RSS feed, represented by the TfishRss class, is automatically generated for your site by rss.php. The feed will only include content marked as online and the feed it will not include tags, static pages or blocks. You can exclude other content types or refine the feed content requirements if you wish by adding more conditions to the $criteria; see the file for a working example.
Feeds are also available for tags and collections.
- In the case of tags, pass in the tagId in the query string, eg. https://yoursite.com/rss.php?tagId=42.
- In the case of collections pass in the id of object eg. https://yoursite.com/rss.php?id=45. (This will probably be cut down to ID for consistency in future).
Feeds use the RSS posts preference to control how many items are included in the feed, but you can override the number in rss.php if you want to use something different.
If you don't want feeds just delete rss.php from your website and they are gone.
Copyright, all rights reserved.