<?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>Bandos' Arcade</title>
	<atom:link href="http://www.nuwanbando.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.nuwanbando.com</link>
	<description>"It's not about how it is, but how I see it " - Stranger Than Fiction</description>
	<lastBuildDate>Wed, 23 Dec 2009 12:42:28 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Time for family and friends, Time to party and time to relax :D</title>
		<link>http://www.nuwanbando.com/2009/12/time-for-family-and-friends-time-to-party-and-time-to-relax-d/</link>
		<comments>http://www.nuwanbando.com/2009/12/time-for-family-and-friends-time-to-party-and-time-to-relax-d/#comments</comments>
		<pubDate>Wed, 23 Dec 2009 12:31:09 +0000</pubDate>
		<dc:creator>Nuwan Bandara</dc:creator>
				<category><![CDATA[About Me]]></category>
		<category><![CDATA[holidays]]></category>
		<category><![CDATA[wso2]]></category>

		<guid isPermaLink="false">http://www.nuwanbando.com/?p=270</guid>
		<description><![CDATA[Today I got holidays.   yeah I know some of you might be wondering whether am still schooling (Yeah I got the same feeling first lol) !!! !@#$%^&#38; But yeah we got a super awesome two whole weeks to have some fun, go some where, anywhere out from checking mail, and doing the stuff [...]]]></description>
			<content:encoded><![CDATA[<p>Today I got holidays. <img src='http://www.nuwanbando.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' />  yeah I know some of you might be wondering whether am still schooling (Yeah I got the same feeling first lol) !!! !@#$%^&amp; But yeah we got a super awesome two whole weeks to have some fun, go some where, anywhere out from checking mail, and doing the stuff we do day to day. Had the <a href="http://picasaweb.google.com/bandara.nuwan/WSO2YearEndParty">last-office-day party</a> at <a href="http://www.colombotown.com/business_directory_listing.php?id=114">flag and whistle</a> dressed up like pirates, doing some crazy games and enjoying nice food. <a href="http://sanjiva.weerawarana.org/">Dr. Sanjiva</a> gave an inspiring speech, talked about <a href="http://pzf.fremantle.org/2009/12/looking-back-on-2009.html">what we achived as a team</a> at WSO2 in 2009 and what we should do in the coming year.</p>
<p>I am still 5 months old at <a href="http://wso2.com">WSO2 </a>and all these things inspires me, the friendly open culture (with a very Geeky backdrop), the challenging work, friendly people with an amazing passion and team work. All those make me think how great it is to be apart of it all. So now its holidays for us, till Jan 4th we take a break from work and enjoy with everything else but work. My plan is to sleep about two days, Going on a trip to North (Yeah north since there NO WAR any more) for like 3 ~ 4 days, visit some old friends and la..di..da..di..da&#8230; <img src='http://www.nuwanbando.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  So yeah until then HAPPY HOLIDAYS</p>
<p><img class="aligncenter" src="http://www.lionking.org/~kimya/drawings/Link_Minish_Ezlo_Happy_Holidays.jpg" alt="" width="325" height="265" style="margin-left: 110px;" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.nuwanbando.com/2009/12/time-for-family-and-friends-time-to-party-and-time-to-relax-d/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WSO2 Gadget Server is out&#8230; Download it !! Play with it !!</title>
		<link>http://www.nuwanbando.com/2009/12/wso2-gadget-server-is-out-download-it-play-with-it/</link>
		<comments>http://www.nuwanbando.com/2009/12/wso2-gadget-server-is-out-download-it-play-with-it/#comments</comments>
		<pubDate>Thu, 17 Dec 2009 04:57:24 +0000</pubDate>
		<dc:creator>Nuwan Bandara</dc:creator>
				<category><![CDATA[programming]]></category>

		<guid isPermaLink="false">http://www.nuwanbando.com/?p=259</guid>
		<description><![CDATA[Yesterday (16th Dec) WSO2 Gadget Server graduated from its beta status and announced its release. WSO2 Gadget Server is designed to serve as a presentation middle-ware product in the SOA space to smoothly display chunks of service oriented data for the end users.
The solution architecture is based on portal / portlet concept but making it [...]]]></description>
			<content:encoded><![CDATA[<p>Yesterday (16th Dec) <a href="http://wso2.com/products/gadget-server/" target="_blank">WSO2 Gadget Server</a> graduated from its beta status and announced its release. WSO2 Gadget Server is designed to serve as a presentation middle-ware product in the <a href="http://wso2.com/products" target="_self">SOA space</a> to smoothly display chunks of service oriented data for the end users.</p>
<p>The solution architecture is based on portal / portlet concept but making it far more simpler. Since the enterprises are more and more leaning towards the<a href="http://feedproxy.google.com/~r/readwriteweb/~3/Udel4Vemg2k/5-enterprise-trends-to-watch-in-2010-part-1.php"> cloud and service oriented mashups</a>, visualizing those data should <strong>not be</strong> complicated. Hence the Gadget Server provides a simple platform to write the data visualization code just in HTML, JavaScript and XML the implementation of the presentation logic cannot make more simpler. It is exactly similar to writing a <a href="http://www.google.com/webmasters/gadgets/">Google gadget</a> (hosted in <a href="http://www.google.com/ig">iGoogle</a> / <a href="http://www.gmail.com">Gmail</a> / <a href="http://www.orkut.com/" target="_self">orkut</a>) to Tweet <img src='http://www.nuwanbando.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> .</p>
<p>As far as it goes the Gadget Server&#8217;s applicability for the enterprise is somewhat an enterprise dashboard that can be customized according to the user&#8217;s need and governed by the authorities. For an instance if you are a manager of a bank, wouldn&#8217;t it be great to have a dashboard forecasting and displaying current and future bank transaction stats and predications, while at the same time in a deferent view having your business schedule, calender, mail/IM, and news as small but clear and interactive portlets.</p>
<p>Yeah so thats, what the Gadget Server does, and the interesting fact is, its simplicity and extensibility, What all you need to know is some HTML and JavaScript. (no need to consult Java / .NET / PHP / SOA experts). So <a href="http://wso2.org/downloads/gadget-server">Download it</a> !! Play with it !! Give us some feedback !!</p>
<p><object width="425" height="344" style="margin-left:80px;"><param name="movie" value="http://www.youtube.com/v/EJQcEC3k694&#038;hl=en_US&#038;fs=1&#038;"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/EJQcEC3k694&#038;hl=en_US&#038;fs=1&#038;" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"></embed></object></p>
]]></content:encoded>
			<wfw:commentRss>http://www.nuwanbando.com/2009/12/wso2-gadget-server-is-out-download-it-play-with-it/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Authoring, deploying and using XML Gadgets in WSO2 Gadget Server</title>
		<link>http://www.nuwanbando.com/2009/12/authoring-deploying-and-using-xml-gadgets-in-wso2-gadget-server/</link>
		<comments>http://www.nuwanbando.com/2009/12/authoring-deploying-and-using-xml-gadgets-in-wso2-gadget-server/#comments</comments>
		<pubDate>Wed, 09 Dec 2009 11:39:16 +0000</pubDate>
		<dc:creator>Nuwan Bandara</dc:creator>
				<category><![CDATA[SOA]]></category>
		<category><![CDATA[open source]]></category>
		<category><![CDATA[Gadgets]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[Shindig]]></category>
		<category><![CDATA[WSO2 Gadget Server]]></category>

		<guid isPermaLink="false">http://www.nuwanbando.com/?p=251</guid>
		<description><![CDATA[
We are about to release The long awaited WSO2 Gadget Server within few days of time. These few days I was doing some documentation and content writing about the Gadget Server, Apache Shindig and Google gadgets specification. My 1st article about authoring gadgets is now published on WSO2 Oxygen Tank as a help/Tutorial for Gadget [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://code.google.com/apis/gadgets/images/landing_07_01_files/gadget_1.gif" alt="" width="100" height="100" /><img style="margin-left: 10px;" src="http://code.google.com/apis/gadgets/images/landing_07_01_files/gadget_2.gif" alt="" width="100" height="100" /><img style="margin-left: 10px;" src="http://code.google.com/apis/gadgets/images/landing_07_01_files/gadget_3.gif" alt="" width="100" height="100" /><img style="margin-left: 10px;" src="http://wso2.org/themes/wso2_v5/images/gs_logo.gif" alt="" width="269" height="42" /></p>
<p>We are about to release The long awaited <a href="http://wso2.org/projects/gadget-server" target="_blank">WSO2 Gadget Server</a> within few days of time. These few days I was doing some documentation and content writing about the Gadget Server, Apache Shindig and Google gadgets specification. <a href="http://wso2.org/library/articles/first-step-towards-wso2-gadget-server-authoring-deploying-u++sing-xml-gadgets" target="_blank">My 1st article about authoring gadgets</a> is now published on <a href="http://wso2.org">WSO2 Oxygen Tank</a> as a help/Tutorial for Gadget server users. You can also download the Gadget Server <a href="http://bit.ly/7svU4O" target="_blank">release candidate 2</a> and play with it. Also Paul had written an <a href="http://pzf.fremantle.org/2009/12/portal.html" target="_blank">interesting article</a> about portals and Gadgets Server&#8217;s role.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.nuwanbando.com/2009/12/authoring-deploying-and-using-xml-gadgets-in-wso2-gadget-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Apache Shindig talk at Apache Con Asia 09</title>
		<link>http://www.nuwanbando.com/2009/12/apache-shindig-talk-at-apache-con-asia-09/</link>
		<comments>http://www.nuwanbando.com/2009/12/apache-shindig-talk-at-apache-con-asia-09/#comments</comments>
		<pubDate>Fri, 04 Dec 2009 09:54:03 +0000</pubDate>
		<dc:creator>Nuwan Bandara</dc:creator>
				<category><![CDATA[programming]]></category>

		<guid isPermaLink="false">http://www.nuwanbando.com/?p=244</guid>
		<description><![CDATA[As I have mentioned in some previous post, today I did a talk about Apache shindig and its use cases (WSO2 Gadget Server) at Apache Con 09 with my Colleague Tyrell. So without writing about the whole talk let me share the presentation slides. The Talk turned up great, audience were quite interested, too bad [...]]]></description>
			<content:encoded><![CDATA[<p>As I have mentioned in some previous post, today I did a talk about Apache shindig and its use cases (WSO2 Gadget Server) at Apache Con 09 with my Colleague Tyrell. So without writing about the whole talk let me share the presentation slides. The Talk turned up great, audience were quite interested, too bad we had very limited time and missed to do a demo. <img src='http://www.nuwanbando.com/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> </p>
<div style="width:425px;text-align:left; margin-left: 60px;" id="__ss_2646975;"><object style="margin:0px" width="425" height="355"><param name="movie" value="http://static.slidesharecdn.com/swf/ssplayer2.swf?doc=shindig-apachecon-asia-09-091204001804-phpapp02&#038;stripped_title=shindig-apachecon-asia-09" /><param name="allowFullScreen" value="true"/><param name="allowScriptAccess" value="always"/><embed src="http://static.slidesharecdn.com/swf/ssplayer2.swf?doc=shindig-apachecon-asia-09-091204001804-phpapp02&#038;stripped_title=shindig-apachecon-asia-09" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="355"></embed></object>
<div style="font-size:11px;font-family:tahoma,arial;height:26px;padding-top:2px;">View more <a style="text-decoration:underline;" href="http://www.slideshare.net/">documents</a> from <a style="text-decoration:underline;" href="http://www.slideshare.net/nuwanbando">Nuwan Bandara</a>.</div>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.nuwanbando.com/2009/12/apache-shindig-talk-at-apache-con-asia-09/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Apache Asia Road Show 2009 &gt;&gt; Keynote speech</title>
		<link>http://www.nuwanbando.com/2009/12/apache-asia-road-show-2009-keynote-speech/</link>
		<comments>http://www.nuwanbando.com/2009/12/apache-asia-road-show-2009-keynote-speech/#comments</comments>
		<pubDate>Thu, 03 Dec 2009 17:29:40 +0000</pubDate>
		<dc:creator>Nuwan Bandara</dc:creator>
				<category><![CDATA[programming]]></category>
		<category><![CDATA[climate change]]></category>

		<guid isPermaLink="false">http://www.nuwanbando.com/?p=238</guid>
		<description><![CDATA[Today I was at Apache Asia road show 2009 at Colombo, and feeling good about myself of attending  . It was a great session with many valuable tech talks and more of a valuable community gathering. Am not writing this post to talk about Apache and all the open source movement but about a [...]]]></description>
			<content:encoded><![CDATA[<p>Today I was at <a href="http://www.apacheasia09.foss.lk/index" target="_blank">Apache Asia road show 2009</a> at Colombo, and feeling good about myself of attending <img src='http://www.nuwanbando.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> . It was a great session with many valuable tech talks and more of a valuable community gathering. Am not writing this post to talk about Apache and all the open source movement but about a specific talk which made me thinking.</p>
<p>Today, the 1st of 3 days event, the keynote speech was given by a remarkable Sri Lankan Scientist <a href="http://en.wikipedia.org/wiki/Mohan_Munasinghe" target="_blank">Prof Mohan Munasinghe</a> on a topic if I remember correctly, &#8220;<strong>Making Development More Sustainable Will Help Address Climate Change</strong>&#8220;. I know !! It doesn&#8217;t sound much like open source or rather ICT in that matter, but the way he made most of the things related to ICT was quite remarkable. His solution to address bigger problems seems simple. His solution was to address the small problems, change the things what you can change at no cost, exactly quoting &#8220;<strong>Use electricity carefully, eat less meet</strong> <img src='http://www.nuwanbando.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> &#8221;.</p>
<p>Thinking it through, its the old method in solving the big problem, its just break it in to small problems and try to solve those small ones. The facts Prof Munasinghe talked about climate change was quite terrifying. But however his conclusion was optimistic, he believed as a community that we will stand up against these challenges, be less greedy and help the poor.</p>
<p><img class="aligncenter" title="Climate Change" src="http://yourgreenfriend.com/wp-content/uploads/2009/06/climate_picture.jpg" alt="" width="559" height="274" /></p>
<p>P.S : If anyone of you did find the presentation slides of the keynote speech please do link in comments <img src='http://www.nuwanbando.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.nuwanbando.com/2009/12/apache-asia-road-show-2009-keynote-speech/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>That and This</title>
		<link>http://www.nuwanbando.com/2009/12/that-and-this/</link>
		<comments>http://www.nuwanbando.com/2009/12/that-and-this/#comments</comments>
		<pubDate>Tue, 01 Dec 2009 09:41:11 +0000</pubDate>
		<dc:creator>Nuwan Bandara</dc:creator>
				<category><![CDATA[programming]]></category>
		<category><![CDATA[About Me]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[diGIT]]></category>
		<category><![CDATA[open source]]></category>
		<category><![CDATA[Shindig]]></category>

		<guid isPermaLink="false">http://www.nuwanbando.com/?p=233</guid>
		<description><![CDATA[Nothing much new to write, was busy with work, WSO2 Gadget Server is about to release in the coming weeks, (I&#8217;ll be writing a whole story about it in a coming post). Apart from all those, my first article was published today in the diGIT magazine, which is a free online IT magazine run by [...]]]></description>
			<content:encoded><![CDATA[<p>Nothing much new to write, was busy with work, WSO2 Gadget Server is about to release in the coming weeks, (I&#8217;ll be writing a whole story about it in a coming post). Apart from all those, my first article was published today in the <a href="http://digit.lk/">diGIT</a> magazine, which is a free online IT magazine run by a bunch of Sri Lankans. For some time I wanted to write about SOA and my findings in my final academic year, I thought I will blog about it. But never got a chance or rather, who will read about SOA in my blog <img src='http://www.nuwanbando.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> . For many of such reasons I thought of contributing to diGIT mainly about SOA. With its December issue, my first article about SOA got published. you can check it out at <a href="http://digit.lk/09_dec_soa2" target="_blank">http://digit.lk/09_dec_soa2</a> and leave a comment here <img src='http://www.nuwanbando.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Other than that, <a href="http://www.apacheasia09.foss.lk/home" target="_blank">The Apache Asia Roadshow 2009</a> is happening in town Dec. 3rd, 4th and 5th. On 4th morning I will be talking about <a href="http://incubator.apache.org/shindig/" target="_blank">Apache Shindig</a> and our experience in WSO2 Gadget Server along with <a href="http://tyrellperera.blogspot.com/" target="_blank">Tyrell</a>. So pay a visit on the event am sure it&#8217;ll be awesome.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.nuwanbando.com/2009/12/that-and-this/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The Sparkling Graduation</title>
		<link>http://www.nuwanbando.com/2009/10/the-sparkling-graduation/</link>
		<comments>http://www.nuwanbando.com/2009/10/the-sparkling-graduation/#comments</comments>
		<pubDate>Sun, 25 Oct 2009 04:25:24 +0000</pubDate>
		<dc:creator>Nuwan Bandara</dc:creator>
				<category><![CDATA[programming]]></category>

		<guid isPermaLink="false">http://www.nuwanbando.com/?p=224</guid>
		<description><![CDATA[Last night was the long awaited day, My graduation, We were suited up, dressed with black academic gowns and hats, Its all fancy and well, quite formal  . There is alot to brag about, How Important this day is, The hard work we did to achieve it, but well I guess you all know [...]]]></description>
			<content:encoded><![CDATA[<p>Last night was the long awaited day, My graduation, We were suited up, dressed with black academic gowns and hats, Its all fancy and well, quite formal <img src='http://www.nuwanbando.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> . There is alot to brag about, How Important this day is, The hard work we did to achieve it, but well I guess you all know the backdrop of a graduation. So without much words ill post some photos, of this important day of my life and Why I said its a SPARKLING Graduation is that I won Dr. Gamini Wickramasinghe Gold Medal for outstanding achievements. <img src='http://www.nuwanbando.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  My parents were happy with tears in their eyes. Thank you guys, to all of you, in helping me to achieve greatness last night.</p>

<a href='http://www.nuwanbando.com/2009/10/the-sparkling-graduation/dsc01221/' title='Friends'><img width="150" height="150" src="http://www.nuwanbando.com/wp-content/uploads/2009/10/DSC01221-150x150.jpg" class="attachment-thumbnail" alt="" title="Friends" /></a>
<a href='http://www.nuwanbando.com/2009/10/the-sparkling-graduation/dsc00793/' title='DSC00793'><img width="150" height="150" src="http://www.nuwanbando.com/wp-content/uploads/2009/10/DSC00793-150x150.jpg" class="attachment-thumbnail" alt="" title="DSC00793" /></a>
<a href='http://www.nuwanbando.com/2009/10/the-sparkling-graduation/grad/' title='grad'><img width="150" height="150" src="http://www.nuwanbando.com/wp-content/uploads/2009/10/grad-150x150.jpg" class="attachment-thumbnail" alt="" title="grad" /></a>

]]></content:encoded>
			<wfw:commentRss>http://www.nuwanbando.com/2009/10/the-sparkling-graduation/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>The SOA Workshop day</title>
		<link>http://www.nuwanbando.com/2009/09/the-soa-workshop-day/</link>
		<comments>http://www.nuwanbando.com/2009/09/the-soa-workshop-day/#comments</comments>
		<pubDate>Thu, 17 Sep 2009 15:59:48 +0000</pubDate>
		<dc:creator>Nuwan Bandara</dc:creator>
				<category><![CDATA[About Me]]></category>
		<category><![CDATA[SOA]]></category>
		<category><![CDATA[wso2]]></category>

		<guid isPermaLink="false">http://www.nuwanbando.com/?p=217</guid>
		<description><![CDATA[Today was &#8220;THE Workshop Day&#8221; for WSO2 folks, an event organized by WSO2 with an intention to make an awareness of SOA building blocks. I was (proudly   ) among the audience as a WSO2 crew member, listening to all the tech talks of my collogues. It was a great session we had today, [...]]]></description>
			<content:encoded><![CDATA[<p>Today was &#8220;THE Workshop Day&#8221; for WSO2 folks, an event organized by <a href="http://wso2.com/">WSO2</a> with an intention to make an awareness of SOA building blocks. I was (proudly <img src='http://www.nuwanbando.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  ) among the audience as a WSO2 crew member, listening to all the tech talks of my collogues. It was a great session we had today, starting from <a href="http://pzf.fremantle.org/">Paul&#8217;s</a> introduction to SOA  and until <a href="http://www.asankama.com/">Asanka&#8217;s</a> talk about enterprise SOA pattern&#8217;s. The whole set of talks took me back in time where I was reading about SOA concepts for my bachelor&#8217;s thesis. If I had experienced this workshop then, life would have been much easier <img src='http://www.nuwanbando.com/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> .</p>
<p>Guys,.. cheers !! for a job well done <img src='http://www.nuwanbando.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><center><img class="aligncenter size-medium wp-image-218" title="com-workshop-banner" src="http://www.nuwanbando.com/wp-content/uploads/2009/09/com-workshop-banner-300x126.jpg" alt="com-workshop-banner" width="300" height="126" /></center></p>
]]></content:encoded>
			<wfw:commentRss>http://www.nuwanbando.com/2009/09/the-soa-workshop-day/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Convert from HTML to XML with HTML Tidy</title>
		<link>http://www.nuwanbando.com/2009/09/convert-from-html-to-xml-with-html-tidy/</link>
		<comments>http://www.nuwanbando.com/2009/09/convert-from-html-to-xml-with-html-tidy/#comments</comments>
		<pubDate>Wed, 16 Sep 2009 06:37:18 +0000</pubDate>
		<dc:creator>Nuwan Bandara</dc:creator>
				<category><![CDATA[programming]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[maven]]></category>
		<category><![CDATA[Tidy]]></category>
		<category><![CDATA[xml]]></category>

		<guid isPermaLink="false">http://www.nuwanbando.com/?p=199</guid>
		<description><![CDATA[For few days I was involved with WSO2 Mashup Server 2.0 release documentation, giving a hand to the mashup team. Documentation is a painful task, but when comes to open source what matters mostly is documentation  .
Last night I had to convert a bunch of html files (some Java Api Docs) to xml in-order [...]]]></description>
			<content:encoded><![CDATA[<p>For few days I was involved with <a href="http://wso2.org/projects/mashup">WSO2 Mashup Server</a> 2.0 release documentation, giving a hand to the mashup team. Documentation is a painful task, but when comes to open source what matters mostly is documentation <img src='http://www.nuwanbando.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> .<br />
Last night I had to convert a bunch of html files (some Java Api Docs) to xml in-order to port into maven site. Formatting 30+ html files to xml !@#$%^&amp;*@% <img src='http://www.nuwanbando.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> . So I was googleing for a tool to automate the task. With few clicks here and there I found a nice article in <a href="http://www.ibm.com">Big Blue</a>&#8217;s developer works site, a tool called &#8220;<a href="http://tidy.sourceforge.net/">Tidy</a>&#8220;. When I tried to download and use I figure out that you can straight away apt-get the package and use. So,</p>
<pre name="code" class="xml">sudo apt-get install tidy</pre>
<p>and your box is now equiped with the tool, and can be accessed via the shell.</p>
<pre name="code" class="xml">tidy -asxhtml -numeric < index.html > index.xml</pre>
<p>but who wants to convert file by file when you have such a nice tool, so I spent few minutes in writing a tiny shell script to get the job done, the snippet is, </p>
<pre name="code" class="xml">
#!/bin/bash
for file in $(find $1 -type f -iname '*.html'); do
	myf=`echo $file | sed 's/html/xml/g'`
	tidy -asxhtml -numeric < $file > $myf
done
</pre>
<p>All looked good, worked fine. However in my Api Docs I had, had few special tags, custom to our Mashup Apis (&lt;imconfig&gt;, &lt;yahoo&gt;, &lt;mail:config&gt;). Tidy gave error for these files since the tags are not recognized. </p>
<p>In such a case you can train Tidy for new tags, by adding few lines to the tidy configuration file. (/etc/tidy.config &#8211; You can also give your own config file at the prompt)</p>
<pre name="code" class="xml">new-pre-tags: imconfig, yahoo, msn, aim, icq, jabber, username, password</pre>
<p>There are whole bunch of tweeks you can do with tidy, [<a href="http://www.ibm.com/developerworks/library/x-tiptidy.html">1</a>], [<a href="http://tidy.sourceforge.net/">2</a>] and [<a href="http://tidy.sourceforge.net/docs/tidy_man.html">3</a>] are some useful links that you can read up when using the tool.</p>
<p>[1] : <a href="http://www.ibm.com/developerworks/library/x-tiptidy.html">http://www.ibm.com/developerworks/library/x-tiptidy.html</a><br />
[2] : <a href="http://tidy.sourceforge.net/">http://tidy.sourceforge.net/</a><br />
[3] : <a href="http://tidy.sourceforge.net/docs/tidy_man.html">http://tidy.sourceforge.net/docs/tidy_man.html</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.nuwanbando.com/2009/09/convert-from-html-to-xml-with-html-tidy/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Lesson learnt the hard way</title>
		<link>http://www.nuwanbando.com/2009/09/lesson-learnt-the-hard-way/</link>
		<comments>http://www.nuwanbando.com/2009/09/lesson-learnt-the-hard-way/#comments</comments>
		<pubDate>Wed, 09 Sep 2009 15:54:33 +0000</pubDate>
		<dc:creator>Nuwan Bandara</dc:creator>
				<category><![CDATA[About Me]]></category>
		<category><![CDATA[open source]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.nuwanbando.com/?p=195</guid>
		<description><![CDATA[Terminator was running in four segments, top left was a maven build, top right was a svn update, in one of other two an apt-get was running and I was playing on the smaller one left in bottom right. My notebook was running on battery power and I forgot to plug it in to AC, [...]]]></description>
			<content:encoded><![CDATA[<p><a href="https://launchpad.net/terminator/" target="_blank">Terminator</a> was running in four segments, top left was a maven build, top right was a svn update, in one of other two an apt-get was running and I was playing on the smaller one left in bottom right. My notebook was running on battery power and I forgot to plug it in to AC, before the box got hibernate. Once I reboot it with AC power my X-Server was gone !! I couldn&#8217;t see the log-in screen and it just left me with the console in full screen.</p>
<p>I am not a linux guru, but i tried few commands, &#8220;startx / dkpg -reconfigure / nvidia-config / etc&#8221;. I had to run to our <a href="http://saguide.wordpress.com/">sys admin</a> since he is considered the guru <img src='http://www.nuwanbando.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> . with few commands at flash speed he got the x-server running again. but it was all broken here and there. couldn&#8217;t hear sound, installed apps were not working and above all when I reboot, I had to type &#8220;startx&#8221; each time to see the display (Which was a pain and made me itchy <img src='http://www.nuwanbando.com/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> ). Chamith&#8217;s idea was even if he could get the x-server running in normal mode, some errors that am getting wont be able to fix. so the best option to make all smooth is to re install the OS and he said &#8220;No probs <em>ne machan</em> (sinhala way of saying dude / bro <img src='http://www.nuwanbando.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  ), ur home is in a different partition right ? so its a matter of ten minutes to restore the root in the other partition.&#8221; &#8211; OH CRAP NOOO my /home was also in the same partition and I only had one single big partition. <img src='http://www.nuwanbando.com/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> </p>
<p>SO yeah I had no other option left, I had to back up 20GB of my /home dir and re-install ubuntu 9.04. (Coping 20GB from here and there is a crappy and a messy job) I was struggling with the fix till today morning and finally got everything smooth again.</p>
<p>SO the lesson from all of this is. keep your /home mounted in a different partition. I learnt the lesson, the hard way.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.nuwanbando.com/2009/09/lesson-learnt-the-hard-way/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
