I need to know any way to read the values from a webpage table

Hi,

I need your help to find and select the value say "Contact: Email
Credentials" using Ruby.

The source code i have attached above for the same.

Please help me out here!!

Regards,
Arup

Attachments:
http://www.ruby-forum.com/attachment/7768/Websource.txt

···

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

To scrape a page a good tool is Nokogiri (it's a gem). You can use
XPath or CSS selectors to read specific tags from the HTML and extract
them. I recommend you read a bit about XPath and look at the nokogiri
documentation, where there are examples.

Jesus.

···

On Fri, Sep 28, 2012 at 4:15 PM, Arup Rakshit <lists@ruby-forum.com> wrote:

Hi,

I need your help to find and select the value say "Contact: Email
Credentials" using Ruby.

The source code i have attached above for the same.

Please help me out here!!

hi

a fast source of information:

which uses nokogiri

hope this help

Arup Rakshit wrote in post #1077906:

···

Hi,

I need your help to find and select the value say "Contact: Email
Credentials" using Ruby.

The source code i have attached above for the same.

Please help me out here!!

Regards,
Arup

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

You should watch Ryan Bates's Railscasts on this topic:

···

On Fri, Sep 28, 2012 at 11:15 AM, Jesús Gabriel y Galán < jgabrielygalan@gmail.com> wrote:

On Fri, Sep 28, 2012 at 4:15 PM, Arup Rakshit <lists@ruby-forum.com> > wrote:
> Hi,
>
> I need your help to find and select the value say "Contact: Email
> Credentials" using Ruby.
>
> The source code i have attached above for the same.
>
> Please help me out here!!

To scrape a page a good tool is Nokogiri (it's a gem). You can use
XPath or CSS selectors to read specific tags from the HTML and extract
them. I recommend you read a bit about XPath and look at the nokogiri
documentation, where there are examples.