Archive for the ‘RSS feed’ Category

RSS feed class

June 15, 2008

Today i have implemented a new class named RSS feed class.

Description of this class:

This class can be used to regenerate an RSS 2.0 feeds from another feed. It retrieves the contents from a given RSS feed and show it in the RSS 2.0 format. The regenerated feed is saved to an xml file.

Class Name : feedGenerator

Methods Description:

1. getHeader() : return the header of an xml file
2. getBody() : return the main contents of rss feed
3. getFooter() : return the footer of xml file
4. generateXMLFile() : Regenarated feed write on an xml file

Download this class from here

Used Technology :
PHP5, XML, DOM