On 26.11.2007, at 11:23, Marcus Strube wrote:

> hi all.
>
> im very new to ruby and im not sure how to do this the easiest way in
> ruby. i want to read the content from e.g. "www.spiegel.de" and just
> this line
>
> <link rel="alternate" type="application/rss+xml" title="SPIEGEL ONLINE
> als RSS-Feed" href="http://www.spiegel.de/schlagzeilen/rss/ 
> index.xml" />
>
> and from this line the "title" and the "href"
>
> since the order in "link" is not sure, it doesnt look like regexp is  
> the
> first choice. and i couldn't find a HTML::Parse.

How about hpricot?

http://code.whytheluckystiff.net/hpricot/

- Kai Brust