A google docs module would be great!

Until then, Ajay's suggestion is a good one: bookmark the urls to the
documents you care about in your browser.

If you really want an autogenerated catalog of your google docs in QS,
you can probably do it using cron (or launchd or anacron) and googlecl
(http://code.google.com/p/googlecl/). This is something I thought
through before I decided it was too complicated to be worth it.

googlecl makes it easy to generate a list of google docs with urls on
stdout from the terminal:

$ google docs list

Using awk, the output can be massaged into a list of html links:

$ google docs list | awk -F "," '{print "<a href=\""$2"\">"$1"</a>"}'

Sadly, you can't just pipe this into quicksilver using the qs command
line tool,

$ google docs list | awk -F "," '{print "<a href=\""$2"\">"$1"</a>"}'
| qs

because the qs command line tool doesn't handle multiline input.

But you can pipe the result into an html file,

$ google docs list | awk -F "," '{print "<a href=\""$2"\">"$1"</a>"}'
> ~/Documents/Google\ Docs.html

You can select that file in QS and right arrow into it to browse your
google docs. And you can add the html file to QS's catalog and scan it
for HTML links. That will add links to all your google docs to the QS
search results. So now you've replicated the functionality of Ajay's
tip the hard way.

To make this all automatic, you'd need to set up a cron job (or a
launchd job or an anacron job) to run the script and regenerate the
html file at regular intervals.

Phew. So it can be done. But I doubt it is worth it.

David

Reply via email to