/ Published in: Ruby
URL: http://localhost:8808/doc_root/hpricot-0.6/rdoc/index.html oneliner
Say gem server if the above URL doesn't work for you
Expand |
Embed | Plain Text
doc = open("file.xml") { |f| Hpricot.XML(f) } # examples assuming RSS from a Yahoo! Pipe items = doc.search "ul.htmlresults > li" links = items.search "a" images = items.search "img"
You need to login to post a comment.
