![]() |
![]() |
![]() |
||||
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 |
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? |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
Confirmed User
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.
__________________
Want to promote SUCCUBUS? Click HERE!!!! | Want to buy SUCCUBUS? Click HERE!!!! Yeah, yeah, you know, That One Program! | Want to trade links with StompBunny.com? 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 |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 | |
FBOP Class Of 2013
Industry Role:
Join Date: Jan 2004
Location: bumfuck, ky
Posts: 35,562
|
Quote:
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 |
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
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 |
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 |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#6 |
So Fucking Banned
Join Date: Aug 2003
Location: ICQ #23642053
Posts: 19,593
|
You could ask me politely on ICQ if you want
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#7 |
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); ?> |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#8 |
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! |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#9 | |
FBOP Class Of 2013
Industry Role:
Join Date: Jan 2004
Location: bumfuck, ky
Posts: 35,562
|
Quote:
edit: nevermind, I guess since it is an include I can do as many as I would need oh well, this works for now |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#10 |
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! |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#11 |
CURATOR
Join Date: Jul 2004
Location: the attic
Posts: 14,572
|
__________________
tada! |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#12 |
Confirmed User
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 |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#13 |
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 |
![]() |
![]() ![]() ![]() ![]() ![]() |