your text here (tab1)
your text here (tab2)
your text here (tab3)
your text here (tab4)
your text here (tab5)

Wednesday, September 16, 2009

Blogger Tricks

Blogger Tricks


How to Use Blogger to Upload your Javascript (.js) files ? - Unlimited Bandwidth!!

Posted: 16 Sep 2009 05:36 AM PDT

This post explains how to host javascript(.js) files in blogger itself, so you don't need to worry about bandwidth limitations,etc:-

"How to host Javascript files for Free with unlimited bandwidth ?" is one of the most frequently asked questions in the blogger community. There are tons of hosts out there who can help you host your .js files for Free, but all have some bandwidth limitations and also they are not very reliable.

My friend Switcher previously explained how to use google sites to host your javascipt files for free in his blog (you can read that post here)... I used that method to host javascript files of my previously released magazine style blogger template ' Falkner Press '... but, the problem is even google sites have bandwidth limitations. So, if the bandwidth exceeds at a particular moment, the javascript files don't load which results in complete template mess up.

So, if you have those kind of problems, here is a simple trick.

I'll take Falkner Press template javascript files as an example.
If you look at the top of the template code, you see something like this:

how to host javascript files for free

So, as you can see, there are three javascript files (highlighted with colors) in the template. The files are hosted at google sites.


2. Copy each of those three links and paste them in your browser and download all those three files.

3. Now, open each file with Wordpad (not notepad) and copy that code.

4. Now, here is the trick...
Paste the code you copied (copied from first file) in your blogger template like this.


<script type='text/javascript'>

//<![CDATA[

PASTE THE JAVASCRIPT CODE HERE

//]]>

</script>



paste the javascript code as shown like this


What about if you have 2 javascript files or three (like falkner press template) ? Simple! Just repeat the process again... like this..


Do like this for multiple files

5. And the Final and Most Important step... SAVE THE CHANGES ;)

Benefits of this trick:
» No file size limitations
» No bandwith limitations
» Super fast page loading (coz files are stored in blogger itself)


Like the trick ? comment.. :)


No comments:

Post a Comment

सरफरोशी की तमन्ना अब हमारे दिल में है...........

Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Phasellus facilisis, risus at tempor volutpat, eros nulla malesuada augue, vitae consectetuer quam quam eu nibh. Suspendisse laoreet dignissim neque. Sed semper. Nullam facilisis. Nam tristique sapien. Sed turpis justo, lobortis sit amet, posuere at, tristique id, nunc. Vestibulum rutrum dui at lectus. Sed enim. Ut eros eros, pulvinar a, vestibulum sit amet, ornare ac, eros. Suspendisse imperdiet. Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Phasellus facilisis, risus at tempor volutpat, eros nulla malesuada augue, vitae consectetuer quam quam eu nibh. Suspendisse laoreet dignissim neque. Sed semper. Nullam facilisis. Nam tristique sapien. Sed turpis justo, lobortis sit amet, posuere at, tristique id, nunc. Vestibulum rutrum dui at lectus. Sed enim. Ut eros eros, pulvinar a, vestibulum sit amet, ornare ac, eros. Suspendisse imperdiet.
कबीरा खड़ा 
     बाज़ार में

  • REGISTER NOW AND PUT THIS CODE ON YOUR BLOG/SITE

  • BLOG 
लोचाकबीरा खड़ा 
     बाज़ार में DARE ITमेराSEO
    "कबीरा खडा़ बाज़ार में" आपका स्वागत है। इस ब्लाग से जुडने के लिये अपना ई-मेल का पत्ता और फोन हमें लिख भेजें-kabirareply@gmail.com "कबीरा खडा़ बाज़ार में" पर चिठ्ठों की प्रकाशन को त्वरित करने के उद्देश्य से आप सभी ब्लागर बंधुओं से आग्रह है कि अपनी सहमती देते हुए मुझे अपने ब्लाग का पता तुरन्त प्रेषित करें। इस हेतु तकनीकी तैयारी हो चुकी है। आपका चिठ्ठा स्वत:"कबीरा" पर प्रदर्शित होने लगेगा। इस ब्लाग से जुडने के लिये अपना ई-मेल का पत्ता और फोन हमें लिख भेजें-kabirareply@gmail.com चिठ्ठा सूचि देखें