LWN.net Logo

Python scripting?

Python scripting?

Posted Jun 21, 2007 12:52 UTC (Thu) by Sho (guest, #8956)
In reply to: Python scripting? by AnswerGuy
Parent article: Test driving Firefox 3

> (First such util would dump the whole mess an HTML/XML file ... or tab or CSV delimited, etc; and would be able to import back an modified version (merging or just blindly adding).

The right format here would be XBEL, which most other open source browsers are already using as storage or exchange format for bookmarks: http://pyxml.sourceforge.net/topics/xbel/


(Log in to post comments)

Python scripting?

Posted Jun 22, 2007 2:28 UTC (Fri) by jamesh (subscriber, #1159) [Link]

Given their aim (storing both history and bookmarks in a single data store that can be easily searched), you are talking about a lot of information here.

With XBEL, you'd end up having to parse the XML and either store it in memory for searching/display or writing it back out to disk in a form that can be searched quickly. And if you aren't going to be using the XBEL data most of the time, why not make the more efficient form the master and keep XBEL for exchange?

Copyright © 2008, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds