[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

Help with Net::HTTP

Jono Oshea

1/9/2008 5:45:00 AM

Is there any method that will return certain html tags? For instance
instead of printing the entire body I would like to print a div class. I
looked through the rdocs but I didn't really find anything.
--
Posted via http://www.ruby-....

2 Answers

Giles Bowkett

1/9/2008 5:49:00 AM

0

> Is there any method that will return certain html tags? For instance
> instead of printing the entire body I would like to print a div class. I
> looked through the rdocs but I didn't really find anything.

Your best bet is Hpricot.

http://code.whytheluckystiff.ne...

--
Giles Bowkett

Podcast: http://hollywoodgrit.bl...
Blog: http://gilesbowkett.bl...
Portfolio: http://www.gilesg...
Tumblelog: http://giles....

Jono Oshea

1/9/2008 6:34:00 AM

0

Giles Bowkett wrote:
>> Is there any method that will return certain html tags? For instance
>> instead of printing the entire body I would like to print a div class. I
>> looked through the rdocs but I didn't really find anything.
>
> Your best bet is Hpricot.
>
> http://code.whytheluckystiff.ne...
>
> --
> Giles Bowkett
>
> Podcast: http://hollywoodgrit.bl...
> Blog: http://gilesbowkett.bl...
> Portfolio: http://www.gilesg...
> Tumblelog: http://giles....

Thank you that was exactly what I was looking for.
--
Posted via http://www.ruby-....