Asp Forum
Home
|
Login
|
Register
|
Search
Forums
>
comp.lang.ruby
Hpricot question
Nanda Yadav
1/30/2008 8:26:00 PM
when I parse html file and capture the elements, hpricot automatically
fixes the issues and shows the results.
so if html source code has
<title> This title is formatted wrong <adsfadsftitle>
puts doc.at("title").to_html shows
<title>This title is formatted wrong </title>
What I want to do is capture the actual text and tags as they are, is
there any method in hpricot that does that or is there another parser i
can use for this purpose.
Thanks a bunch!
--
Posted via
http://www.ruby-...
.
Servizio di avviso nuovi messaggi
Ricevi direttamente nella tua mail i nuovi messaggi per
Hpricot question
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