Parse result page

how to fetch a page then enter some text parse the results page and
display it for ex:google please could i get piece of code with step
explained it would be great help.

···

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

Hi,

···

On Sun, May 27, 2012 at 3:48 PM, Prajwal B. <lists@ruby-forum.com> wrote:

how to fetch a page then enter some text parse the results page and
display it for ex:google please could i get piece of code with step
explained it would be great help.

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

You can use mechanize [1] to fetch the page and nokogiri [2] to parse
result.

Hope that I can help you.

[1] http://mechanize.rubyforge.org/
[2] http://nokogiri.rubyforge.org/

--
Duong Quang Ha (Hà Quang Dương in Vietnamese)
blog.haqduong.com

could you ive me a piece ofcode

like how to search a text in goole and clicl the button parse the result
page and display it. i am not understanding how to use both together

···

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