![]() |
Adding RSS feed to simple PHP page?
anyone know of any good articles on how to add an RSS feed to a php page as an include? Can't seem to find good articles on it, and all google pulls up is RSS feed parser services that add links back to them in the feed with ads. :helpme
|
[overstrike]If you have the title, content, etc as a variable, then it's easy. Encapsulate that in RSS compatible tags. Otherwise, you're going to have to parse it; regex is your friend for that.
If you're using a DB I could probably whip you up a solution for a few bucks. I recently implemented RSS 2.0 for SBL.[/overstrike] I parsed you backwards. If you want to include RSS in your content, you're going to have to be able to read the feed, parse it, then convert it back to HTML. |
|
I use MagpieRSS for that - download/view instructions here: http://magpierss.sourceforge.net/
|
Quote:
I couldn't get it to parse a google RSS feed, so I deleted it. |
Have a look at RSS2HTML
|
why not use simplepie?
|
Quote:
|
All times are GMT -7. The time now is 06:45 PM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123