Categories

Updated: 02/06/2007

RSS/ATOM Feeds Processing API

This is an API (written in PHP) providing functionality for fetching RSS/ATOM feeds and displaying them using templates in an exaggeratedly easy way. It uses SimplePie (http://simplepie.org) to fetch the feeds and the XTemplate templating engine(http://www.phpxtem plate.org) for output. Thanks to SimplePie it can autodetect and correctly interpret RSS 0.91, RSS 1.0, RSS 2.0 as well as ATOM 0.3 and ATOM 1.0. The script will attempt to autodetect the most commonly used tags in RSS/ATOM fields so you will not have to worry about the fact that different feeds have different structure (read in the manual about the autodiscover property). Note that this property will try and get the most commonly used tags (title, author, link, date, etc) but if you want to go berserk and use all the tags from your favourite feed than you should reffer to the item property. Also, the global details of the feed can be accessed through the feed property. Read the manual for more information!
©2003-2019 jCay.com