APLawrence - Information and Resources for Unix and Linux Systems, Bloggers and the self-employed
RSS Feeds Get APLawrence.com by RSS











(OLDER) <- More Stuff -> (NEWER) (NEWEST)
Home > Mac OS X Articles > Add Google Docs and Bookmarks to Spotlight searches
Printer Friendly Version




Apple ® section

Google Precipitate




Google Precipitate simply gets Spotlight to index your Google Docs and Google Bookmarks. It does so in the obvious way: bringing down info to a file and setting its "Open With" attribute to "Precipitate", which will launch a web browser in turn.

You'll find Google Docs metadata in

/Users/apl/library/Caches/Metadata/Precipitate/com.google.precipitate.GoogleDocsSource.

Each document has its own directory and if it is just a simple document, you'll find an XML file within there containing the text of the document. Note that it is NOT a copy of the document; it's only an XML file containing the text. In the case of some files (like Presentations), that might only be author and title. A spreadsheet will have the text and numbers just strung out:

	<key>kMDItemTextContent</key>
	<string> Gas & Electric water 12/2007 200.43
	4/2007 40.67 11/2007 129.28 9/2007 59.07 10/2007 15.78
	12/2007 115.13 9/2007 92.14 214.87 8/2007 70.61 1812.81
	7/2007 82.29 6/2007 83.11 Homeowners insurance 667 5/2007
	136.85 4/2007 159.64 3/2007 206.21 2/2007 228.6 1/2007 193
	1597.9</string>
	<key>kMDItemTitle</key>
	<string>2007 taxes</string>
 

Notice that these files use the same keys that Spotlight and mdfind use.

Right now this only indexes Google Docs and Google Bookmarks; the question many users have immediately asked is "Why not Gmail?" The answer is that Spotlight will already happily do that if you POP your Gmail down to your local machine and doing anything else would be a bit of work. Precipitate's author explains at http://groups.google.com/group/precipitate:

Supporting Gmail in Precipitate would require building the complete
receiving side of an email client (plus importer); that's a pretty
large and complex wheel to re-invent. I'm afraid I'm not interested in
writing and debug an email client.

If someone were to make a little app that can register to open Mail's
files and redirect them to the Gmail URL for that message, you could
set that as the default opener, set up Mail to download your Gmail
(then set it to auto-launch hidden at login, and ignore it forever),
and you'd be able to open messages in Gmail from Spotlight. That would
be a much, much simpler way of getting the same effect. 
 

This is simple but I've already found it very convenient.

Tony Lawrence 2008-10-06 Rating: 4.0


If this page was useful to you, please click to help others find it:  
Your +1's can help friends, contacts, and others on the web find the best stuff when they search.


Comments?




More Articles by Anthony Lawrence - Find me on Google+



Click here to add your comments



Don't miss responses! Subscribe to Comments by RSS or by Email

Click here to add your comments


If you want a picture to show with your comment, go get a Gravatar



LOD Communications, Inc.

Have you tried Searching this site?

Unix/Linux/Mac OS X support by phone, email or on-site: Support Rates

This is a Unix/Linux resource website. It contains technical articles about Unix, Linux and general computing related subjects, opinion, news, help files, how-to's, tutorials and more. We appreciate comments and article submissions.

Publishing your articles here

Jump to Comments



Many of the products and books I review are things I purchased for my own use. Some were given to me specifically for the purpose of reviewing them. I resell or can earn commissions from the sale of some of these items. Links within these pages may be affiliate links that pay me for referring you to them. That's mostly insignificant amounts of money; whenever it is not I have made my relationship plain. I also may own stock in companies mentioned here. If you have any question, please do feel free to contact me.

Specific links that take you to pages that allow you to purchase the item I reviewed are very likely to pay me a commission. Many of the books I review were given to me by the publishers specifically for the purpose of writing a review. These gifts and referral fees do not affect my opinions; I often give bad reviews anyway.

We use Google third-party advertising companies to serve ads when you visit our website. These companies may use information (not including your name, address, email address, or telephone number) about your visits to this and other websites in order to provide advertisements about goods and services of interest to you. If you would like more information about this practice and to know your choices about not having this information used by these companies, click here.


My Troubleshooting E-Book will show you how to solve tough problems on Linux and Unix systems!


book graphic unix and linux troubleshooting guide




Buy Kerio from a dealer who knows tech: I sell and support

Kerio Connect Mail server, Control, Workspace and Operator licenses and subscription renewals
pavatar.jpg

This post tagged:

       - Google
       - MacOSX
       - Reviews




Unix/Linux Consultants

Skills Tests

Guest Post Here