Google Drive Web Hosting
Post date: Oct 21, 2013 3:05:30 AM
You can store your files on Google Sites, mainly for download. However, I strongly recommend that you take advantage of the Google Drive site publishing feature to host and link to your files.
For instance, let's see how to upload an animated GIF image to Drive, get its URL, and embed it in your Site.
- Go to your Google Drive ► click Create ► Folder ► enter a name for the new folder ► click Create.
- Right-click on the new folder ► click Share ► Change... ► Public on the web ► Save ► Done.
- Open the public folder ► click the red Upload button ► Files... ► select the image file ► click Upload and share.
- If the Upload settings dialog appears, make sure that the conversion options are unchecked and then click Start upload.
- When the upload is complete, close the box that indicates the progress of your upload.
- Right-click on the file ► select Details and activity ► Details ► click the link under Hosting ► copy the image URL in the address bar of your browser.
- Now go to your Google Site ► click Edit page ► Insert ► Image ► Web address (URL) ► paste the URL ► OK ► Save.
- You can take similar steps to get the public folder URL:
- Right-click on the folder ► select Details and activity ► Details ► click the link under Hosting. Now you can see the folder URL as well as a listing of its contents.
- As an alternative to the directory listing, you might want to display a custom page when navigating to the folder URL:
- Download the index page template.
- Open it with a plain text editor, e.g. Notepad, and customize it to meet your needs.
- Upload index.html to your folder.
- If you'd like to upload a new version of a file, right-click on the file ► click Manage revisions... ► Upload new revision.
- To organize the files in your folder, you can create a hierarchy of subfolders. It's also possible to create other public folders in your Drive.
DiscussPlease note that all posts are moderated.