From: Jeff Pritchard Date: 2006-03-28T12:51:03+09:00 Subject: Re: Waiter, there's a noob in my soup! ...or even just a Ruby example of how to use a URL to get the source of a web page? thanks, jp Jeff Pritchard wrote: > Thanks Gene, but I don't know which end is up with Python. I'm an old C > dog trying to learn a new (ruby) trick. Would rather not use up any of > my precious few functional neurons with Python. > > Anybody have a Ruby example of grabbing html pages from a site map full > of links, or an example of using the RubyfulSoup package to grab text > pieces from html pages? > > thanks, > jp > > > Gene Tani wrote: >> Jeff Pritchard wrote: >>> example code than by studying docs. >>> >>> I was wondering if anyone could point me to some example code that is >>> using RubyfulSoup to parse a sitemap to get links to all the pages on >>> that site and request each page and grab things from it. >>> >> >> this is kinda close, it uses BeautifulSoup >> http://sig.levillage.org/?p=599 -- Posted via http://www.ruby-forum.com/.