News for hackers. Stuff that matters.
Re:Using jQuery and node.js to scrape html pages in 5 lines by knowtheory on Monday September 06, 2010 @05:51AM (#1666348)
The article reads "The challenge with using these libraries is that they all have their own quirks that can make working with HTML, CSS and Javascript challenging."

And that's true only if you only want to do page manipulation in Javascript. I'm perfectly happy with my page manipulation in Ruby w/ Nokogiri. Here's an example:

(code formatting on HN sucks, so it's on my blog, apologies)

http://blog.knowtheory.net/post/1074676060/xml-manipulation-...

There are no comments on this comment yet.