Hi everyone, I'd like to create a page where our school's media specialists can maintain a central bookmarks file for the entire school district. I've created a simple upload that works fine. The file is quite large, however, and produces a single Web page that is very long and rather unwieldy. 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>? -Tim -- Tim Wilson | Visit Sibley online: | Check out: Henry Sibley HS | http://www.isd197.org | http://www.zope.com W. St. Paul, MN | | http://slashdot.org wilson@visi.com | <dtml-var pithy_quote> | http://linux.com
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 martin@z3n.dk
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>?
You may find some information (but not ready-made solution) here: http://phd.pp.ru/Software/Python/#bookmarks_db Oleg. ---- Oleg Broytmann http://www.zope.org/Members/phd/ phd@phd.pp.ru Programmers don't die, they just GOSUB without RETURN.
participants (3)
-
Martin Skøtt -
Oleg Broytmann -
Timothy Wilson