View Full Version : RSS Feed to HTML
12-17-2005, 01:10 PM
Here's a newb question, I've read a bit but I'm still a little foggy. I'm putting up a php page that needs to display an rss feed in plain old html. The feed isn't available as a js feed so my understanding is that I need to run it through an aggregator or script my server.
Does anyone have a simple solution with detailed instructions (a php script that I can just plug the feed into perhaps), or am I missing it completely?
12-17-2005, 02:53 PM
Yes, Magpie RSS (http://magpierss.sourceforge.net/). Just upload the files to your root, then drop the script into your php page and give it a feed to pull.
Let me know if you have any difficulties w/ it.
BTW - it can be on any type of dynamic page or even HTML (you'll need to modify your .htaccess file for HTML pages).
12-17-2005, 02:58 PM
Oh, also - there is a small problem with the script that causes it to write non w3c compliant HTML when it parses the feed. I haven't been compelled to modify it but if you get to it before I do, let me know ;)
12-17-2005, 03:16 PM
I'll give it a shot, thanks!
12-17-2005, 04:02 PM
That was cool, thanks! Now off to the cook book to play with it. Thanks again JLK.
12-17-2005, 05:07 PM
12-20-2005, 06:22 AM
I'm back, The inastallation guide/examples cited on the site http://laughingmeme.org/magpie_blog/?p=80 was and is down (and still is). I pulled one of the web that seemed to be working with code examples but I'm running into bugs. Do you have a reference from install to display (file modifications)?
12-20-2005, 06:31 AM
nope...but I can tell you how ;)
Unzip everything (maintaining the directory structure) and upload it to your root. Then drop your script into your php or asp page, check the path for the magpie file in the script, give it a feed and that is ready to go. Then just check the CHMOD on the magpie files.
If you're still running into problems, let me know where the page is and I'll take a look.
12-20-2005, 06:48 AM
Should they all be 777?
12-20-2005, 06:52 AM
I wouldn't use 777, there may be some security implications to that. I would try 755.
12-20-2005, 07:05 AM
They're already 755 that's why I asked. hmmm Can you pm me the php script you're using to display the feed?
12-20-2005, 11:32 AM
Jeremy, thanks... nipped a little hack and tack from webmonkey and it's flying right again.
12-21-2005, 05:11 AM
vBulletin v3.0.3, Copyright ©2000-2013, Jelsoft Enterprises Ltd.