Ever since RSS feeds came out I have wanted to be able to pull those feeds in and display them on some of my websites. I have tried many different ways but never came up with a viable solution. A week or so ago I ran across this free script RSS2HTML.
RSS2HTML is a php script that you upload to your server. It pulls your feed in and gives you the code to display that feed on any website. It allows you to choose what parts of the feed elements to display, as well as how many entries you would like to display from the feed.
I didn’t want to be pulling the feed every time that particular page loaded though, so I needed to find some kind of cache script. RSS2HTML has a cache script but you have to pay for it. I am a cheapo so that wasn’t an option for me. After a few google searches I found an old PHP cache script that fit the bill. It worked, but it was really slow to load. The script actually creates a static html page that’s rewritten if it’s past the time frame that you set, so what I did was load the actual html page versus the cache script. That alone will not produce an html page/php include that updates at your given time frame, but what I did was create a cron job that “hits” that cache script at the time interval that I wanted it to.
Long story short, I finally have a RSS to Html solution that works like I need it to.