Showing posts with label update. Show all posts
Showing posts with label update. Show all posts

Friday, January 16, 2009

Silverlight tag cloud v1.4

A bug fix to the Silverlight code, in rare cases it colours very frequently co-occurring tags so they are hard to see.

I've updated the Silverlight XAP file and pointed the javascript to use this version - so anyone using 1.3 will not have to do anything to get this fix.


I've also created a super-sized version as a holding page for my www site, it's interesting to see how it performs given more space.

Monday, January 5, 2009

Silverlight tag cloud v1.3

I've updated the Silverlight Tag Cloud to version 1.3, this was mainly due to my tidying up of the code prior to publication. I've also improved the use of colour to show groupings better.


more soon..

Monday, November 10, 2008

Dynamic tag cloud v1.2

A small update to the tag cloud to fix an issue with cross domain requests. The issue is caused by some RSS servers not having a crossdomain.xml file which is used by Flash and Silverlight to check if cross domain requests are allowed.

As a short term fix this version now proxies the request via figmentengine.com - in a later version we may need to be able to disable this (in the case where you want to host the silverlight app on your server)

So this now allows me to create tag cloud from other sites, such as the Guardian's Comment is free:





To insert into your blog use (under dashboard, layout, edit html, ensure that expand widget templates is checked).

Find the following:

<div id='sidebar-wrapper'>
<b:section class='sidebar' id='sidebar' preferred='yes'>

insert widget here


<b:widget id='Label2' locked='false' title='Dynamic Tag Cloud' type='Label'>
<b:includable id='main'>
<b:if cond='data:title'>
<h2><data:title/></h2>
</b:if>
<div class='widget-content' id='feCloud' style='text-align: center;'/>
<script src='http://www.figmentengine.com/tagCloud/feCloudv1.2.js' type='text/javascript'/>
<script type='text/javascript'>
var feCloudElementId = 'feCloud';
var feCloudFeedAddress = 'http://feedproxy.google.com/FigmentEngine';
var feCloudNavigateFormat = 'http://blog.figmentengine.com/search/label/{0}';
var feCloudSize = 400;
feTagCloudLoad(feCloudElementId, feCloudFeedAddress, feCloudNavigateFormat, feCloudSize, feCloudSize);
</script>
</b:includable>
</b:widget>


In order to start using this version, you need to change your javascript to reference v1.2 of the js file

Friday, November 7, 2008

Silverlight tag cloud

Updated to version 1.1

Animated Tag Cloud

changes are:

  • have made the id of the element that the cloud is created parameter driven (see feCloudElementId) below in Javascript

  • click on a label now shows a simple pop-up selections of posts, clicking on the first item will show all posts with that label, other entries take you direct to the post

  • Changed the background sphere to be silver rather than yellow - big change ;-)

  • mousing over a label now shows its co-occurances visually with lines



To insert into your blog use (under dashboard, layout, edit html, ensure that expand widget templates is checked).

Find the following:

<div id='sidebar-wrapper'>
<b:section class='sidebar' id='sidebar' preferred='yes'>

insert widget here


<b:widget id='Label2' locked='false' title='Dynamic Tag Cloud' type='Label'>
<b:includable id='main'>
<b:if cond='data:title'>
<h2><data:title/></h2>
</b:if>
<div class='widget-content' id='feCloud' style='text-align: center;'/>
<script src='http://www.figmentengine.com/tagCloud/feCloudv1.1.js' type='text/javascript'/>
<script type='text/javascript'>
var feCloudElementId = 'feCloud';
var feCloudFeedAddress = 'http://feedproxy.google.com/FigmentEngine';
var feCloudNavigateFormat = 'http://blog.figmentengine.com/search/label/{0}';
var feCloudSize = 400;
feTagCloudLoad(feCloudElementId, feCloudFeedAddress, feCloudNavigateFormat, feCloudSize, feCloudSize);
</script>
</b:includable>
</b:widget>


In order to start using this version, you need to change your javascript to reference v1.1 of the js file, and add an additional parameter of the id of cloud element. This should allow you to host multiple clouds on the same page, or at least give more flexibility about the cloud id.