From: Li Chen Date: 2008-09-09T01:55:28+09:00 Subject: Re: find a button using mechanize Lex Williams wrote: > Li , please post examples . What is it you want to extract ? From what > page ? Why hpricot ( i assume you want it for xpath , but I can't be > sure ) ? I need to 1) extract the definition of 'abucus'(see the following) from this page: abacus (n.) A manual computing device consisting of a frame holding parallel rods strung with movable counters. abacus (n.) A slab on the top of the capital of a column. 2)download the 'wav' file for this word and save it to my computer(so that I can play it later). Since I have a little bit experience with Hpricot I think using Hpricot might help me extract the definition of 'abacus'. But I am not sure if Mechanize can do the same thing. This is the reason I want to try Hpricot. Thanks, Li -- Posted via http://www.ruby-forum.com/.