Download Latest (1.0.1)

Download jQuery Blogger Classic Template Tag Cloud

jQuery Blogger.com Tag Cloud Plugin

If you use the Blogger.com service to publish to your blog via FTP you will find the Blogger features quite restrictive compared to other blogging platforms.

In particular there doesn't seem to be a way to show all your blog labels/tags in a list or publish a tag cloud.

This is a jQuery Tag Cloud I created especially for Blogger classic templates to enable Blogger fans to display a tag cloud on their blogs.

Bookmark and Share

The following example is a demonstration of how to implement the tag cloud.

Important! Please make a back-up of your Blogger template before attempting to add this code.

First, include the jQuery and Tag Cloud javascript files inside your <head></head> tags of your Blogger.com template.

    <script type="text/javascript" src="jquery.js"></script>
    <script type="text/javascript" src="jquery.BloggerClassicTagCloud.js"></script>

Place a DIV tag on your page in the location you wish the Tag Cloud to appear and give it an ID e.g. tagCloud.

    <div id="tagCloud"></div>

Next, place this piece of jQuery inside your <head></head> tags underneath the call to jQuery.js and BloggerClassicTagCloud.js.

<script type="text/javascript">
$(document).ready(function() {
    $('#tagCloud').BloggerClassicTagCloud('blog/', 'atom.xml');
});
</script>

Making sure that the path 'blog/' and 'atom.xml' correctly matches the publish settings in Blogger.com (see below), and that the jQuery selector is selecting the DIV you added in the last step.

Blogger Publish Settings

Note: Javascript prevents XML being loading in from different domains, so this script will only work on your local feed.

Customisation

You can customise the tag cloud by chaining other jQuery commands.
The code below fades the tag cloud in on page load, adds a title and yellow background.

 
<script type="text/javascript">
$(document).ready(function() {
    $('#tagCloud').BloggerClassicTagCloud('blog/', 'atom.xml').fadeIn(4000).append('<h3>Tag Cloud</h3>').css('background-color', 'yellow');
});
</script>
  • Initial Release

Copyright (c) 2007-2009 Nik Makris (nikmakris.com)

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.