Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the '10.4: Search Firefox bookmarks with Spotlight' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.4: Search Firefox bookmarks with Spotlight
Authored by: ework on Aug 30, '05 12:29:02PM

This is a great addition to firefox. I think a better solution would be a firefox plugin that could support the Spotlight API, if possible. NeoOfficeJ has an MDI importer that works for OpenOffice.org documents.



[ Reply to This | # ]
slight issue & suggestions
Authored by: stevebr on Aug 30, '05 02:01:17PM

Great idea. I've been looking to do just this.

A few points:

While testing, I noticed that I couldn't see results immediately without manually running mdimport on the new Firefox metadata directory, as:

mdimport ~/Library/Caches/Metadata/Firefox/
Perhaps this might be useful in the script?

Doing so produced several errors, but the number of errors appears to correspond to the number of "bookmarklet" bookmarks I have. I suspect this is being triggered by your pattern matching having an issue with all the (un)escaping that typically goes on in javascript bookmarklets. Not a problem though, since there's no need to index these and the real bookmarks got in just fine. Maybe somebody could confirm this, though?

side note, these had a typo in them:

...mdimport[14351] Expected bookmark file to be a CFDictionary bu it isn't. Aborting.

Also, the 'find' command can be a little more precise. As far as I know, Firefox keeps it's stuff in a known location. Ex:

find ~/Library/Application\ Support/Firefox/Profiles/ -name 'bookmarks.html'
If your home is quite large, you'll notice a bit of chugging while looking for stuff in the authour's version (esp. considering it's suggested to run it every 10 minutes...)



[ Reply to This | # ]