RSS Feed Generator 1.0.3 There are separate classes for the RSS XML document, the feed channel definition, the feed items definition, the search text input definition and the feed logo image definition. The compose a RSS feed it is necessary to create object a RSS feed channel object and add item objects to its definition. The RSS feed XML document is generated by an RSS feed object given a previously created channel object. How I can Use it? its very easy see this example <?php require_once 'rss_generator.inc.php'; $rss_channel = new rssGenerator_channel(); $rss_channel->atomLinkHref = ''; $rss_channel->title = 'My News'; $rss_channel->link = 'http://mysite.com/news.php'; $rss_channel->description = 'The latest news about web-development.'; $rss_channel->language = 'en-us'; $rss_channel->generator = 'PHP RSS Feed Generator'; $rss_channel->managingEditor = 'your email here'; $rss_channel->webMaster = 'your email here agian'; //the example $item = new rssGenerator_item(); $item->title = 'Another website launched'; $item->description = 'Just another website launched.'; $item->link = 'http://anothersite.com'; $item->guid = 'http://anothersite.com'; $item->pubDate = 'Wed, 08 Mar 2006 00:00:01 GMT'; $rss_channel->items[] = $item; $rss_feed = new rssGenerator_rss(); $rss_feed->encoding = 'UTF-8'; $rss_feed->version = '2.0'; header('Content-Type: text/xml'); echo $rss_feed->createFeed($rss_channel); ?> PHP: download it http://www.jooria.com/downloads/434/RSS-Generator-7-12.zip Code (markup):
Good work brother and not sure if this is the right place for it. Thought there was another board for software stuffs.