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

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

 //include the RSS class
 include('rss.class.php');

 //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
 echo$rss->getFeed();

?>
Return current item: RSSCreator