<?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>Nafurai &#187; Programming</title>
	<atom:link href="http://blog.nafurai.com/category/programming/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.nafurai.com</link>
	<description>Build your own internet</description>
	<lastBuildDate>Thu, 25 Mar 2010 18:11:21 +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>How to create (nice) charts</title>
		<link>http://blog.nafurai.com/2008/05/how-to-create-nice-charts/</link>
		<comments>http://blog.nafurai.com/2008/05/how-to-create-nice-charts/#comments</comments>
		<pubDate>Thu, 22 May 2008 18:36:56 +0000</pubDate>
		<dc:creator>maurizio</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blog.nafurai.com/?p=261</guid>
		<description><![CDATA[NOTE this is an old post I wrote more than 6 months ago. I haven&#8217;t finished it and I am not planning to finish it. I am posting it to see if someone is interested. If there is some interest I will go on. (I know how it will end.. :-) )
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-
I promised to write [...]]]></description>
			<content:encoded><![CDATA[<p>NOTE this is an old post I wrote more than 6 months ago. I haven&#8217;t finished it and I am not planning to finish it. I am posting it to see if someone is interested. If there is some interest I will go on. (I know how it will end.. :-) )</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
I promised to write about that and here it is. There are many possibilities to create nice charts for your blogs; you can create a chart with a programming language of choice and then put it in an image that you will load on your posts or you can create the chart on the fly. You can also use a flash based empty chart and put the data later. I prefer to use the latter option because it&#8217;s easy to learn and you can reuse your code easily. If you check my latest two graphs about the &#8220;John Chow vs. Shoemoney&#8221; competition, I wrote the HTML code once and I just copy&#038;pasted it on the second post.</p>
<p><strong>How does the flash based charts works?</strong> A flash chart is a program that is just waiting for data. When you give it your data path, the software will read them and create all the information needed and then it shows them on the provided space.</p>
<p>The charting software I used on my previous posts is <a href="http://www.fusioncharts.com/free/">FusionCharts</a>. They offer a free version that&#8217;s perfect for my experiments.</p>
<p>The best way to learn how to use this kind of stuff is to look at some examples. In my case I wanted to create a line chart with 2 different lines, so <a href="http://www.fusioncharts.com/free/Docs/?gMenuItemId=19">this example</a> on the documentation was very handy. On that page you have a big button called Show XML. Press it and you will see the core of the chart. The file that will open is an XML file with all the datas needed by the chart application to create a nice looking chart of the data.<br />
If you watch the xml AND the resulting chart at the same time, it shouldn&#8217;t be difficult to understand how the data are divided. The chart shows 4 different lines (Offline Marketing,Search,Paid Search and From Mail). It&#8217;s not difficult to discover on the XML that there are 4 different &#8220;things&#8221; that have those 4 names on it. ( If you know a bit of HTML you will understand XML in seconds, since XML could be considered a very clean HTML with your own tags.) If you are seeing the XML inside Firefox (and even in IE if I remenber correctly) you are lucky because the  browser print the XML with a nice indentation that allow you to spot on the fly how object are built. Starting from the four names above, you&#8217;ll discover that those &#8220;object&#8221; are called <strong>dataset</strong> which means that are build inside their own Xml Tag ( &lt;dataset> &#8230;. &lt;/dataset> ). </p>
<p class="akst_link"><a href="http://blog.nafurai.com/?p=261&amp;akst_action=share-this"  title="E-mail this, post to del.icio.us, etc." id="akst_link_261" class="akst_share_link" rel="nofollow">Share This</a>
</p>]]></content:encoded>
			<wfw:commentRss>http://blog.nafurai.com/2008/05/how-to-create-nice-charts/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Shoe wins and IE loses</title>
		<link>http://blog.nafurai.com/2007/11/shoe-wins-and-ie-loses/</link>
		<comments>http://blog.nafurai.com/2007/11/shoe-wins-and-ie-loses/#comments</comments>
		<pubDate>Thu, 01 Nov 2007 13:18:22 +0000</pubDate>
		<dc:creator>maurizio</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Ramblings]]></category>

		<guid isPermaLink="false">http://blog.nafurai.com/2007/11/shoe-wins-and-ie-loses/</guid>
		<description><![CDATA[Even with today&#8217;s stats Shoemoney beat John Chow.
If you are watching my site with Internet Explorer you&#8217;ll see some weird position for the posts. I am sorry but I have no idea why it happens. I know that the chart&#8217;s html code must be all on the same line to avoid problems (due to wordpress), [...]]]></description>
			<content:encoded><![CDATA[<p>Even with today&#8217;s stats Shoemoney beat John Chow.</p>
<p>If you are watching my site with Internet Explorer you&#8217;ll see some weird position for the posts. I am sorry but I have no idea why it happens. I know that the chart&#8217;s html code must be all on the same line to avoid problems (due to wordpress), but I have no idea why the posts on IE are down there (or here if you read it with IE :-) ).  I hate when the two browsers render the pages differently. I used to worry a lot about the behaviour on IE, but lately I&#8217;ve noticed that most of my readers use Firefox so I don&#8217;t mind that much anymore.<br />
I am not blaming IE to behave wrongly; I think it&#8217;s Firefox that is behaving wrongly probably. I noticed a lot of times that Internet Explorer is simply more strict on the way it renders HTML. It means that when you make mistakes on HTML, IE shows the code wrongly because you&#8217;ve made a mistake. Firefox instead try  to understand what you meant and it shows the code &#8220;correctly&#8221;. On this case IE is the right one; it&#8217;s better to show you the mistake rather than guessing what you meant.<br />
Anyway it&#8217;s not always like that. Most of the times is IE that guess in the wrong way.</p>
<p class="akst_link"><a href="http://blog.nafurai.com/?p=259&amp;akst_action=share-this"  title="E-mail this, post to del.icio.us, etc." id="akst_link_259" class="akst_share_link" rel="nofollow">Share This</a>
</p>]]></content:encoded>
			<wfw:commentRss>http://blog.nafurai.com/2007/11/shoe-wins-and-ie-loses/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Shoemoney is the winner</title>
		<link>http://blog.nafurai.com/2007/10/shoemoney-is-the-winner/</link>
		<comments>http://blog.nafurai.com/2007/10/shoemoney-is-the-winner/#comments</comments>
		<pubDate>Wed, 31 Oct 2007 10:23:16 +0000</pubDate>
		<dc:creator>maurizio</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Ramblings]]></category>

		<guid isPermaLink="false">http://blog.nafurai.com/2007/10/shoemoney-is-the-winner/</guid>
		<description><![CDATA[Apparently. If they take today as the last day of the competition, Shoemoney beat John Chow by more than 2000 readers and 10% more gain.  If they use Feedburner dates, we have to wait until tomorrow because FB stats are from yesterday (see my table dates).
Shoe played his card just 2 days ago because [...]]]></description>
			<content:encoded><![CDATA[<p>Apparently. If they take today as the last day of the competition, Shoemoney beat John Chow by more than 2000 readers and 10% more gain.  If they use Feedburner dates, we have to wait until tomorrow because FB stats are from yesterday (see my table dates).</p>
<p>Shoe played his card just 2 days ago because the the huge spike is visible just today (with yesterday stats, remember?).  He gained almost 5000 readers in just one day. That&#8217;s a lot of readers. I wonder if he used a trick or he just added a subscription popup on one of his ringtones site.</p>
<p>I think I can say that both are winners. Shoe can brag about being the winner of the competition, but John learned a lot of new stuff and gained more than 50% RSS readers, which will inflate his earnings for the month.</p>
<p>This competition didn&#8217;t have enough rules. If the rules were to use only the blog to promote the RSS, I think John could have been the winner. John Chow is an expert in blogging while Shoemoney isn&#8217;t exploiting it as much as he could. Shoe even said he&#8217;s not an expert on that. </p>
<p>Anyway check the chart:<br />
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase=http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="400" height="300" id="Column3D" ><param name="movie" value="/other/fusioncharts/fusioncharts/FCF_MSLine.swf" /><param name="FlashVars" value="&#038;dataURL=/other/fusioncharts/competitionFinal.xml&#038;chartWidth=400&#038;chartHeight=300"><param name="quality" value="high" /><embed src="/other/fusioncharts/fusioncharts/FCF_MSLine.swf" flashVars="&#038;dataURL=/other/fusioncharts/competitionFinal.xml&#038;chartWidth=400&#038;chartHeight=300" quality="high" width="400" height="300" name="MSLine" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" /></object></p>
<p>I will publish a long post on how to create this kind of charts soon. Leave a comment if you want to see it sooner.</p>
<p class="akst_link"><a href="http://blog.nafurai.com/?p=258&amp;akst_action=share-this"  title="E-mail this, post to del.icio.us, etc." id="akst_link_258" class="akst_share_link" rel="nofollow">Share This</a>
</p>]]></content:encoded>
			<wfw:commentRss>http://blog.nafurai.com/2007/10/shoemoney-is-the-winner/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Charts: John Chow vs Shoemoney</title>
		<link>http://blog.nafurai.com/2007/10/charts-john-chow-vs-shoemoney/</link>
		<comments>http://blog.nafurai.com/2007/10/charts-john-chow-vs-shoemoney/#comments</comments>
		<pubDate>Mon, 22 Oct 2007 11:18:37 +0000</pubDate>
		<dc:creator>maurizio</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Ramblings]]></category>

		<guid isPermaLink="false">http://blog.nafurai.com/2007/10/charts-john-chow-vs-shoemoney/</guid>
		<description><![CDATA[John Chow is humiliating Shoemoney with this competition. He&#8217;s leading in any way. If you check data from their starting values ( 8585 for John and  10833 for Jeremy), Mr Chow is winning. Even if you check the official values for the 1st October he&#8217;s winning again.
He is winning in absolute numbers 3555 vs [...]]]></description>
			<content:encoded><![CDATA[<p>John Chow is humiliating Shoemoney with this competition. He&#8217;s leading in any way. If you check data from their starting values ( 8585 for John and  10833 for Jeremy), Mr Chow is winning. Even if you check the official values for the 1st October he&#8217;s winning again.<br />
He is winning in absolute numbers 3555 vs 1585 and of course in percentage ( 41.4% vs 14.6%).<br />
In my opinion the percentage value is the most important. It&#8217;s way easier for sites with large subscriber base to get better; imagine a  blog with 1000 subscribers that reached a peak of 1500; maybe there are 200 readers that have subscribed but forgot to check the feed reader so they don&#8217;t show on the stats. It&#8217;s easy to ask them to check and you suddenly have an increase of 100-200 readers.<br />
Having said that, John numbers are impressive, almost 50% more readers in just one month (and we have 9 days left)</p>
<p>Check this chart to see graphically what happened:<br />
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase=http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="400" height="300" id="Column3D" ><param name="movie" value="/other/fusioncharts/fusioncharts/FCF_MSLine.swf" /><param name="FlashVars" value="&#038;dataURL=/other/fusioncharts/competition.xml&#038;chartWidth=400&#038;chartHeight=300"><param name="quality" value="high" /><embed src="/other/fusioncharts/fusioncharts/FCF_MSLine.swf" flashVars="&#038;dataURL=/other/fusioncharts/competition.xml&#038;chartWidth=400&#038;chartHeight=300" quality="high" width="400" height="300" name="MSLine" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" /></object></p>
<p>don&#8217;t forget to subscribe to my blog and to check the table on the right sidebar.</p>
<p>It&#8217;s not that difficult to create charts and they create an added value to any post. I&#8217;ll probably publish some instructions on how to create a nice chart if I get enough feedback (where enough >= 1) .</p>
<p class="akst_link"><a href="http://blog.nafurai.com/?p=257&amp;akst_action=share-this"  title="E-mail this, post to del.icio.us, etc." id="akst_link_257" class="akst_share_link" rel="nofollow">Share This</a>
</p>]]></content:encoded>
			<wfw:commentRss>http://blog.nafurai.com/2007/10/charts-john-chow-vs-shoemoney/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
