Download html source code using a PHP file?
Posted: Mon May 28, 2007 3:16 pm
Hey guys!
Here's what I want to do:
I want to create an RSS feed (for self-usage) for a website I do not own - what I intend to do - is download the source code from the website I want to information from - and then run a replace string to <a href=""> on there and replace it with xml tags that will be readable as an RSS feed.
In order to do that, I need to download the source code of the page - dynamically (since it changes every few minutes) - how is that done?
Thank you very much,
ykarmi
Here's what I want to do:
I want to create an RSS feed (for self-usage) for a website I do not own - what I intend to do - is download the source code from the website I want to information from - and then run a replace string to <a href=""> on there and replace it with xml tags that will be readable as an RSS feed.
In order to do that, I need to download the source code of the page - dynamically (since it changes every few minutes) - how is that done?
Thank you very much,
ykarmi