VIEW ALL GALLERY LIGHTS

Friday, April 23, 2010

Host your javasript files with Google code

Image representing Google as depicted in Crunc...
In my posts on jquery and javascript for Blogger blog ,I always recommend hosting javascript file in Google code for speed and reliable . But some of you may ask : how to use Google code ? So this is the purpose of this post : How to host your files in Google code .
Google code is a service of Google ,they have disk space for developer host files in open source projects .Like any other services from Google ,it's free ,fast ,and reliable .


To host files in Google ,at first ,you need to go to this address . After Login using your Google account (by clicking on Sign in to create a project) , you will see link for Create a new project bellow . Click on this link

.A new page appear . Fill the information for Project name , Project summary ,and description . After full fill all information in this page ,click on Create project .

- A new project is created in Google Code . So now ,it's time for us to uploading files .In Project home page ,click on Downloads tab .

-In Downloads tab ,click on New Download . A form for uploading file appear . Click on Browse to selecting file which you want to host in Google code . After selecting file ,type something for summary in summary field ,and labels . When you are done,click on Submit file .

When uploading progress is finished , it will back to download page ,where you see the files you uploaded .

Now ,to use these file in any website ,just copy its URL by right click on file name in Download page and select Copy URL , and paste the link to where you need . For example ,you may see the code like that <script src="your js file"></script> ,change "your js file" to URL of file which you hosted in google code . That's all
Enjoy it ^^

No comments:

Post a Comment