Resources for article extraction from HTML pages

Here are some good resources to learn how to extract articles from html pages.

Research papers and Articles for article extraction from HTML pages

Some good blog articles:

The Easy Way to Extract Useful Text from Arbitrary HTML. The author is using examples written in python to employ a fairly similar technique described in the text-to-tag ratio paper listed above. The original link is dead, here is a copy: http://www.cnblogs.com/loveyakamoz/archive/2011/08/18/2143965.html

Software for article extraction from HTML pages

  • Boilerpipe library: an open source Java library. The library itself is the official implementation of the overall algorithm presented in the previously mentioned paper by Kohlschütter et al.
  • Readability bookmarklet by arc90labs is open sourced. Originally written in JavaScript it was also ported to other languages:
    • python-readabilty - using BeautifulSoup (slow)
    • fork of python-readability employing lxml for faster parsing
    • ruby-readability
    • PHP port
    • jReadability
    • C# port
  • Project Goose by Gravity labs
  • Perl module HTML::Feature
  • Webstemmer is a web crawler and page layout analyzer with a text extraction utility
  • Demo of VIPS packaged in a .dll (it’s use is limited to research purposes only)

code is here:

http://code.google.com/p/boilerp…
It has been integrated into Apache Tika as well

Demo Web Service: http://boilerpipe-web.appspot.com/
Java library: http://code.google.com/p/boilerp…
Research presentation (WSDM 2010): http://videolectures.net/wsdm201…