Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

dpaanlka

macrumors 601
Original poster
Nov 16, 2004
4,869
34
Illinois
I cannot for the life of me figure out how to get titles and links from my RSS feed located here:

feed://forums.info-mac.org/rss.php

To integrate into my home page. None of the free RSS to HTML services I've found seem to work and neither do the few PHP scripts I tried.

Does anyone have experience with this?
 
I use igoogle... the personalized google page and your link worked. I'm also on Firefox... which is great for these things...

:D
 
psv said:
I use igoogle... the personalized google page and your link worked. I'm also on Firefox... which is great for these things...

I suggest using Google Reader. Its an exelent RSS reader.

www.google.com/reader

The question wasn't about reading RSS, but presenting the RSS for others to view on a page. The advice about trying http may be able to help. I use XSLT and PHP using DOM to deal with XML files, either of which could help out here.
 
I have done it in the past, and had a reasonable degree of success with it. I used one of the PEAR modules (RSS or just plain ole XML, but can't remember which) to read the stream. The format of an RSS feed file is quite simple, and you will probably only want to pull out 3 or 4 fields from each record. Shouldn't be too hard.

Possibly the best tip I can give you is this. Don't rely on the 3rd party file (the RSS itself) being available live. Use some kind to cron timed script that will download the feed file to your local machine (probably the server) and process the file from there. You shouldn't need to do it more than once per minute. It also has the effect of reducing the bandwidth usage of your site, and the feed owner's. The feed I took was only updated once every 7 minutes or something like that, so I copied it down once every 7 minutes. Of course, there was a potential for my site to be up to 14 minutes out of date, but the nature of the data was not time sensitive.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.