[lnkForumImage]
TotalShareware - Download Free Software

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


 

Forums >

comp.lang.ruby

Html parses

Marcio Francisco

12/8/2005 6:25:00 PM

Hello

Does anyone knows about an html parser in ruby?
One that separate all tags...

thx

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


2 Answers

James Gray

12/8/2005 7:19:00 PM

0

On Dec 8, 2005, at 12:24 PM, Marcio Francisco wrote:

> Hello
>
> Does anyone knows about an html parser in ruby?
> One that separate all tags...

Sure. Here's one possibility:

http://www.crummy.com/software/Ru...

James Edward Gray II


Gene Tani

12/8/2005 7:41:00 PM

0


Marcio Francisco wrote:
> Hello
>
> Does anyone knows about an html parser in ruby?
> One that separate all tags...
>
> thx
>
> --
> Posted via http://www.ruby-....

I'm time trialling python and ruby parser right now, so I'm going to
spew you a list of links for:

html-parser-2
htree
ymHTML module
htmltools: requires patched html-parser (gem)

rubyful soup:
WWW::Mechanize # built on htmltools, xmltree,
htmltokenizer: handles mismatched tags (gem)

REXML: Tree & stream parsing
(Yeah, that's a lot of libs)

Here's the spew:

http://raa.ruby-lang.org/project/html...
http://diveintopython.org/html_processing/...
http://cvs.m17n.org/~...

http://www.yoshidam.net/Ruby.h...

http://ruby-htmltools.ruby...
http://ruby-htmltools.ruby...doc/
http://bike-nomad...

http://rubyforge.org/pro...
http://neurogami.com/caf...
http://rubyforge.org/projects/html...

http://www.germane-software.com/softw...