Not all feeds are RSS2.0

Some are Atom, which is a different format.

Of course there's also the issue that you're assuming that

1. the text of interest is on the same line as the <link>/<title> tags
2. <title> isn't on the same line as <link>
3. the first < of the line is from the <title> or <link> tag

and I'm sure there are other logic errors in that script. None of those 3 points are guaranteed.

You should try to find a proper XML parsing dll/script for an RSS feed.


- argv[0] on EFnet #mIRC
- "Life is a pointer to an integer without a cast"