Location: PHPKode > scripts > RSSCreator > thinkphp-RSSCreator-06f6c72/5/feed.php

 //will be outputting an RSS+XML document
 header("Content-Type: application/rss+xml");

 //include the RSS class

 //instantiate the class RSS
 //and therefore create an object of this type.
 $rss = new RSS();

 //call the method getFeed() that will return the actuan RSS 
 //feed once it has been constructed in the class,
 //so, perform an echo on the return value to write the data

Return current item: RSSCreator