Open Any Document in Google Docs Via a Url

We are looking at ways to integrate the new Teachers Without Borders site with Google docs.

Turns out that you can open: documents - .pdf, .doc, .txt, .html, .rtf and .odt spreadsheets - .xls, .csv, .ods presentations - .ppt

By feeding the file url to this google url:

http://docs.google.com/?DocAction=updoc&formsubmitted=true&uploadURL=DOCUMENT_URL

Here's an example if you needed to view a W4 form from the IRS url:

http://www.irs.gov/pub/irs-pdf/fw4.pdf

Use this url:

http://docs.google.com/?DocAction=updoc&formsubmitted=true&uploadURL=http://www.irs.gov/pub/irs-pdf/fw4.pdf