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.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 02-02-2006, 04:14 AM   #1
Jace
FBOP Class Of 2013
 
Industry Role:
Join Date: Jan 2004
Location: bumfuck, ky
Posts: 35,562
How would I go about formatting an xml feed onto a php page?

I want to take a rss feed, like this http://rss.news.yahoo.com/rss/topstories

and have it translate onto a php page....any idea how to do this?
Jace is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-02-2006, 04:17 AM   #2
newbreed
Confirmed User
 
newbreed's Avatar
 
Join Date: Nov 2003
Location: ThatOneProgram.com
Posts: 9,898
Dude I can't believe you don't know how to do this.

format c:

Duh.

PS - I have no idea how to do it either so here is a bump.
__________________

Loryn ‎(3:16 PM):
I love it, just as long as we keep the bedroom door closed from all ears then we can have throw down hard core sex that makes us money haha
fuck it we can have sex on money never did that before
newbreed is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-02-2006, 04:21 AM   #3
Jace
FBOP Class Of 2013
 
Industry Role:
Join Date: Jan 2004
Location: bumfuck, ky
Posts: 35,562
Quote:
Originally Posted by newbreed
Dude I can't believe you don't know how to do this.

format c:

Duh.

PS - I have no idea how to do it either so here is a bump.
hahahaha, you fag
Jace is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-02-2006, 04:26 AM   #4
Jace
FBOP Class Of 2013
 
Industry Role:
Join Date: Jan 2004
Location: bumfuck, ky
Posts: 35,562
wonder where chio is, he knows all about this shit
Jace is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-02-2006, 04:33 AM   #5
beta-tester
Rock 'n Roll Baby!
 
Join Date: Sep 2004
Location: USA, temporarly
Posts: 22,562
good question...I would like to know how to do that, too.

So, here's one bump for you.
__________________

Sig for sale. Affordable prices. Contact me and get a great deal ;)

My contact:
ICQ: 944-320-46
e-mail: manca {AT} HotFreeSex4All.com
beta-tester is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-02-2006, 04:34 AM   #6
who
So Fucking Banned
 
Join Date: Aug 2003
Location: ICQ #23642053
Posts: 19,593
You could ask me politely on ICQ if you want
who is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-02-2006, 04:55 AM   #7
Jace
FBOP Class Of 2013
 
Industry Role:
Join Date: Jan 2004
Location: bumfuck, ky
Posts: 35,562
WOO HOO

got it

go to http://www.rssfeedreader.com/ and sign up (free)

and fill in all the info you want to be there, including the feed url, and it spits out something that looks about liek this:

Code:
<?php
$olderror_reporting =error_reporting(0);
include ("http://www.rssfeedreader.com/rss3/rss.php?url=http%3A%2F%2Fwww.ainews.com%2Fnewsfeed%2FAINewsFP.rss&newpage=1&chead=&atl=&desc=1&owncss=&eleminate=&auth=1&dts=1&width=745&max=15&tlen=0&rnd=1&bt=3&bs=None&nmb=&ntb=&naf=&nst=&nwd=0&nht=0&dlen=0&lstyle=1&lc=&dlttime=0&bg=%23ff96d9&bc=BLUE&spc=&ims=&tc=BLACK&ts=10&tfont=Verdana,+Arial,+Sans-serif&rf=".$HTTP_SERVER_VARS['SERVER_NAME'].$HTTP_SERVER_VARS['PHP_SELF']."&phpout=1");
error_reporting($olderror_reporting);
?>
and there it is, an rss feed pusblished on my php pages
Jace is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-02-2006, 04:59 AM   #8
2HousePlague
CURATOR
 
Join Date: Jul 2004
Location: the attic
Posts: 14,572
Also...


<?php
include 'http://yoursite.com/rss2html.php?XMLFILE=http://RSSfeedURL&TEMPLATE=http://templateURL&MAXITEMS=20'; ?>


Because you supply the template, it gives a lot of control over how it looks.

For example: http://profitlabinc.com


2hp
__________________
tada!

Last edited by 2HousePlague; 02-02-2006 at 05:01 AM..
2HousePlague is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-02-2006, 05:13 AM   #9
Jace
FBOP Class Of 2013
 
Industry Role:
Join Date: Jan 2004
Location: bumfuck, ky
Posts: 35,562
Quote:
Originally Posted by 2HousePlague
Also...


<?php
include 'http://yoursite.com/rss2html.php?XMLFILE=http://RSSfeedURL&TEMPLATE=http://templateURL&MAXITEMS=20'; ?>


Because you supply the template, it gives a lot of control over how it looks.

For example: http://profitlabinc.com


2hp
yeah, I saw that, but I didn't see a thing that said I could use more than one news feed per page....I have 10 news feeds that I am putting on one single page

edit: nevermind, I guess since it is an include I can do as many as I would need

oh well, this works for now
Jace is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-02-2006, 05:15 AM   #10
2HousePlague
CURATOR
 
Join Date: Jul 2004
Location: the attic
Posts: 14,572
Sure you can. You can drop as many of those SSI lines on a page as you like, and RSS2HTML has a concatenate feature that lets you bring multiple feeds into one template.





2hp
__________________
tada!
2HousePlague is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-02-2006, 05:19 AM   #11
2HousePlague
CURATOR
 
Join Date: Jul 2004
Location: the attic
Posts: 14,572
More useful RSS display tools and ideas:

http://www.rss-specifications.com/display-rss.htm




2hp
__________________
tada!
2HousePlague is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-02-2006, 10:10 AM   #12
devilspost
Confirmed User
 
devilspost's Avatar
 
Industry Role:
Join Date: Feb 2004
Location: Tampa yomebe -at- hotmail
Posts: 3,980
Check out the tutorial I have to see if you can use it.

http://www.makemoneywithporn.com/rss-feeds.html
__________________

Brothels and Escorts Worldwide.
devilspost is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-02-2006, 12:14 PM   #13
beta-tester
Rock 'n Roll Baby!
 
Join Date: Sep 2004
Location: USA, temporarly
Posts: 22,562
Thanks for great info guys
__________________

Sig for sale. Affordable prices. Contact me and get a great deal ;)

My contact:
ICQ: 944-320-46
e-mail: manca {AT} HotFreeSex4All.com
beta-tester is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.