Say we want to fetch some CSS file from a folder on Google Drive.
- Right click on the folder and select "Share..."
- Select "More..." in the popup dialog
- Check the "Public on the web" box
- A public URL is proposed in the following dialog
- The folder URL is of the form:
https://drive.google.com/folderview?id=0B7uYPyj_NiVxYVltWjZ0VUVULTQ&usp=sharing
.
In order to use it in a web page, pick the id from the proposed URL and re-use it in the following new URL:
https://googledrive.com/host/0B7uYPyj_NiVxYVltWjZ0VUVULTQ
- Then add the filename to be used, e.g.
https://googledrive.com/host/0B7uYPyj_NiVxYVltWjZ0VUVULTQ/toto.css