Hi,
Thanks for that. What I'm trying to do is this: Take a web page, and extract certain tags, such as the <a></a> tags and the links that are in between them. Once I have the information I need, then I'll turn those into an RSS XML file which will then be parsed and displayed as HTML on my site showing the latest news headlines from sites such as Fox News (with their permission, of course).
There are some news aggregators out there that do this for you, but they either display a banner of some sort to their site, or when you click the link it goes to their site then to the news headlines. I decided that I would like to do this on my own. I found a tutorial on how to do this in Perl, located here. However, I don't know anything about Perl and I would much rather have it in PHP anyway.