Forum: Ruby on Rails Relatively easy HTML/XML parsing utilities?

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Bb4bdf2b184027bc38d4fb529770cde5?d=identicon&s=25 Wes Gamble (weyus)
on 2006-03-22 21:22
Anyone know of any Ruby modules which can be used to parse an HTML page
?

Thanks,
Wes
89d967359903c639d31e4cad4569f537?d=identicon&s=25 Charlie Bowman (Guest)
on 2006-03-22 21:26
(Received via mailing list)
Sure, try the net/http module.  You can see a very brief demonstration
it's use over at my blog.

http://www.recentrambles.com/pragmatic/view/34

On Wed, 2006-03-22 at 21:22 +0100, Wes Gamble wrote:

> Anyone know of any Ruby modules which can be used to parse an HTML page
> ?
>
> Thanks,
> Wes
>

Charlie Bowman
Programmer
Castle Branch Inc.
132a94ca65959bda6c74fae54bff2425?d=identicon&s=25 Ezra Zygmuntowicz (Guest)
on 2006-03-22 21:37
(Received via mailing list)
On Mar 22, 2006, at 12:22 PM, Wes Gamble wrote:

> Anyone know of any Ruby modules which can be used to parse an HTML
> page
> ?
>
> Thanks,
> Wes
>


	For this your best bet is probably RubyfulSoup. Its pretty liberal
with malformed html.

Cheers-
-Ezra Zygmuntowicz
Yakima Herald-Republic
WebMaster
http://yakimaherald.com
509-577-7732
ezra@yakima-herald.com
Bb4bdf2b184027bc38d4fb529770cde5?d=identicon&s=25 Wes Gamble (weyus)
on 2006-03-22 21:40
Ezra,

Thanks.  Searching semantics easier than XPath?  We'll see....I will
take a look at it.

Wes

Ezra Zygmuntowicz wrote:
> On Mar 22, 2006, at 12:22 PM, Wes Gamble wrote:
>
>> Anyone know of any Ruby modules which can be used to parse an HTML
>> page
>> ?
>>
>> Thanks,
>> Wes
>>
>
>
> 	For this your best bet is probably RubyfulSoup. Its pretty liberal
> with malformed html.
>
> Cheers-
> -Ezra Zygmuntowicz
> Yakima Herald-Republic
> WebMaster
> http://yakimaherald.com
> 509-577-7732
> ezra@yakima-herald.com
This topic is locked and can not be replied to.