Asp Forum
Home
|
Login
|
Register
|
Search
Forums
>
comp.lang.ruby
Noob, html trees & parsing
Michael Lesser
6/12/2009 8:10:00 PM
Hi all.
Noob, first project, read the Poignant Guide, et al.
I have a big Perl script that parses badly-formed HTML files with HTML
Element/Tree. I think it's time for an update.
I think the equivalent in Ruby is Hpricot? I haven't found a lot of dox
on this, so I am assuming that this type of problem is something that
becomes 'obvious' once you start working in Ruby. Or should I be
looking at another/better solution (as in, duh, it's got XXX built-in,
noob...)?
TIA
--
Posted via
http://www.ruby-...
.
1 Answer
Sanjay Sharma
6/13/2009 7:28:00 PM
0
Michael Lesser wrote:
> Hi all.
>
> Noob, first project, read the Poignant Guide, et al.
>
> I have a big Perl script that parses badly-formed HTML files with HTML
> Element/Tree. I think it's time for an update.
>
> I think the equivalent in Ruby is Hpricot? I haven't found a lot of dox
> on this, so I am assuming that this type of problem is something that
> becomes 'obvious' once you start working in Ruby. Or should I be
> looking at another/better solution (as in, duh, it's got XXX built-in,
> noob...)?
>
> TIA
You might want to take a look at html5lib <
http://code.google.com/p...
> for parsing bad markup.
--
Posted via
http://www.ruby-...
.
Servizio di avviso nuovi messaggi
Ricevi direttamente nella tua mail i nuovi messaggi per
Noob, html trees & parsing
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