RSS2Writer - A convenience class to generate RSS 2.0 feeds

RSS2Writer is a simple class which allows the creation of RSS 2.0 feeds.

<?php

require_once 'rss2writer.php';

$rss = new RSS2Writer('http://myblog.example.com/');

$rss->addItem(
  
'http://myblog.example.com/article.php?id=123',
  
'Interesting article!',
  
'<b>Foo!</b><br />You totally gotta bar the foo.'
);

$rss->output();

?>

Download

Current release: rss2writer-0.02.tar.gz

If you require an older version, check the release archive.

You may also access the svn repository to check out the most current development version.

Documentation

Read the full API-documentation which also contains further examples.

Related

 

Last modified on 26.08.2006 at 16:38 GMT