Kaizen Maven Posted June 12, 2007 Share Posted June 12, 2007 I found this php script lastRSS. That will spit out your RSS feed headers as an ul list. I just can't make it work. The instructions are to place the snippet of code on your page. Here is what I have: <h1>News Test</h1> <?php // include lastRSS library include 'lastRSS.php'; // create lastRSS object $rss = new lastRSS; // setup transparent cache $rss->cache_dir = './cache'; $rss->cache_time = 3600; // one hour // load some RSS file if ($rs = $rss->get('http://tulanelib.blogspot.com/feeds/posts/default')) { // here we can work with RSS fields } else { die ('Error: RSS file not found...'); } ?> , then the author gives you the file lastRSS.php to upload to the same directory. (Which I have done). But nothing prints out. See example here. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.