News for hackers. Stuff that matters.
Re:The Easy Way to Extract Useful Text from Arbitrary HTML by natch on Wednesday August 06, 2008 @02:44PM (#268795)
Most attack sites do. Appear to be perfectly safe, that is.

For anyone who wants to read the article, this works. (I put in URL_HERE as a placeholder because HN truncates the URL):

lynx --dump URL_HERE > output.txt

Ironic that to read the article, I used a technique that solves the problem the article is talking about solving. In a much easier way, I might add!

Re:The Easy Way to Extract Useful Text from Arbitrary HTML by amackera on Wednesday August 06, 2008 @06:27PM (#269101)
Maybe that's the trick... It's a meta-article about how to _really_ get text from HTML. By figuring out you can just dump from lynx - you no longer have to read it!
Re:The Easy Way to Extract Useful Text from Arbitrary HTML by danw on Thursday August 14, 2008 @05:38AM (#275959)
That doesn't solve the actual problem of extracting the article content itself from a page.