![]() |
![]() |
![]() |
||||
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
Confirmed User
Industry Role:
Join Date: Jun 2001
Location: Sunny Land
Posts: 5,593
|
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.
![]()
__________________
Contact me: \\// E: webmaster /at/ unprofessional.com |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
Now choke yourself!
Industry Role:
Join Date: Apr 2006
Posts: 12,085
|
[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.
__________________
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 |
Confirmed User
Industry Role:
Join Date: Feb 2004
Location: Tampa yomebe -at- hotmail
Posts: 3,980
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 |
Confirmed User
Join Date: Jan 2005
Posts: 2,640
|
I use MagpieRSS for that - download/view instructions here: http://magpierss.sourceforge.net/
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 | |
Confirmed User
Industry Role:
Join Date: Jun 2001
Location: Sunny Land
Posts: 5,593
|
Quote:
I couldn't get it to parse a google RSS feed, so I deleted it.
__________________
Contact me: \\// E: webmaster /at/ unprofessional.com |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#7 |
Confirmed User
Join Date: Oct 2005
Posts: 1,094
|
why not use simplepie?
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#8 |
Too lazy to set a custom title
Industry Role:
Join Date: Jun 2005
Location: 127.0.0.1
Posts: 27,047
|
__________________
Make Money
|
![]() |
![]() ![]() ![]() ![]() ![]() |