]> git.phdru.name Git - bookmarks_db.git/blobdiff - parse_html/bkmk_ph_util.py
Renamed parse_html modules to bkmk_ph_* to avoid name clashes.
[bookmarks_db.git] / parse_html / bkmk_ph_util.py
diff --git a/parse_html/bkmk_ph_util.py b/parse_html/bkmk_ph_util.py
new file mode 100644 (file)
index 0000000..b26d9d9
--- /dev/null
@@ -0,0 +1,25 @@
+"""HTML parsers utilities
+
+This file is a part of Bookmarks database and Internet robot.
+"""
+
+__version__ = "$Revision$"[11:-2]
+__revision__ = "$Id$"[5:-2]
+__date__ = "$Date$"[7:-2]
+__author__ = "Oleg Broytman <phd@phdru.name>"
+__copyright__ = "Copyright (C) 2010, 2011 PhiloSoft Design"
+__license__ = "GNU GPL"
+
+__all__ = ['HTMLParser']
+
+
+from HTMLParser import HTMLParser
+
+class HTMLParser(HTMLParser):
+   def __init__(self, charset, meta_charset, title, refresh, icon):
+      object.__init__(self)
+      self.charset = charset
+      self.meta_charset = meta_charset
+      self.title = title
+      self.refresh = refresh
+      self.icon = icon