Host Your CSS & JavaScript, etc Files in Google Drive

Hosting your CSS | JavaScript and similar files is pretty easy, just follow the steps below.
Once you have hosted the CSS, JavaScript and other similar files, you don't need a hosting plan!, only one requirement will be left and that is completely up to you and that is a
>>>Domain Name (.com, .org, .net)

1.    CREATE FOLDER on your google drive account to keep things tidy>>>
2.    UPLOAD or Select your files and drag them in to the folder area to upload your CSS/JS files>>>
 Easy step:
3 Right Click on a file and Select >>> Get Shareable link,
Move to Step (4)
Skip the step below if you got the Shareable Link
3.   Right Click on a file and SHARE IT >>> Now in the Pop Dialog Box you will find a "GET LINK", Similar to Dropbox sharing links, copy the link to a text file that would look similar to the link below:

4.    What you get:    drive.google.com/file/d/0B4n9GdsfuV-TkphMksSFR2Slk/edit?usp=sharing

>>> The highlighted text is what we need.

Change it to:    https://googledrive.com/host/0B4n9GdsfuV-TkphMksSFR2Slk

What you need to add to your site template:
Code for CSS Linking =
<link rel="stylesheet" type="text/css" href="https://googledrive.com/host/0B4n9GdsfuV-TkphMksSFR2Slk" type="text/css"/>
<script src='https://googledrive.com/host/0B-sMAIEEgi3wNENwamhRSml3WU0' type="text/javascript" > </script>
 
Note: If you want to see a working example, please visit and explore - YourGamesReviewer


# Images that may give you some sense #



Note: If for some reason you still have problems, just leave a comment below and don't forget to describe your problem in details and steps you followed.
Share on Google Plus

About Unknown

    Blogger Comment
    Facebook Comment

0 comments:

Post a Comment