Tuesday 7 August 2007

index firefox bookmarks

A few days ago,Debajyoti suggest me to add bookmark index support in firefox extension.
And now the firefox extension can inex the bookmarks.(Just check out the latest code)
FF have many kind of bookmarks. we only index the ordinary ones.
(Livebookmark is not indexed)
What will be indexed (for a bookmark):
  • the name of bookmark (it is the page title by default)
  • the url
  • shortcut url (or keywords) if any
  • description if any
  • the path . The name of parent folder and parent of parent folder,........
  • and we use the hit type "firefoxbookmark"
How?
We just using
deep first traverse on the bookmark tree ( in fact it is RDF data source). check every bookmark and index it if it is modified(or added) since last index. And in the end we update the last-index-date .

When?
  • every time when menu item "bookmarks->index the modified bookmarks" clicked
  • when the browser window is closed. (you can turn it off)
  • It is advised that you do an initial index by hand (click the menu item)after you install the extension .
Known issues
  • Every time FF 's livemark is updated , the modified time is changed.
    But it doesn't change any thing we indexed.
  • It would be better if you index them when firefox exits instead of window close. But the environment we need no longer exists when FF exits.

2 comments:

Sharad said...

Dude,

I was looking for something exactly as you describe above.

Where can I go to install this extension?

Thanks!
Sharad

Filia Tao said...

You can find the latest version at
http://beagle-project.org/files/0.3/beagle-1.1.0.xpi
Work with firefox 3 .