===================================================================== ====== README ====== BTE 22/08/2001 Copyright (C) 2001 Aidan Finn email: aidanf at gmail.com ===================================================================== Contents: --------- 1. Installation 2. Usage 3. Copyright ---------------------------------------------------------------------- 1. Installation: ---------------- Just copy the python file into a location in your python path 2. Usage: ------------------- import sys,BodyTextExtractor html = open(sys.argv[1]).read() p = BodyTextExtractor.HtmlBodyTextExtractor() p.feed(html) p.close() x = p.body_text() s = p.summary() t = p.full_text() print "\n\nSummary:\n",s print "\nBodytext:\n",x print "\nFulltext:\n",t 8. Copyright: ------------- This software is distributed under the GNU public license. Please read the file LICENCE. -----------------------------------------------------------------------