<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>King Rat &#187; Code</title>
	<atom:link href="http://www.kingrat.us/category/code/feed" rel="self" type="application/rss+xml" />
	<link>http://www.kingrat.us</link>
	<description>Private Life</description>
	<lastBuildDate>Sun, 18 Jul 2010 08:24:04 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Log Cloud 1.0 beta</title>
		<link>http://www.kingrat.us/2009/01/log-cloud-10-beta</link>
		<comments>http://www.kingrat.us/2009/01/log-cloud-10-beta#comments</comments>
		<pubDate>Fri, 30 Jan 2009 18:40:06 +0000</pubDate>
		<dc:creator>King Rat</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[log cloud]]></category>
		<category><![CDATA[plugins]]></category>
		<category><![CDATA[tags]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.kingrat.us/?p=516</guid>
		<description><![CDATA[In a somewhat previous life, I used to write software.  At this point it&#8217;s been years since I&#8217;ve written a line of production code.  But I still poke around every once in a while.  I&#8217;ve even coded up some plugins that I use on Rat&#8217;s Reading. Most are very specific to that [...]]]></description>
			<content:encoded><![CDATA[<p>In a somewhat previous life, I used to write software.  At this point it&#8217;s been years since I&#8217;ve written a line of production code.  But I still poke around every once in a while.  I&#8217;ve even coded up some plugins that I use on <a href="http://reading.kingrat.biz/" >Rat&#8217;s Reading</a>. Most are very specific to that site, such as adding in my Amazon associates tag automatically.  Not really releasable stuff.</p>

<p>Both on that site and this one, I use <a href="http://wordpress.org/extend/plugins/simple-tags/" >Simple Tags</a> to manage my tags.  Pretty good plugin. However, one of my irritations both with that plugin&#8217;s tag cloud and the standard Wordpress tag cloud are that they use linear scaling for font sizes.  In other words, if a site has one tag that has a disproportionate number of uses, the font sizing is worthless. See <a href="http://blogs.dekoh.com/dev/2007/10/29/choosing-a-good-font-size-variation-algorithm-for-your-tag-cloud/" >this post</a> for a good explanation.</p>

<p>Anyway, I took the ideas from that blog post and hacked the Simple Tags tag cloud implementation on Rat&#8217;s Reading to use logarithmic scaling.  But every version upgrade of Simple Tags overwrites that, which is a pain.  So I looked for a standalone tag cloud with this kind of scaling so I wouldn&#8217;t lose my changes every time I upgraded.</p>

<p>I couldn&#8217;t find a standalone tag cloud plugin that implements logarithmic scaling.  So I just wrote one. And here&#8217;s version 1.0 (beta). It&#8217;s very very simple.  Almost zero features.  Only way to get a tag cloud is via shortcode, and it only implements options in the standard Wordpress tag cloud functions.  I&#8217;m throwing it out in case other folks want to play with similar stuff. I will add a few features over the next few weeks and versions, as it&#8217;s currently not good enough to replace my modified Simple Tags tag cloud.</p>

<p><a class="zip"  href="http://www.kingrat.us/wp-content/uploads/2009/01/logcloud-10-beta.zip" >Log Cloud 1.0 (beta)</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.kingrat.us/2009/01/log-cloud-10-beta/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
