Use URL only if aviable

hi

I have an RSS feed on my page and if the rss source is not aviable it
prints out an error.


<%= parseFeed(“Domain.de - Seite nicht gefunden”, 10) %>


How can I tell ruby only to use the rss feed if the rss source is
aviable?

something like unless? or so?

Greetings Chaos

anybody knows a solution? I would love to hear it :wink:

On Tue, Jan 27, 2009 at 9:45 AM, Andi G.
[email protected] wrote:

I have an RSS feed on my page and if the rss source is not aviable it
prints out an error.

<%= parseFeed(“Domain.de - Seite nicht gefunden”, 10) %>

http://catb.org/~esr/faqs/smart-questions.html


Hassan S. ------------------------ [email protected]