Поиск по сообщениям в этом блоге

Loading

вторник, 19 августа 2008 г.

Автоматизированная загрузка файлов в Google Docs

В неофициальном блоге, посвященном Google, приводится способ загрузки файлов в сервис Google Docs через адресную строку вида:
https://docs.google.com/?action=updoc&formsubmitted=true&uploadURL=[DOCUMENTURL] (где [DOCUMENTURL] - веб-адрес документа). Таким способом возможно производить загрузку файлов с расширениями doc, txt, html, rtf, odt, xls, csv, ods, ppt, pdf.

Для упрощения загрузки можно использовать Bookmarklet:
javascript:var%20url=prompt('URL%20of%20the%20document%20to%20upload:',location.href);if(url)location.href='https://docs.google.com/?action=updoc&formsubmitted=true&uploadURL='+encodeURIComponent(url);

Upload to Google Docs <= Bookmarklet (перетащить или добавить ярлык в избранное).


Отправлено пользователем Anonymous через Google Reader:

источник: Google Operating System, Автор: Ionut Alex Chitu, дата: 17.08.08
Google Docs has an option to upload files from web addresses, but it's not very convenient if you want to load many documents or you want to add a link for uploading a document. Here's the direct link that can be used to open a document from the web in Google Docs:

http://docs.google.com/?action=updoc&formsubmitted=true&uploadURL=DOCUMENTURL

This works for documents (.doc/.txt/.html/.rtf/.odt), spreadsheets (.xls/.csv/.ods), presentations (.ppt) and PDF files.

In Windows, you can easily create a batch file that automates the upload of multiple files to Google Docs, assuming that the browser is open and you are already logged in to a Google Account. For example, the following text can be copied in Notepad and saved as a .bat file. After executing the .bat, the two PDF files will upload to Google Docs in separate Firefox tabs.

start /d "%PROGRAMFILES%\Mozilla Firefox" firefox "http://docs.google.com/?action=updoc&formsubmitted=true&uploadURL=http://www.fireworksafety.com/pdfs/FireworkSafetyTest.pdf"

start /d "%PROGRAMFILES%\Mozilla Firefox" firefox "http://docs.google.com/?action=updoc&formsubmitted=true&uploadURL=www.fs.fed.us/fire/safety/wct/2002/brochure_2002.pdf"

A similar option is available in Google Toolbar for Firefox, which lets you open documents from the web in Google Docs.


Здесь вы можете: