<?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>Riding The Breeze &#187; hpatoio</title>
	<atom:link href="http://www.iliveinperego.com/author/admin/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.iliveinperego.com</link>
	<description>Yes !</description>
	<lastBuildDate>Fri, 12 Feb 2010 09:46:21 +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>SVN External with different username</title>
		<link>http://www.iliveinperego.com/2009/12/svn-external-with-different-username/</link>
		<comments>http://www.iliveinperego.com/2009/12/svn-external-with-different-username/#comments</comments>
		<pubDate>Tue, 29 Dec 2009 16:34:33 +0000</pubDate>
		<dc:creator>hpatoio</dc:creator>
				<category><![CDATA[Computer]]></category>

		<guid isPermaLink="false">http://www.iliveinperego.com/?p=262</guid>
		<description><![CDATA[Today I had to add and SVN external project to my wordpress based project, nothing strange but the fact that the external project (NextGen Gallery) is hosted on Google Code and the authentication is different from my main repository.
After a bit of search I&#039;ve found that you can specify the user for external resource by [...]]]></description>
			<content:encoded><![CDATA[<p>Today I had to add and SVN external project to my wordpress based project, nothing strange but the fact that the external project (<a title="NextGen Gallery on GoogleCode" href="http://code.google.com/p/nextgen-gallery/"><em>NextGen Gallery</em></a>) is hosted on <em>Google Code</em> and the authentication is different from my main repository.</p>
<p>After a bit of search I&#039;ve found that you can specify the user for external resource by adding it before the domain with a @ so, for me the sintax was:</p>
<blockquote><p>nextgen-gallery https://<strong>simone.fumagalli</strong>@nextgen-gallery.googlecode.com/svn/trunk/</p></blockquote>
<p>Once you set up the SVN property give an update to the working folder and Eclipse will ask for the password.</p>
<div id="attachment_270" class="wp-caption aligncenter" style="width: 879px"><img class="size-full wp-image-270" title="SVN External with a different username in Eclipse" src="http://www.iliveinperego.com/wp-content/uploads/2009/12/svn-external.jpg" alt="SVN External with a different username in Eclipse" width="869" height="834" /><p class="wp-caption-text">SVN External with a different username in Eclipse</p></div>
]]></content:encoded>
			<wfw:commentRss>http://www.iliveinperego.com/2009/12/svn-external-with-different-username/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>An illustrated guide to eight ways to kill an idea</title>
		<link>http://www.iliveinperego.com/2009/12/an-illustrated-guide-to-eight-ways-to-kill-an-idea/</link>
		<comments>http://www.iliveinperego.com/2009/12/an-illustrated-guide-to-eight-ways-to-kill-an-idea/#comments</comments>
		<pubDate>Sat, 19 Dec 2009 09:08:03 +0000</pubDate>
		<dc:creator>hpatoio</dc:creator>
				<category><![CDATA[Computer]]></category>

		<guid isPermaLink="false">http://www.iliveinperego.com/?p=256</guid>
		<description><![CDATA[
]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;">
<div id="attachment_257" class="wp-caption aligncenter" style="width: 610px"><img class="size-full wp-image-257 " title="An illustrated guide to eight ways to kill an idea" src="http://www.iliveinperego.com/wp-content/uploads/2009/12/ideia.jpg" alt="An illustrated guide to eight ways to kill an idea" width="600" height="1680" /><p class="wp-caption-text">So, tell me, who kills good ideas ?</p></div>
]]></content:encoded>
			<wfw:commentRss>http://www.iliveinperego.com/2009/12/an-illustrated-guide-to-eight-ways-to-kill-an-idea/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Monday first in MovableType calendar</title>
		<link>http://www.iliveinperego.com/2009/02/monday-first-in-movabletype-calendar/</link>
		<comments>http://www.iliveinperego.com/2009/02/monday-first-in-movabletype-calendar/#comments</comments>
		<pubDate>Sun, 01 Feb 2009 22:24:28 +0000</pubDate>
		<dc:creator>hpatoio</dc:creator>
				<category><![CDATA[MovableType]]></category>

		<guid isPermaLink="false">http://www.iliveinperego.com/?p=218</guid>
		<description><![CDATA[When you display a calendar in Movabletype using tags from Calendar&#039;s set you get a calendar with Sunday as first day of the week.
In many countries (like Italy) weeks start on Monday, so, I needed to change this beahvior. I thought I could change something in the &#034;Settings&#034; panel or in the Config file to [...]]]></description>
			<content:encoded><![CDATA[<p>When you display a calendar in Movabletype using tags from Calendar&#039;s set you get a calendar with Sunday as first day of the week.</p>
<p>In many countries (like Italy) weeks start on Monday, so, I needed to change this beahvior. I thought I could change something in the &#034;Settings&#034; panel or in the Config file to achive this but I was wrong !</p>
<p>After a short searching I realized that I wasn&#039;t the only one with this problem, and I&#039;ve also found this <a title="See the solution." href="http://forums.sixapart.com/lofiversion/index.php/t4095.html">solution</a> that works by shifting by one the day returned by <em>wday_from_ts</em>.</p>
<p>At the beginning everything seemed to works fine but I immediately realized that this hack effected also the result of tags connected to a date like <em>&lt;$mt:EntryDate$&gt;.</em> Basically instead of getting <em><strong>Sunday</strong> February 1th 2009</em> I was getting <em><strong>Saturday</strong> February 1th 2009</em>, as you can imagine, this is quite a big problem, especially for a blog where date matters.</p>
<p>I started to look for another way to solve the problem and I realized that the only possibility was modify the function that handle the calendar tags.</p>
<h3>The Solution</h3>
<p>Open <em>/lib/MT/Template/ContextHandlers.pm </em>and modify these 2 lines from</p>
<p><code>my $pad_start = wday_from_ts($y, $m, 1);<br />
my $pad_end = 6 - wday_from_ts($y, $m, $days_in_month);</code></p>
<p>to</p>
<p><code>my $pad_start_tmp = wday_from_ts($y, $m, 1);<br />
my $pad_start = ($pad_start_tmp == 0) ? 6 : $pad_start_tmp - 1;<br />
my $pad_end = wday_from_ts($y, $m, $days_in_month) + 1;</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.iliveinperego.com/2009/02/monday-first-in-movabletype-calendar/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Custom thumbnails for NGG galleries</title>
		<link>http://www.iliveinperego.com/2009/01/custom-thumbnails-for-ngg-galleries/</link>
		<comments>http://www.iliveinperego.com/2009/01/custom-thumbnails-for-ngg-galleries/#comments</comments>
		<pubDate>Fri, 09 Jan 2009 22:23:43 +0000</pubDate>
		<dc:creator>hpatoio</dc:creator>
				<category><![CDATA[Computer]]></category>
		<category><![CDATA[WP - Plugins]]></category>

		<guid isPermaLink="false">http://www.iliveinperego.com/?p=195</guid>
		<description><![CDATA[[NB] This feature will be available in NGG 1.2 You can already test it by checking out the trunck version from here
This is a small extension for NextGen Gallery, it allow you to specify which area NGG must use to generate the the thumbnail.
Quite often the thumbnails generated by NGG do not show the &#034;right&#034; [...]]]></description>
			<content:encoded><![CDATA[<p><strong>[NB]</strong> <em>This feature will be available in NGG 1.2 You can already test it by checking out the trunck version from <a title="NGG SVN repository" href="http://code.google.com/p/nextgen-gallery/source/checkout">here</a></em></p>
<p>This is a small extension for NextGen Gallery, it allow you to specify which area NGG must use to generate the the thumbnail.</p>
<p>Quite often the thumbnails generated by NGG do not show the &#034;right&#034; part of the picture, this happen especially when you have a gallery with people, where you want to show in the thumb the face and not the belly.</p>
<h3>Demo</h3>
<p><a title="Demo galleries" href="http://www.iliveinperego.com/ngg-custom-thumbnail-test-gallery/">Have a look here</a> where you can see two galleries (same pictures) the first with the standard and the second with custom thumbnails.</p>
<h3>Installation</h3>
<p>First unpack the archive to the NGG root directory, then open <strong><em>manage-images.php</em></strong> and modify line 338 from</p>
<p><code>&lt;img class="thumb" src="&lt;?php echo $picture-&gt;thumbURL; ?&gt;" &lt;?php echo $thumbsize ?&gt; /&gt;</code></p>
<p>to</p>
<p><code>&lt;img class="thumb" id="thumb&lt;?php echo $pid ?&gt;" src="&lt;?php echo $picture-&gt;thumbURL; ?&gt;" &lt;?php echo $thumbsize ?&gt; /&gt;</code></p>
<p>and add this line at the end of <strong><em>nggallery.php</em></strong></p>
<p><code>include_once (dirname (__FILE__)."/admin/custom_thumbnails.php");</code></p>
<h3>Download</h3>
<p>Here the package for the version 0.2 it ONLY works with WP 2.7 and NGG 1.0</p>
<p><a title="Download version 0.1" href="http://www.iliveinperego.com/ngg_custom_thumbnail_02.zip">Download Version 0.2</a></p>
<h3>Screenshots</h3>
<div id="attachment_200" class="wp-caption alignleft" style="width: 310px"><a href="http://www.iliveinperego.com/wp-content/uploads/2009/01/screenshot1.png"><img class="size-medium wp-image-200" title="List with &quot;Edit thumbnail&quot; action" src="http://www.iliveinperego.com/wp-content/uploads/2009/01/screenshot1-300x132.png" alt="List with &quot;Edit thumbnail&quot; action" width="300" height="132" /></a><p class="wp-caption-text">List with &quot;Edit thumbnail&quot; action</p></div>
<div id="attachment_201" class="wp-caption alignleft" style="width: 310px"><a href="http://www.iliveinperego.com/wp-content/uploads/2009/01/screenshot3.png"><img class="size-medium wp-image-201" title="Popup for area selection" src="http://www.iliveinperego.com/wp-content/uploads/2009/01/screenshot3-300x132.png" alt="Popup for area selection" width="300" height="132" /></a><p class="wp-caption-text">Popup for area selection</p></div>
]]></content:encoded>
			<wfw:commentRss>http://www.iliveinperego.com/2009/01/custom-thumbnails-for-ngg-galleries/feed/</wfw:commentRss>
		<slash:comments>63</slash:comments>
		</item>
		<item>
		<title>Snow</title>
		<link>http://www.iliveinperego.com/2009/01/snow/</link>
		<comments>http://www.iliveinperego.com/2009/01/snow/#comments</comments>
		<pubDate>Mon, 05 Jan 2009 16:41:31 +0000</pubDate>
		<dc:creator>hpatoio</dc:creator>
				<category><![CDATA[life]]></category>

		<guid isPermaLink="false">http://www.iliveinperego.com/?p=186</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[<div id="attachment_187" class="wp-caption aligncenter" style="width: 614px"><img class="size-full wp-image-187" title="Perego under the snow" src="http://www.iliveinperego.com/wp-content/uploads/2009/01/snow_perego.jpg" alt="Perego under the snow" width="604" height="452" /><p class="wp-caption-text">Perego under the snow</p></div>
]]></content:encoded>
			<wfw:commentRss>http://www.iliveinperego.com/2009/01/snow/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Get back Insert media button in WPMU</title>
		<link>http://www.iliveinperego.com/2008/11/insert-media-button-wpmu-plugin/</link>
		<comments>http://www.iliveinperego.com/2008/11/insert-media-button-wpmu-plugin/#comments</comments>
		<pubDate>Tue, 04 Nov 2008 19:58:14 +0000</pubDate>
		<dc:creator>hpatoio</dc:creator>
				<category><![CDATA[Computer]]></category>
		<category><![CDATA[WP - Plugins]]></category>

		<guid isPermaLink="false">http://www.iliveinperego.com/?p=127</guid>
		<description><![CDATA[This is a really simple plugin I always add to my default installation of WPMU. Nowadays embedded media are really commons in blog&#039;s post and all my customers were asking for it.
I found the plugin &#034;Allow Embedded Videos&#034; (http://wpmudev.org/project/Allow-Embedded-Videos) but still the button in the editor didn&#039;t show up.
Download it here 
]]></description>
			<content:encoded><![CDATA[<p>This is a really simple plugin I always add to my default installation of WPMU. Nowadays embedded media are really commons in blog&#039;s post and all my customers were asking for it.</p>
<p>I found the plugin &#034;Allow Embedded Videos&#034; (http://wpmudev.org/project/Allow-Embedded-Videos) but still the button in the editor didn&#039;t show up.</p>
<p><a title="Download the plugin" href="http://www.iliveinperego.com/wp-content/uploads/media_button.php-source">Download it here </a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.iliveinperego.com/2008/11/insert-media-button-wpmu-plugin/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>
