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-...
.
Servizio di avviso nuovi messaggi
Ricevi direttamente nella tua mail i nuovi messaggi per
Help with Net::HTTP
Inserendo la tua e-mail nella casella sotto, riceverai un avviso tramite posta elettronica ogni volta che il motore di ricerca troverà un nuovo messaggio per te
Il servizio è completamente GRATUITO!
x
Login to ForumsZone
Login with Google
Login with E-Mail & Password