From: Duong Quang Ha Date: 2012-05-27T18:23:41+09:00 Subject: Re: parse result page --e89a8ff24bcd0baf0104c101289c Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi, On Sun, May 27, 2012 at 3:48 PM, Prajwal B. 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/ --=20 Duong Quang Ha (H=C3=A0 Quang D=C6=B0=C6=A1ng in Vietnamese) blog.haqduong.com --e89a8ff24bcd0baf0104c101289c Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi,

On Sun, May 27, 2012 at 3:48 PM, Praj= wal 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]=C2=A0http://mechanize.rubyforge.org/
[2]=C2=A0http://nokogiri.ru= byforge.org/

--
Duong Quang Ha (H= =C3=A0 Quang D=C6=B0=C6=A1ng in Vietnamese)
blog.haqduong.com

--e89a8ff24bcd0baf0104c101289c--