<?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>xterm.it</title>
	<atom:link href="http://www.xterm.it/blog/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.xterm.it/blog</link>
	<description>time to think -  by Marco Campana</description>
	<lastBuildDate>Sun, 18 Oct 2009 20:59:15 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>&#8216;Host key verification failed&#8217; with Capistrano and Git</title>
		<link>http://www.xterm.it/blog/2009/10/host-key-verification-failed-with-capistrano-and-git/</link>
		<comments>http://www.xterm.it/blog/2009/10/host-key-verification-failed-with-capistrano-and-git/#comments</comments>
		<pubDate>Sun, 18 Oct 2009 20:59:15 +0000</pubDate>
		<dc:creator>marco</dc:creator>
				<category><![CDATA[Rails]]></category>
		<category><![CDATA[capistrano]]></category>
		<category><![CDATA[ruby]]></category>

		<guid isPermaLink="false">http://www.xterm.it/blog/?p=163</guid>
		<description><![CDATA[The other day I started getting 'Host Key verification' failed error when trying to deploy an application with Capistrano hosted on a Git repository accessed via SSH 2) ssh to the git repo machine and accept the key ]]></description>
			<content:encoded><![CDATA[<p>The other day I started getting &#8216;Host Key verification&#8217; failed error when trying to deploy an application with Capistrano hosted on a Git repository accessed via SSH. At first the problem was a bit scary, but after a bit of thinking I figured out that the solution to the problem was quite simple.</p>
<p>What I had to do was:</p>
<p>1) ssh to the machine where I wanted to deploy the application to</p>
<p>2) ssh to the git repo machine and accept the key</p>
<p>Done.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.xterm.it/blog/2009/10/host-key-verification-failed-with-capistrano-and-git/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Install mysql gem on Ruby1.9</title>
		<link>http://www.xterm.it/blog/2009/06/install-mysql-gem-on-ruby19/</link>
		<comments>http://www.xterm.it/blog/2009/06/install-mysql-gem-on-ruby19/#comments</comments>
		<pubDate>Tue, 02 Jun 2009 10:00:38 +0000</pubDate>
		<dc:creator>marco</dc:creator>
				<category><![CDATA[Rails]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[ruby]]></category>

		<guid isPermaLink="false">http://www.xterm.it/blog/?p=133</guid>
		<description><![CDATA[If you want to install the mysql gem with Ruby1.9 try this: sudo gem1.9 install kwatch-mysql-ruby  Where in the --with-mysql-config option you have to specify the path to mysql_config in the bin directory in your mysql installation path. ]]></description>
			<content:encoded><![CDATA[<p>This should sound like a very easy task, but it took me a while to sort this out, so I thought I&#8217;d share it. If you want to install the mysql gem with Ruby1.9 try this:</p>

<div class="wp_syntax"><div class="code"><pre class="ruby" style="font-family:monospace;">sudo gem1.9 install kwatch<span style="color:#006600; font-weight:bold;">-</span>mysql<span style="color:#006600; font-weight:bold;">-</span>ruby 
              <span style="color:#006600; font-weight:bold;">--</span>source=http:<span style="color:#006600; font-weight:bold;">//</span>gems.<span style="color:#9900CC;">github</span>.<span style="color:#9900CC;">com</span><span style="color:#006600; font-weight:bold;">/</span> 
              <span style="color:#006600; font-weight:bold;">--</span> with<span style="color:#006600; font-weight:bold;">-</span>mysql<span style="color:#006600; font-weight:bold;">-</span>config=<span style="color:#006600; font-weight:bold;">/</span>usr<span style="color:#006600; font-weight:bold;">/</span>local<span style="color:#006600; font-weight:bold;">/</span>mysql<span style="color:#006600; font-weight:bold;">/</span>bin<span style="color:#006600; font-weight:bold;">/</span>mysql_config</pre></div></div>

<p>Where in the &#8211;with-mysql-config option you have to specify the path to mysql_config in the bin directory in your mysql installation path.</p>
<p>In <a href="http://www.mit-can.com/">Mobile Interactive Technology</a> we are trying to make our new applications compatible with Rails 2.3 and Ruby1.9. Not an easy task though. An invaluable source of info on compatibility of gems with Ruby1.9 is <a href="http://isitruby19.com/">isitruby19.com</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.xterm.it/blog/2009/06/install-mysql-gem-on-ruby19/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Finally a taste of Chromium on the Mac</title>
		<link>http://www.xterm.it/blog/2009/05/finally-a-taste-of-chromium-on-the-mac/</link>
		<comments>http://www.xterm.it/blog/2009/05/finally-a-taste-of-chromium-on-the-mac/#comments</comments>
		<pubDate>Wed, 13 May 2009 11:13:13 +0000</pubDate>
		<dc:creator>marco</dc:creator>
				<category><![CDATA[miscellaneous]]></category>
		<category><![CDATA[open source]]></category>
		<category><![CDATA[fun]]></category>
		<category><![CDATA[Google]]></category>

		<guid isPermaLink="false">http://www.xterm.it/blog/?p=125</guid>
		<description><![CDATA[It's not even an alpha release, or a release of some sort, but we can finally download a buggy but usable version of Google Chrome for the Mac It's obviously full of bugs and missing features, but if you are dying of trying it on your Mac (yes, like me) you can download the latest snapshot build from the chromium project server. ]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s not even an alpha release, or a release of some sort, but we can finally download a buggy but usable version of Google Chrome for the Mac. It&#8217;s obviously full of bugs and missing features, but if you are dying to trying it on your Mac (yes, like me) you can download the latest snapshot build from <a href="http://build.chromium.org/buildbot/snapshots/sub-rel-mac/">the chromium project server</a>.<br />
The project is under active development, as shown by the fact the I have downloaded it yesterday evening, and at the time of writing I am almost 40 builds behind&#8230;<br />
Have fun!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.xterm.it/blog/2009/05/finally-a-taste-of-chromium-on-the-mac/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The Yahoo! Hack day is gone. Good stuff guys!</title>
		<link>http://www.xterm.it/blog/2009/05/the-yahoo-hack-day-is-gone-good-stuff-guys/</link>
		<comments>http://www.xterm.it/blog/2009/05/the-yahoo-hack-day-is-gone-good-stuff-guys/#comments</comments>
		<pubDate>Tue, 12 May 2009 21:38:21 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[open source]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[fun]]></category>
		<category><![CDATA[Yahoo]]></category>

		<guid isPermaLink="false">http://www.xterm.it/blog/?p=116</guid>
		<description><![CDATA[I went to the Yahoo Open Hack day London last Saturday A big number of Yahoo enthusiasts (and a guy with a Google T-shirt) arrived at the Congress Center early in the morning for a 24h session of hacking and fun events. ]]></description>
			<content:encoded><![CDATA[<p>I went to the Yahoo! Open Hack day London last Saturday. I waited for quite a long time this event, and I&#8217;m pleased to say that all my expectations were fully met. A big number of Yahoo enthusiasts (and a guy with a Google T-shirt) arrived at the Congress Center early in the morning for a 24h session of hacking and fun events.<br />
I was very happy to meet my ex Yahoo colleagues, seeing that they&#8217;re doing great even during hard times for the company.<br />
I enjoyed mostly the talks about <a href="http://developer.yahoo.com/geo/">geo technologies</a> and <a href="http://developer.yahoo.com/yql/">yql</a>. I got so many ideas to implement in my iphone application:)<br />
In particular YQL is a very interesting technology that allows an application to query a number of Yahoo and external databases by means of restful requests.</p>
<p style="text-align: center;"><img class="aligncenter" src="http://openhacklondon.pbworks.com/f/1238690369/logo_horizontal_250px.jpg" alt="" /></p>
<p>Check some <a href="http://www.flickr.com/search/?q=openhackday%20london&#038;w=all&#038;s=int">pictures on Flickr</a>. </p>
]]></content:encoded>
			<wfw:commentRss>http://www.xterm.it/blog/2009/05/the-yahoo-hack-day-is-gone-good-stuff-guys/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>A sample Java test runner using annotations</title>
		<link>http://www.xterm.it/blog/2009/04/a-sample-java-test-runner-using-annotations/</link>
		<comments>http://www.xterm.it/blog/2009/04/a-sample-java-test-runner-using-annotations/#comments</comments>
		<pubDate>Sun, 19 Apr 2009 19:23:00 +0000</pubDate>
		<dc:creator>marco</dc:creator>
				<category><![CDATA[miscellaneous]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[programming]]></category>

		<guid isPermaLink="false">http://www.xterm.it/blog/?p=106</guid>
		<description><![CDATA[public class RunTests {      int passed = 0, failed = 0;      for (Method m : Class.forName(args[0]).getMethods()) {               passed++;                 "Test %s failed: %s %n",                  m,                failed++; ]]></description>
			<content:encoded><![CDATA[<p>I have found this toy code on <a href="http://java.sun.com/j2se/1.5.0/docs/guide/language/annotations.html">java.sun.com</a> that describes how Java annotations could be used to write a simple Test runner. This script gets as argument the name of a class and tries to execute all the methods of that class that are annotated as @Test.<br />
The interesting aspect of this code is that is shows clearly how annotations can be used to execute/manipulate source code.</p>

<div class="wp_syntax"><div class="code"><pre class="java" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">import</span> <span style="color: #006699;">java.lang.reflect.*</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">public</span> <span style="color: #000000; font-weight: bold;">class</span> RunTests <span style="color: #009900;">&#123;</span>
  <span style="color: #000000; font-weight: bold;">public</span> <span style="color: #000000; font-weight: bold;">static</span> <span style="color: #000066; font-weight: bold;">void</span> main<span style="color: #009900;">&#40;</span><span style="color: #003399;">String</span><span style="color: #009900;">&#91;</span><span style="color: #009900;">&#93;</span> args<span style="color: #009900;">&#41;</span> <span style="color: #000000; font-weight: bold;">throws</span> <span style="color: #003399;">Exception</span> <span style="color: #009900;">&#123;</span>
     <span style="color: #000066; font-weight: bold;">int</span> passed <span style="color: #339933;">=</span> <span style="color: #cc66cc;">0</span>, failed <span style="color: #339933;">=</span> <span style="color: #cc66cc;">0</span><span style="color: #339933;">;</span>
     <span style="color: #000000; font-weight: bold;">for</span> <span style="color: #009900;">&#40;</span><span style="color: #003399;">Method</span> m <span style="color: #339933;">:</span> <span style="color: #000000; font-weight: bold;">Class</span>.<span style="color: #006633;">forName</span><span style="color: #009900;">&#40;</span>args<span style="color: #009900;">&#91;</span><span style="color: #cc66cc;">0</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span>.<span style="color: #006633;">getMethods</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
        <span style="color: #000000; font-weight: bold;">if</span> <span style="color: #009900;">&#40;</span>m.<span style="color: #006633;">isAnnotationPresent</span><span style="color: #009900;">&#40;</span>Test.<span style="color: #000000; font-weight: bold;">class</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
           <span style="color: #000000; font-weight: bold;">try</span> <span style="color: #009900;">&#123;</span>
              m.<span style="color: #006633;">invoke</span><span style="color: #009900;">&#40;</span><span style="color: #000066; font-weight: bold;">null</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
              passed<span style="color: #339933;">++;</span>
           <span style="color: #009900;">&#125;</span> <span style="color: #000000; font-weight: bold;">catch</span> <span style="color: #009900;">&#40;</span><span style="color: #003399;">Throwable</span> ex<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
              <span style="color: #003399;">System</span>.<span style="color: #006633;">out</span>.<span style="color: #006633;">printf</span><span style="color: #009900;">&#40;</span>
                <span style="color: #0000ff;">&quot;Test %s failed: %s %n&quot;</span>,
                m,
                ex.<span style="color: #006633;">getCause</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>
              <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
              failed<span style="color: #339933;">++;</span>
           <span style="color: #009900;">&#125;</span>
        <span style="color: #009900;">&#125;</span>
     <span style="color: #009900;">&#125;</span>
     <span style="color: #003399;">System</span>.<span style="color: #006633;">out</span>.<span style="color: #006633;">printf</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;Passed: %d, Failed %d%n&quot;</span>, passed, failed<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
  <span style="color: #009900;">&#125;</span>
<span style="color: #009900;">&#125;</span></pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://www.xterm.it/blog/2009/04/a-sample-java-test-runner-using-annotations/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Yahoo! Open Hack Day London 2009</title>
		<link>http://www.xterm.it/blog/2009/04/yahoo-open-hack-day-london-2009/</link>
		<comments>http://www.xterm.it/blog/2009/04/yahoo-open-hack-day-london-2009/#comments</comments>
		<pubDate>Sun, 19 Apr 2009 16:42:07 +0000</pubDate>
		<dc:creator>marco</dc:creator>
				<category><![CDATA[miscellaneous]]></category>
		<category><![CDATA[Yahoo]]></category>

		<guid isPermaLink="false">http://www.xterm.it/blog/?p=92</guid>
		<description><![CDATA[Finally after 2  years Yahoo is back with its Open Hack Day in London The 24h non stop event will take place in London the 9th and 10th of May, featuring tech talks on Yahoo!'s technologies, games, food, and of course plenty of hacking ]]></description>
			<content:encoded><![CDATA[<p><img style="float: left;" src="http://yhoo.client.shareholder.com/press/images/yahoobang.gif" alt="Yahoo! logo" width="100" height="57" />Finally after 2  years Yahoo! is back with his<em> Open Hack Day event</em> in London! The 24h non stop event will take place in London the 9th and 10th of May, featuring tech talks on Yahoo!&#8217;s technologies, games, food, and of course plenty of hacking. If you are planning to join don&#8217;t forget to register visiting <a href="http://openhacklondon.pbwiki.com/">the official web page</a>.</p>
<p>Here is the map to the venue:</p>
<p><iframe width="425" height="350" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="http://maps.google.com/maps?f=l&amp;source=s_q&amp;hl=en&amp;geocode=&amp;q=congress+center+covent+garden&amp;sll=37.0625,-95.677068&amp;sspn=34.396866,62.753906&amp;ie=UTF8&amp;near=London,+UK&amp;ll=51.525086,-0.124283&amp;spn=0.006596,0.015321&amp;z=14&amp;iwloc=A&amp;cid=573777044277971094&amp;output=embed"></iframe><br /><small><a href="http://maps.google.com/maps?f=l&amp;source=embed&amp;hl=en&amp;geocode=&amp;q=congress+center+covent+garden&amp;sll=37.0625,-95.677068&amp;sspn=34.396866,62.753906&amp;ie=UTF8&amp;near=London,+UK&amp;ll=51.525086,-0.124283&amp;spn=0.006596,0.015321&amp;z=14&amp;iwloc=A&amp;cid=573777044277971094" style="color:#0000FF;text-align:left">View Larger Map</a></small></p>
]]></content:encoded>
			<wfw:commentRss>http://www.xterm.it/blog/2009/04/yahoo-open-hack-day-london-2009/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Adding attribute accessors to a Perl class &#8211; rubifying perl</title>
		<link>http://www.xterm.it/blog/2009/02/adding-attribute-accessors-to-a-perl-class-rubifying-perl/</link>
		<comments>http://www.xterm.it/blog/2009/02/adding-attribute-accessors-to-a-perl-class-rubifying-perl/#comments</comments>
		<pubDate>Tue, 03 Feb 2009 22:19:03 +0000</pubDate>
		<dc:creator>marco</dc:creator>
				<category><![CDATA[perl]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[ruby]]></category>

		<guid isPermaLink="false">http://www.xterm.it/blog/?p=73</guid>
		<description><![CDATA[I can't help it, even when I'm working with Perl I always think of Ruby The idea is to add to a Perl package behavior similar to a Ruby class, when you can specify attribute accessors (getters and setters) like this:   my $class = shift;   bless {}, $class; ATT ]]></description>
			<content:encoded><![CDATA[<p>This small hack adds attribute accessors to a Perl class. The idea is to add to a Perl package behavior similar to a Ruby class, when you can specify attribute accessors (getters and setters) like this:</p>

<div class="wp_syntax"><div class="code"><pre class="ruby" style="font-family:monospace;">attr_accessor <span style="color:#ff3333; font-weight:bold;">:attr_name</span></pre></div></div>

<p>Here is the code we have written. Basically all you need to do is add the sub attr_accessor to your Perl class, and then call this method with the attribute you want the getter and setter for.</p>

<div class="wp_syntax"><div class="code"><pre class="perl" style="font-family:monospace;"><span style="color: #000066;">package</span> MyPackage<span style="color: #339933;">;</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">sub</span> <span style="color: #000000; font-weight: bold;">new</span> <span style="color: #009900;">&#123;</span>
  <span style="color: #b1b100;">my</span> <span style="color: #0000ff;">$class</span> <span style="color: #339933;">=</span> <span style="color: #000066;">shift</span><span style="color: #339933;">;</span>
  <span style="color: #000066;">bless</span> <span style="color: #009900;">&#123;</span><span style="color: #009900;">&#125;</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">$class</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">sub</span> attr_accessor <span style="color: #009900;">&#123;</span>
  <span style="color: #0000ff;">$attr</span> <span style="color: #339933;">=</span> <span style="color: #000066;">shift</span><span style="color: #339933;">;</span>
  <span style="color: #000066;">eval</span> <span style="color: #cc0000; font-style: italic;">&lt;&lt;ATT;
  sub $attr {
    my \$self = shift;
    my \$value = shift;
    if( \$value ) {
      my \$old_value = \$self-&gt;{ $attr };
      \$self-&gt;{ $attr } = \$value;
      return \$old_value;
      } else {
        return \$self-&gt;{ $attr };
      }
    }
ATT</span>
<span style="color: #009900;">&#125;</span>
&nbsp;
attr_accessor <span style="color: #ff0000;">'name'</span><span style="color: #339933;">;</span></pre></div></div>

<p>In the code above we have added accessors methods for the attribute &#8216;name&#8217;. We can then set and get the &#8216;name&#8217; attribute as in the following code:</p>

<div class="wp_syntax"><div class="code"><pre class="perl" style="font-family:monospace;"><span style="color: #b1b100;">my</span> <span style="color: #0000ff;">$t</span> <span style="color: #339933;">=</span> <span style="color: #000000; font-weight: bold;">new</span> MyPackage<span style="color: #339933;">;</span>
<span style="color: #0000ff;">$t</span><span style="color: #339933;">-&gt;</span><span style="color: #006600;">name</span><span style="color: #009900;">&#40;</span><span style="color: #ff0000;">'marco'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;"># setter method</span>
<span style="color: #000066;">print</span> <span style="color: #0000ff;">$t</span><span style="color: #339933;">-&gt;</span><span style="color: #006600;">name</span> <span style="color: #666666; font-style: italic;"># this will get and print 'marco'</span></pre></div></div>

<p>Enjoy!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.xterm.it/blog/2009/02/adding-attribute-accessors-to-a-perl-class-rubifying-perl/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>London, the Perl city</title>
		<link>http://www.xterm.it/blog/2009/01/london-the-perl-city/</link>
		<comments>http://www.xterm.it/blog/2009/01/london-the-perl-city/#comments</comments>
		<pubDate>Sat, 31 Jan 2009 22:47:35 +0000</pubDate>
		<dc:creator>marco</dc:creator>
				<category><![CDATA[perl]]></category>

		<guid isPermaLink="false">http://www.xterm.it/blog/?p=54</guid>
		<description><![CDATA[If you are a Perl developer (or just passionate about this language), then London is definitely the city to live in The Perl community in the city is quite active, as you can see from the number of free events available every couple of months. ]]></description>
			<content:encoded><![CDATA[<p>If you are a Perl developer (or just passionate about this language), then London is definitely the city to live in. The Perl community in the city is quite active, as you can see from the number of free events available every couple of months. Last November I attended the London Perl Workshop, where a former colleague from Yahoo was giving some talks about <a href="http://www.iinteractive.com/moose/">Moose</a>. The next month, February 19th, I will attend the <a title="London.pm technical talk" href="http://londonpmtech.appspot.com/">London.pm technical meeting</a> where, guess what, <a title="Moose a postmodern object system" href="http://www.iinteractive.com/moose/">Moose</a> will be the star again. The event will take place at the BBC&#8217;s offices near White City from 7pm to 9pm. If you are in town and you want to join, make sure to register as places are limited.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.xterm.it/blog/2009/01/london-the-perl-city/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The power of the press</title>
		<link>http://www.xterm.it/blog/2009/01/the-power-of-press/</link>
		<comments>http://www.xterm.it/blog/2009/01/the-power-of-press/#comments</comments>
		<pubDate>Sat, 24 Jan 2009 21:03:56 +0000</pubDate>
		<dc:creator>marco</dc:creator>
				<category><![CDATA[miscellaneous]]></category>
		<category><![CDATA[fun]]></category>

		<guid isPermaLink="false">http://www.xterm.it/blog/?p=37</guid>
		<description><![CDATA[Bored at work   Try this out: O'Reilly Maker I gave it a try and this is the result:  ]]></description>
			<content:encoded><![CDATA[<p>Bored at work? Try this out: <a title="O'Reilly Maker" href="http://www.oreillymaker.com/" target="_blank">O&#8217;Reilly Maker.</a> This web app allows you to create your own customized O&#8217;Reilly cover.<br />
I gave it a try and this is the result:<img src="file:///Users/marco/Desktop/huge-1.jpg" alt="" /></p>
<p><img class="alignnone" title="OReilly book cover" src="http://capture.heartrails.com/huge?http://www.oreillymaker.com/plain/22954/microsoft-marvels/" alt="" width="448" height="336" /></p>
<p><img src="file:///Users/marco/Desktop/huge-1.jpg" alt="" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.xterm.it/blog/2009/01/the-power-of-press/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Post Summarizer Wordpress plugin</title>
		<link>http://www.xterm.it/blog/2009/01/post-summarizer-wordpress-plugin/</link>
		<comments>http://www.xterm.it/blog/2009/01/post-summarizer-wordpress-plugin/#comments</comments>
		<pubDate>Sat, 03 Jan 2009 17:09:52 +0000</pubDate>
		<dc:creator>marco</dc:creator>
				<category><![CDATA[downloads]]></category>
		<category><![CDATA[open source]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[summarization]]></category>

		<guid isPermaLink="false">http://www.xterm.it/blog/?p=24</guid>
		<description><![CDATA[The plugin is now hosted in the official Wordpress plugin directory and can be downloaded directly from its page. ]]></description>
			<content:encoded><![CDATA[<p><strong><span style="color: #ff0000;">UPDATE</span></strong>. The plugin is now hosted in the official Wordpress plugin directory and can be downloaded directly from <a href="http://wordpress.org/extend/plugins/post-summarizer/">its page</a>.</p>
<p>In my <a href="http://www.xterm.it/blog/2008/12/incremental-personalized-summarization-with-novelty-detection/">previous post</a> I talked about the work I carried out for my MSc research project. Here is the Wordpress plugin that implements a simplified version of the summarization system described there.</p>
<p>This plugin creates an automatic excerpt of a post when it is saved or published. The excerpt created is a coherent piece of text containing the most important sentences of the post.<br />
After installing this plugin, every time you write a post and press the <em>save</em> or <em>publish</em> button an excpert is created for that post and stored in the database. This plugin is useful also if you don&#8217;t use excerpts in your blog: it&#8217;s always useful to have a summary of your post available just to remind yourself what the post is about (it works very well with old and long posts!).<br />
Statistical natural language techniques are used to extract the most important sentences from a document. It&#8217;s straightforward to tweak the plugin to give more importance to certain features in your text.<br />
The code of the plugin has been optimized for extensiblity in order to make it easy for contributor developers to implement a summarizer in their own language. At the moment only an English language summarizer is available, and an Italian one is on its way.<br />
After activating the plugin here are simple steps that you might want to follow in order to have a nice excerpt to use in your blog:</p>
<p>1. Write your post<br />
2. Press the <em>save</em> or <em>publish</em> button<br />
3. An excerpt will be created. Now you can review it, modify it and save it as many times as needed<br />
4. If you want the summarizer to create an excerpt again delete the existing one and press <em>save</em> or <em>publish</em></p>
<p>Note that the plugin creates automatically an excerpt for a post <strong>only if there isn&#8217;t already an excerpt for that post.</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://www.xterm.it/blog/2009/01/post-summarizer-wordpress-plugin/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
