HotStuff 2.0 Widgets

  1. Hot or Not
  2. Word Cloud

Hot or Not

Displays the current "Hot or Not" rating for a blog, using a Google-o-meter chart type. Each blog tracked by HotStuff gains or loses points for each new blog post, depending on how often the words in the post have been used before. The overall score is really just for fun and probably isn't a useful indicator of what sort of content appears on the blog ;-)

Wordpress Widget

For Wordpress installations which allow plugins to be upload, upload and activate the widget as per a standard Wordpress plugin:

In the Widgets section, add the "Hot or Not" widget to your sidebar and click on "Edit" to change the following settings:

Click on "Done" and then "Save Changes". The widget should now appear in your blog's sidebar.

To find your blog ID, go to www.daveyp.com/hotstuff/blogs/ and click on your blog in the list. The number at the end of the web page URL is your blog ID. The blog ID is actually the one generated by Bloglines, so it is specific to your blog and also to the feed being used.

If your blog is not listed, you will need to wait until HotStuff has started picking up your blog posts. You can double-check that HotStuff knows about your blog by checking the "liblogs" folder on this Bloglines account -- if your blog isn't listed there, then go to this page and fill in the "Add Your Blog" section.

The height of the Google-o-meter image is calculated automatically and is the width divided by 2.

JPEG Image

If you just want to embed the Google-o-meter image into a web page, use a link in this format:

http://www.daveyp.com/hotstuff/widgets/hotornotimage/17587830,200.jpg
You'll need to specify your blog ID number (17587830 in the example above) and the width of the image (200 pixels in the example above).

So, to create a HTML image link, use something like this:

<img src="http://www.daveyp.com/hotstuff/widgets/hotornotimage/17587830,200.jpg" alt="my Hot or Not rating" />

my Hot or Not rating

JavaScript Widget

Alternatively, you can embed the widget into a web page using JavaScript.

Firstly, add a div or span element with an id value of hotornot_js, e.g.:

<span id="hotornot_js">loading...</span>

After that, add the following:

<script type="text/javascript" src="http://www.daveyp.com/hotstuff/widgets/hotornot_js/17587830,400">
</script>

As with the Wordpress widget, you need to include your blog ID number (17587830 in the example above) and the width of the Google-o-meter image (400 pixels in the example above).

Optionally, you can add ,notext after the blog ID and width to disable the comment appearing underneath the Google-o-meter image (i.e. 17587830,400,notext).

The maximum width of the image is 760 pixels, as shown in the live example below...

loading...

Word Cloud

Generates a word cloud from the HotStuff database of library related blog posts. Currently, the following clouds can be generated (with various options):

Wordpress Widget

For Wordpress installations which allow plugins to be upload, upload and activate the widget as per a standard Wordpress plugin:

In the Widgets section, add the "HotStuff Cloud" widget to your sidebar and click on "Edit" to change the following settings:

Click on "Done" and then "Save Changes". The widget should now appear in your blog's sidebar.

The size of the words are specified using a font-size CSS value and are relative to font size of the web page. Set the min and max values to the same value to make the words all the same size.

Cloud type

Three types of cloud are available:

Extra options

The following words can be used to alter the appearance and functionality of the word cloud. To specify more than one option, separate them with commas (e.g. logscale,popup).

Alternative Widget

Alternatively, a cloud can be generated by calling the following URL:
http://www.daveyp.com/hotstuff/widgets/wordcloud/
Optional extra parameters can be passed using the standard name/value pair format, e.g.:
http://www.daveyp.com/hotstuff/widgets/wordcloud/cloud=_all&wrap=html&extras=nolink
The various parameters include:





document last updated on 03/Jan/2009