Back to DeveloperDocs
HOWTO: RSS 2.0 Feeds with Campsite
You can generate RSS 2.0 feeds from campsite with the addition of a small PHP script combined with a campsite template, see the attached file.
- rss.php – adds appropriate Content-Type headers plus checks for well-formed XML, translates relative links into absolute links
- rss.xsl – displays RSS 2.0 feed as XSLT-transformed HTML in Moz/Firefox browsers
- rss-valid.gif – icon used on the XSLT-transformed RSS feed.
- look/ – some files to drop into your template directory.
The easiest way to get started with this is
cd /var/www/campsite/campsite (your campsite instance directory) tar jxvf campsite-rss-0.2.bz2
You will then need to go into the campsite admin system and edit the templates, so that the parse adds them to its database.
Note that there is also a way to publish RSS 1.0 feeds with campsite, see CSRSSPodcasting tar.gz
JP
Attachments
- campsite-rss-0.2.tar.bz2 (4 kB) – , added by johnpye on Fri Aug 12 16:47:13 2005.
- Screenshot.png (68 kB) – showing a campsite RSS 2.0 feed as it appears in bloglines, added by johnpye on Fri Aug 12 16:51:20 2005.