PDA

View Full Version : How to...


Markpyro
05-31-2005, 8:56 PM
I remember reading something in my php book about... being able to pull text from a seperate websight just through the code. For example; I want the latest news header to appear in a header on my site. would it be possible to do this?

-Mark

ZeroDarkStar
05-31-2005, 10:17 PM
RSS should do the trick.

Toucan
05-31-2005, 10:33 PM
, ya RSS

http://www.pcworld.com/resource/rss/0,00.asp
thats pc worlds RSS list, I use to know an excellent site that was an rss index, but now I cant find it.
also lots to be learnt from google's adsense, you will find that blogger works in a similar way as well.
Because its in RSS you have the advantage of laying out the info how you want as well

WeekendLazyness
05-31-2005, 11:32 PM
I wrote a php script that would parse RSS feeds - you can view it by clicking on the blue WL button on my website (http://wl.gotdns.org/) - I'll give you the source if you want.

Markpyro
06-01-2005, 12:30 PM
sure, I'll take the source. Email it to me- markpyro@gmail.com

WeekendLazyness
06-01-2005, 8:10 PM
Sent.

EDIT: I forgot to mention - it will store the cached feeds in the "xmldata" folder on your server - you can change it in the code if you want.

Markpyro
06-01-2005, 10:19 PM
Mmkay, thanks a lot :D

WeekendLazyness
06-02-2005, 12:31 AM
I wanna see when you implement it. :D