'Future Evolution of the Internet' delivered by Geoff Huston at Everything Op...
How to include a JavaScript file from GDrive to Blogspot
1. How to Include a JavaScript
file from GDrive to Blogspot
If there is not a better way to upload it directly to logspot
2. The Questions:
(Table of Contents)
What is the purpose?
How to upload file to gdrive?
How to share the file?
How to link the file to blogpost?
3. What is the purpose?
You may want to have this piece of code in
your blogspot template:
So far I did not find a way to upload the file to
blogspot.
I figured I can host the file in my gdrive and
use it in blogspot, but I failed initially.
I have learned it from internet, and now give it
back to others.
4. How to upload file to gdrive?
Login to google account
Open gdrive and create a folder
Upload file to gdrive
5. How to share the file?
Share it
Set it public
Get its ID
6. How to link the file to blogpost?
Do NOT use the URL you copied from gdrive. I
failed because I thought it works, but it doesn’t.
You have to make a URL yourself with the ID
you have.
The URL format and the JavaScript code should
be as:
Hope this slideshare help you to get there easier.