No one knows about what Google is going to do these days. Recently I got an email from them regarding the shutting down of Google code i.e. code.google.com which is an open source code sharing area which hosts many scripts and coding files on it. However at present they have stopped new projects but have decided to close it around next year. They provide migration of all projects to GitHub but if you want to have your files in Google Drive then you can also do so by a following some little steps.
Here are the steps to be followed :
1. Upload your files to Google Drive
Go to drive.google.com and upload the files to be hosted on it.
2.Make the files Public on the Web
Select the files and click on right mouse button and navigate to share.
In the 'Sharing settings' window, click on the 'Change' link and choose the 'Public on the web' option. Press 'Save' and copy the link(s) of your uploaded file(s) from the 'Links to share' box highlighted in blue, then paste it into a Notepad to use it later.
3. How to use the scripts in html or in Blogger or in any placeBefore you can use the links, you must replace 'https://drive.google.com/file/d' to 'https://googledrive.com/host' and remove '/edit?usp=sharing' in the link.
For example, the link to mycssfile.css that I copied looks like this:
https://drive.google.com/file/d/0B4n9GL3eVuV-TkphMkc3SFR2Slk/edit?usp=sharingNotice the part in blue after the "/file/d/" part. That is the file ID which is used to access it via the new hosting service. It should start with the following URL:
https://googledrive.com/host/Add the file ID like this (remove the '/edit?usp=sharing' part):
https://googledrive.com/host/0B4n9GL3eVuV-TkphMkc3SFR2SlkNow log into your Blogger account, select your blog and go to Template > Edit HTML. Click anywhere inside the code area and press the CTRL + F keys to open the search box:
If you want to add a CSS file, type the following tag inside the search box and hit Enter to find it:
<head>Just BELOW the <head> tag, add this line:
<link rel="stylesheet" type="text/css" href="https://googledrive.com/host/0B4n9GL3eVuV-TkphMkc3SFR2Slk" />And replace https://googledrive.com/host/0B4n9GL3eVuV-TkphMkc3SFR2Slk with the link of your CSS file:
</body>And add this line just ABOVE it:
Finally, press the 'Save template' button to save the changes. And you're done!