[Rails] Re: FeedTools syntax question

contagion
Tue, 04 Apr 2006 10:36:45 -0000

>
> in the above feed, can anyone tell me how to access the
> openSearch:totalResults element using feed tools? I can access the other
> elements, but I''m unsure what special meaning the colon carries or
how
> to work with such items in feedtools
feed
FeedTools::Feed.open(''http://www.mozdex.com/open.jsp?query=webhosting&start=10'')
puts feed.find_node(''openSearch:totalResults'').text

''feed'' can be used as a simple REXML object

--
Posted via http://www.ruby-forum.com/.