[Zope] parsing bookmark files

Martin Skøtt martin@z3n.dk
Mon, 1 Oct 2001 01:54:38 +0200

On Sun, Sep 30, 2001 at 06:20:02PM -0500, Timothy Wilson wrote:
> Has anyone written a Python script, external method, etc. that would parse
> through a bookmarks file and create a more user friendly Web page from the
> contents? Perhaps one could use <dtml-tree>?

Well, it first of all depends on which browser you are talking about, but I
presume you mean Opera or Netscape/Mozilla since you talk about a file (IE's
favorites are in a directory/file structure. A few projects exists to parse
Netscape bookmark files. I know Oleg Broytman has done some work. Another 
possibility is the XML SIG on http://www.python.org, they have done some
bookmark project as a demo for Python and XML which gotta include a parser
for Netscape bookmarks.
I don't know about Opera though, their format doesn't seem to be based on
structured text like HTML or XML. 
Martin Skøtt