<?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>Silvio Porcellana</title>
	<atom:link href="http://www.silvioporcellana.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.silvioporcellana.com</link>
	<description>Alchemist wannabe</description>
	<lastBuildDate>Tue, 21 Dec 2010 10:27:25 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.4</generator>
		<item>
		<title>$(document).ready vs. $(window).load in jQuery</title>
		<link>http://www.silvioporcellana.com/document-ready-vs-window-load/</link>
		<comments>http://www.silvioporcellana.com/document-ready-vs-window-load/#comments</comments>
		<pubDate>Tue, 21 Dec 2010 10:27:12 +0000</pubDate>
		<dc:creator>silvio</dc:creator>
				<category><![CDATA[Work]]></category>
		<category><![CDATA[jquery]]></category>

		<guid isPermaLink="false">http://www.silvioporcellana.com/?p=115</guid>
		<description><![CDATA[Piccolo tutorial su jQuery. jQuery offre due metodi per eseguire codice JavaScript : $(document).ready e $(window).load La differenza sostanziale è che se io faccio: $(document).ready(function() { &#160;&#160;&#160;&#160;// viene eseguito quando il "documento" è pronto e il DOM è caricato &#160;&#160;&#160;&#160;alert("document ready"); }); il codice viene eseguito quando il DOM è pronto ma prima che le [...]]]></description>
			<content:encoded><![CDATA[<p>Piccolo tutorial su jQuery.</p>
<p>jQuery offre due metodi per eseguire codice JavaScript : <strong>$(document).ready</strong> e <strong>$(window).load</strong></p>
<p>La differenza sostanziale è che se io faccio:</p>
<p><code>$(document).ready(function() {<br />
&nbsp;&nbsp;&nbsp;&nbsp;// viene eseguito quando il "documento" è pronto e il DOM è caricato<br />
&nbsp;&nbsp;&nbsp;&nbsp;alert("document ready");<br />
});</code></p>
<p>il codice viene eseguito quando il DOM è pronto ma <strong>prima</strong> che le immagini ed altri elementi grafici siano caricati</p>
<p>Se invece si fa:</p>
<p><code>$(window).load(function() {<br />
&nbsp;&nbsp;&nbsp;&nbsp;// questo viene eseguito quando tutti gli elementi della pagina sono caricati<br />
&nbsp;&nbsp;&nbsp;&nbsp;alert("tutti gli elementi sono stati caricati");<br />
});</code></p>
<p>il codice e le funzioni jQuery (in questo caso un semplice alert) vengono eseguiti quando <strong>tutti gli elementi</strong> (anche quelli grafici) sono caricati.</p>
<p>Questa differenza può sembrare piccola ma &#8211; sempre per il mio plugin &#8211; ho scoperto ad esempio che i browser basati su webkit (Chrome  e Safari) &#8220;sanno&#8221; la dimensione di un&#8217;immagine solo dopo che questa è stata caricata (Firefox e IE invece la conoscono appena il DOM è caricato) e dunque una soluzione per chi ha bisogno di conoscere le dimensioni di un elemento grafico è usare <em>$(window).load()</em> visto che solo in quel momento può accedere a <em>height()</em> e <em>width()</em> delle immagini contenute nel documento.</p>
<p>Beh, HTH qualcuno&#8230; ;)</p>
]]></content:encoded>
			<wfw:commentRss>http://www.silvioporcellana.com/document-ready-vs-window-load/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Usare le API di Flickr con jQuery per avere una lista JSON delle foto di un utente</title>
		<link>http://www.silvioporcellana.com/usare-le-api-di-flickr-con-jquery-per-avere-una-lista-json-delle-foto-di-un-utente/</link>
		<comments>http://www.silvioporcellana.com/usare-le-api-di-flickr-con-jquery-per-avere-una-lista-json-delle-foto-di-un-utente/#comments</comments>
		<pubDate>Thu, 16 Dec 2010 13:31:10 +0000</pubDate>
		<dc:creator>silvio</dc:creator>
				<category><![CDATA[Work]]></category>

		<guid isPermaLink="false">http://www.silvioporcellana.com/?p=110</guid>
		<description><![CDATA[Il titolo di questo post, in realtà, dice praticamente giù tutto: sempre a causa della mania che mi è presa per il mio plugin jQuery mi sono messo a studiare un po&#8217; le API di Flickr (l&#8217;idea è consentire all&#8217;utilizzatore del plugin di inserire solo il suo user-id a avere la galleria già bell&#8217;e pronta) [...]]]></description>
			<content:encoded><![CDATA[<p>Il titolo di questo post, in realtà, dice praticamente giù tutto: sempre a causa della mania che mi è presa per il mio plugin jQuery mi sono messo a studiare un po&#8217; le API di Flickr (l&#8217;idea è consentire all&#8217;utilizzatore del plugin di inserire solo il suo user-id a avere la galleria già bell&#8217;e pronta)</p>
<p>Dopo qualche ricerca e un po&#8217; di prove, ecco il codice che dovrebbe assicurare un felice funzionamento del tutto &#8211; ovvero &#8220;come usare le API di Flickr con jQuery per avere una lista in JSON delle foto di un utente e vivere felici&#8221;</p>
<p><code>$.getJSON("http://api.flickr.com/services/feeds/photos_public.gne?id=FLICKRUSERID=en-us&amp;format=json&amp;jsoncallback=?", function(data) {<br />
$.each(data.items, function(i,item){<br />
// qui abbiamo un oggetto "item" che contiene tutto quello che ci serve, ad esempio:<br />
// - item.media.m = la URL della versione di dimensioni "medie" della foto<br />
// - item.title = il titolo<br />
// .....<br />
}<br />
});</code></p>
<p>Chiaramente al posto di &#8220;FLICKRUSERID&#8221; dovrete mettere lo user-id dell&#8217;utente di cui volete mostrare le foto (il mio è <a href="http://www.flickr.com/photos/silvioporcellana" target="_blank">56735045@N04</a>), si può trovare ad esempio accedendo al nostro &#8220;photostream&#8221; e poi cliccando su &#8220;feed&#8221; in basso (che poi è quello che viene processato dal mio script, solo in formato JSON invece che RSS)</p>
<p>Come al solito, spero che la cosa possa essere un po&#8217; utile, e se avete bisogno fate un fischio&#8230; ;)</p>
]]></content:encoded>
			<wfw:commentRss>http://www.silvioporcellana.com/usare-le-api-di-flickr-con-jquery-per-avere-una-lista-json-delle-foto-di-un-utente/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Come usare jQuery con WordPress &#8211; senza impazzire</title>
		<link>http://www.silvioporcellana.com/come-usare-jquery-con-wordpress-senza-impazzire/</link>
		<comments>http://www.silvioporcellana.com/come-usare-jquery-con-wordpress-senza-impazzire/#comments</comments>
		<pubDate>Thu, 09 Dec 2010 11:08:37 +0000</pubDate>
		<dc:creator>silvio</dc:creator>
				<category><![CDATA[Work]]></category>

		<guid isPermaLink="false">http://www.silvioporcellana.com/?p=101</guid>
		<description><![CDATA[A causa della mania che mi è venuta per il mio primo plugin jQuery ho dovuto imparare un po&#8217; di cosette per poterlo mostrare in un post su WordPress &#8211; visto che mica è così semplice e diretto usare jQuery su questa piattaforma! Partendo da questo articolo (in inglese) ecco allora alcuni suggerimenti per far [...]]]></description>
			<content:encoded><![CDATA[<p>A causa della mania che mi è venuta per il mio <a href="http://www.silvioporcellana.com/my-first-jquery-plugin-puzzlecarousel/" target="_blank">primo plugin jQuery</a> ho dovuto imparare un po&#8217; di cosette per poterlo mostrare in un post su WordPress &#8211; visto che mica è così semplice e diretto usare jQuery su questa piattaforma!</p>
<p>Partendo da <a href="http://www.ericmmartin.com/5-tips-for-using-jquery-with-wordpress/" target="_blank">questo articolo</a> (in inglese) ecco allora alcuni suggerimenti per far funzionare jQuery con WordPress. Premettiamo che quando parlo di &#8220;funzioni da inserire/cambiare&#8221; mi riferisco a funzioni presenti, di solito, nel file <em>functions.php</em>, accessibile da &#8220;Appearance&#8221; &gt; &#8220;Editor&#8221;, possibilmente &#8220;appese&#8221; alle funzioni avviate all&#8217;inizio con un</p>
<p><code>add_action('init', 'my_jquery_init');</code></p>
<p>creando dunque una funzione &#8220;my_jquery_init&#8221; dove inserire tutto il codice di cui parleremo. Questa, ad esempio, è la mia (codice inserito per l&#8217;appunto in <em>functions.php</em>):</p>
<p><code>function&nbsp;my_jquery_init()&nbsp;{<br />
&nbsp;&nbsp;&nbsp;&nbsp;if&nbsp;(!is_admin())&nbsp;{<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//&nbsp;comment&nbsp;out&nbsp;the&nbsp;next&nbsp;two&nbsp;lines&nbsp;to&nbsp;load&nbsp;the&nbsp;local&nbsp;copy&nbsp;of&nbsp;jQuery<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;wp_deregister_script('jquery');<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;wp_register_script('jquery',&nbsp;'https://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js',&nbsp;false,&nbsp;'1.4.4');<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;wp_enqueue_script('jquery');<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//&nbsp;load&nbsp;a&nbsp;JS&nbsp;file&nbsp;from&nbsp;my&nbsp;theme:&nbsp;js/theme.js<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;wp_enqueue_script('puzzleCarousel',&nbsp;'http://www.mercurydrops.com/js/jquery.puzzleCarousel-0.3.js',&nbsp;array('jquery'),&nbsp;'1.0');<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;wp_enqueue_script('puzzleCarouselRun',&nbsp;'/js/puzzleCarousel.js',&nbsp;array('jquery'),&nbsp;'1.0');<br />
&nbsp;&nbsp;&nbsp;&nbsp;}<br />
}<br />
add_action('init',&nbsp;'my_jquery_init');<br />
</code></p>
<p><strong>1. Usare WP_ENQUEUE_SCRIPT</strong></p>
<p>Solitamente jQuery si include nell&#8217;HEAD di una pagina HTML con una riga tipo:</p>
<p><code>&lt;script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js" type="text/javascript"&gt;&lt;/script&gt;</code></p>
<p>con WordPress NO! Bisogna usare la funzione:</p>
<p><code>wp_enqueue_script('jquery');</code></p>
<p>Questo è il modo per caricare *tutte* le librerie &#8220;addizionali&#8221; in WordPress &#8211; prima fra tutte il nostro plugin, che nel mio caso viene caricato così:</p>
<p><code>wp_enqueue_script('puzzleCarousel', 'http://www.mercurydrops.com/js/jquery.puzzleCarousel-0.3.js', array('jquery'), '1.0');</code></p>
<p><strong>2. Disabilitare la libreria jQuery di default e caricarla da Google</strong></p>
<p>WordPress arriva già con la sua versione di jQuery preinstallato (e la riga di codice appena sopra caricherà quella versione). Se invece volete la vostra versione di jQuery, magari caricandola da <a href="http://code.google.com/apis/ajaxlibs/" target="_blank">Google</a>, dovete fare così:</p>
<p><code>wp_deregister_script('jquery');<br />
wp_register_script('jquery', 'https://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js', false, '1.4.4');</code></p>
<p>Esiste anche un plugin che ci aiuta a caricare le più diffuse librerie direttamente da Google: <a href="http://wordpress.org/extend/plugins/use-google-libraries/" target="_blank">Use Google Libraries</a></p>
<p><strong>3. Convenzioni per scrivere un plugin jQuery che funzioni anche su WordPress</strong></p>
<p>Ovviamente se tutto quanto scritto fino ad ora serve per *caricare* jQuery ed eventualmente dei plugin, se poi il plugin scelto va in conflitto con il resto di WordPress succede un casino. Il problema principale sta nell&#8217;uso della <strong>variabile $</strong> &#8211; che i jQuery-sti all&#8217;ascolto conoscono bene.</p>
<p>In primo lugo c&#8217;è da dire che la versione di jQuery pre-installata su WordPress chiama la funzione</p>
<p><code>jQuery.noConflict();</code></p>
<p>(maggiori info su questa funzione <a href="http://api.jquery.com/jQuery.noConflict/" target="_blank">qua</a>) e dunque se noi vogliamo caricare la nostra versione dovremmo chiamarla da qualche parte.</p>
<p>Infine, come regola generale, non bisognerebbe utilizzare la <strong>variabile $</strong>, a meno che non se ne utilizzi uno &#8220;<a href="http://docs.jquery.com/Using_jQuery_with_Other_Libraries#Referencing_Magic_-_Shortcuts_for_jQuery" target="_blank">shortcut</a>&#8221; ad esempio così (che è quello che faccio nel mio plugin):</p>
<p><code>(function($){<br />
&nbsp;&nbsp;&nbsp;&nbsp;// codice codice codice<br />
&nbsp;&nbsp;&nbsp;&nbsp;// ... e ancora codice codice codice<br />
})(jQuery);</code></p>
<p><strong>Conclusioni</strong></p>
<p>Insomma, è un po&#8217; un casino ma <a href="http://www.silvioporcellana.com/my-first-jquery-plugin-puzzlecarousel/" target="_blank">ne vale la pena</a>. Se poi proprio non ce la fate, lasciate un commento o contattatemi e &#8211; se sono in grado e ne ho il tempo &#8211; potrei darvi una mano.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.silvioporcellana.com/come-usare-jquery-con-wordpress-senza-impazzire/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>My first jQuery plugin! puzzleCarousel</title>
		<link>http://www.silvioporcellana.com/my-first-jquery-plugin-puzzlecarousel/</link>
		<comments>http://www.silvioporcellana.com/my-first-jquery-plugin-puzzlecarousel/#comments</comments>
		<pubDate>Fri, 26 Nov 2010 09:56:41 +0000</pubDate>
		<dc:creator>silvio</dc:creator>
				<category><![CDATA[Work]]></category>

		<guid isPermaLink="false">http://www.silvioporcellana.com/?p=39</guid>
		<description><![CDATA[It all started as a simple idea for a portfolio: I wanted something cool and slick, quite original and easy to adapt. I then started looking for jQuery plugins that would suit my needs and please my eye &#8211; and, to my surprise, I was not able to find a plugin for creating a gallery [...]]]></description>
			<content:encoded><![CDATA[<p>It all started as a simple idea for a portfolio: I wanted something cool and slick, quite original and easy to adapt. I then started looking for jQuery plugins that would suit my needs and please my eye &#8211; and, to my surprise, I was not able to find a plugin for creating a <strong>gallery with a tiled/puzzle transition effect</strong>.</p>
<p>There was only one solution, at that point: roll my own. Bear in mind that I was not a huge fan of jQuery and I had used it it sparingly for a few projects here and there &#8211; but as soon as I started thinking about all the possibilities that such a library offered me, I could not take it away from my mind.</p>
<p>And so my first jQuery plugin was born: <strong>puzzleCarousel</strong>! If you want to jump straight to the code, <strong><a href="https://github.com/picouli/jQuery-puzzleCarousel" target="_blank">check out the github repository</a></strong>. If you want to learn the beauty of this plugin ;) just click on the current image, on any preview or use the arrows keys to run through the gallery:</p>
<div id="carousel1" style="margin-top: 30px;">
<ul>
<li><img title="Jerusalem - you can add a caption as title..." src="/images/puzzleCarousel/jeru1.jpg" alt="" /></li>
<li><img src="/images/puzzleCarousel/rome1.jpg" alt="" />&#8230;or as text in the list item &#8211; this way you can also add some <a href="http://en.wikipedia.org/wiki/Rome">links to the wonderful Rome</a></li>
<li><img src="/images/puzzleCarousel/paris1.jpg" alt="" /></li>
<li><img title="Cairo - some fresh air!" src="/images/puzzleCarousel/cairo1.jpg" alt="" /></li>
<li><img src="/images/puzzleCarousel/london1.jpg" alt="" />Lond<span style="color: red;">On</span> &lt;- HTML! :)</li>
</ul>
</div>
<p>As you can see the plugin is quite simple (and that&#8217;s the first thing I like about it): it&#8217;s a slideshow where the transition is done tiling the image and changing each tile.</p>
<p><b>Easy to use</b><br />
The second thing I like about this plugin is its ease of use: first of all you need to load the jQuery library &#8211; we are using Google so you need this piece of code in your <i>&lt;head&gt;</i></p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="html4strict" style="font-family:monospace;"><span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">script</span> <span style="color: #000066;">type</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">'text/javascript'</span> <span style="color: #000066;">src</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">'https://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js?ver=1.4.4'</span>&gt;&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">script</span>&gt;</span></pre></td></tr></table></div>

<p>and then you need to <a href="https://github.com/picouli/jQuery-puzzleCarousel" target="_blank">download the plugin</a> and load it in your page:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="html4strict" style="font-family:monospace;"><span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">script</span> <span style="color: #000066;">type</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">'text/javascript'</span> <span style="color: #000066;">src</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">'/js/jquery.puzzleCarousel-0.3.js'</span>&gt;&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">script</span>&gt;</span></pre></td></tr></table></div>

<p>At this point all you need is a list of images wrapped in a <i>&lt;div&gt;</i> &#8211; so basically a piece of HTML like this:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
</pre></td><td class="code"><pre class="html4strict" style="font-family:monospace;"><span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">div</span> <span style="color: #000066;">id</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;carousel&quot;</span> <span style="color: #000066;">style</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;margin-top: 30px;&quot;</span>&gt;</span>
<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">ul</span>&gt;</span>
	<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">li</span>&gt;&lt;<span style="color: #000000; font-weight: bold;">img</span> <span style="color: #000066;">title</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;Jerusalem - you can add a caption as title...&quot;</span> <span style="color: #000066;">src</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;/images/puzzleCarousel/jeru1.jpg&quot;</span> <span style="color: #000066;">alt</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;&quot;</span> <span style="color: #66cc66;">/</span>&gt;&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">li</span>&gt;</span>
	<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">li</span>&gt;&lt;<span style="color: #000000; font-weight: bold;">img</span> <span style="color: #000066;">src</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;/images/puzzleCarousel/rome1.jpg&quot;</span> <span style="color: #000066;">alt</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;&quot;</span> <span style="color: #66cc66;">/</span>&gt;</span>...or as text in the list item - this way you can also add some <span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">a</span> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;http://en.wikipedia.org/wiki/Rome&quot;</span>&gt;</span>links to the wonderful Rome<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">a</span>&gt;&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">li</span>&gt;</span>
	<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">li</span>&gt;&lt;<span style="color: #000000; font-weight: bold;">img</span> <span style="color: #000066;">src</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;/images/puzzleCarousel/paris1.jpg&quot;</span> <span style="color: #000066;">alt</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;&quot;</span> <span style="color: #66cc66;">/</span>&gt;&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">li</span>&gt;</span>
	<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">li</span>&gt;&lt;<span style="color: #000000; font-weight: bold;">img</span> <span style="color: #000066;">title</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;Cairo - some fresh air!&quot;</span> <span style="color: #000066;">src</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;/images/puzzleCarousel/cairo1.jpg&quot;</span> <span style="color: #000066;">alt</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;&quot;</span> <span style="color: #66cc66;">/</span>&gt;&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">li</span>&gt;</span>
	<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">li</span>&gt;&lt;<span style="color: #000000; font-weight: bold;">img</span> <span style="color: #000066;">src</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;/images/puzzleCarousel/london1.jpg&quot;</span> <span style="color: #000066;">alt</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;&quot;</span> <span style="color: #66cc66;">/</span>&gt;</span>Lond<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">span</span> <span style="color: #000066;">style</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;color: red;&quot;</span>&gt;</span>On<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">span</span>&gt;</span> <span style="color: #ddbb00;">&amp;lt;</span>- HTML! :)<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">li</span>&gt;</span>
<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">ul</span>&gt;</span>
<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">div</span>&gt;</span></pre></td></tr></table></div>

<p>and then a tiny bit of JavaScript like this:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
</pre></td><td class="code"><pre class="javascript" style="font-family:monospace;">$<span style="color: #009900;">&#40;</span>window<span style="color: #009900;">&#41;</span>.<span style="color: #660066;">load</span><span style="color: #009900;">&#40;</span><span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
	jQuery<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;#carousel&quot;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">puzzleCarousel</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#123;</span> <span style="color: #3366CC;">'gridColor'</span> <span style="color: #339933;">:</span> <span style="color: #3366CC;">'#372529'</span><span style="color: #339933;">,</span> <span style="color: #3366CC;">'previews'</span> <span style="color: #339933;">:</span> <span style="color: #003366; font-weight: bold;">true</span> <span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></td></tr></table></div>

<p><i>(note that I used <u>$(window).load</u> since WebKit browsers don&#8217;t know image dimensions until the page is fully loaded and the plugin needs the image sizes to work correctly)</i></p>
<p>Anyway, <strong>that&#8217;s it</strong>: with this very simple code you can create your Puzzle Carousel &#8211; no need to know more, no need to create thumbnails by hand (they are &#8220;automagically&#8221; created on the fly), no need to thinker JavaScript/HTML/CSS</p>
<p><strong>Flexibility</strong><br />
Obvviously, I was not happy with the &#8220;basic&#8221; version of the gallery and so I started adding features and variations. What if you wanted tiles to change in a <a href="http://en.wikipedia.org/wiki/Boustrophedon" target="_blank">boustrophedic</a> way, not flashing but rather fading in and without previews? Simple! With the same <i>&lt;div&gt;</i> and <i>&lt;ul&gt;</i> used above just change the JavaScript a little bit:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
</pre></td><td class="code"><pre class="javascript" style="font-family:monospace;">$<span style="color: #009900;">&#40;</span>window<span style="color: #009900;">&#41;</span>.<span style="color: #660066;">load</span><span style="color: #009900;">&#40;</span><span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
	jQuery<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;#carousel&quot;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">puzzleCarousel</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#123;</span> <span style="color: #3366CC;">'gridColor'</span> <span style="color: #339933;">:</span> <span style="color: #3366CC;">'#372529'</span><span style="color: #339933;">,</span> <span style="color: #3366CC;">'transition'</span> <span style="color: #339933;">:</span> <span style="color: #3366CC;">'fadeIn'</span><span style="color: #339933;">,</span> <span style="color: #3366CC;">'transitionPattern'</span> <span style="color: #339933;">:</span> <span style="color: #3366CC;">'boustro'</span><span style="color: #339933;">,</span> <span style="color: #3366CC;">'previews'</span> <span style="color: #339933;">:</span> <span style="color: #003366; font-weight: bold;">false</span> <span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></td></tr></table></div>

<p>and here you are (click on image or <strong>use arrows</strong> to change image):</p>
<div id="carousel2" style="margin-top: 30px;">
<ul>
<li><img title="Jerusalem - you can add a caption as title..." src="/images/puzzleCarousel/jeru1.jpg" alt="" /></li>
<li><img src="/images/puzzleCarousel/rome1.jpg" alt="" />&#8230;or as text in the list item &#8211; this way you can also add some <a href="http://en.wikipedia.org/wiki/Rome">links to the wonderful Rome</a></li>
<li><img src="/images/puzzleCarousel/paris1.jpg" alt="" /></li>
<li><img title="Cairo - some fresh air!" src="/images/puzzleCarousel/cairo1.jpg" alt="" /></li>
<li><img src="/images/puzzleCarousel/london1.jpg" alt="" />Lond<span style="color: red;">On</span> &lt;- HTML! :)</li>
</ul>
</div>
<p><em>By the way, have you noticed that we are showing more than one gallery on the same page? Yeap, this plugin can be <strong>used as many times as you like</strong> on the same page &#8211; more on this in a post I&#8217;ll soon write&#8230;</em></p>
<p><b>Click&#8217;n'flip</b><br />
A few more demos before listing all the properties and settings. This time we will change the tiles with a click of the mouse &#8211; and we can attach to each tile change a callback which receives the tile number and a true/false parameter if we have just changed the last tile. Let&#8217;s see it in action &#8211; just click on the image to &#8220;start&#8221; and then click on any tile to change it (you will see a different transition this time&#8230;).</p>
<p>First of all the code:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
</pre></td><td class="code"><pre class="javascript" style="font-family:monospace;">$<span style="color: #009900;">&#40;</span>window<span style="color: #009900;">&#41;</span>.<span style="color: #660066;">load</span><span style="color: #009900;">&#40;</span><span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
	jQuery<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;#carousel&quot;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">puzzleCarousel</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#123;</span> <span style="color: #3366CC;">'gridColor'</span> <span style="color: #339933;">:</span> <span style="color: #3366CC;">'#372529'</span><span style="color: #339933;">,</span> <span style="color: #3366CC;">'transition'</span> <span style="color: #339933;">:</span> <span style="color: #3366CC;">'slideDown'</span><span style="color: #339933;">,</span> <span style="color: #3366CC;">'transitionPattern'</span> <span style="color: #339933;">:</span> <span style="color: #3366CC;">'click'</span><span style="color: #339933;">,</span> <span style="color: #3366CC;">'previews'</span> <span style="color: #339933;">:</span> <span style="color: #003366; font-weight: bold;">false</span><span style="color: #339933;">,</span> <span style="color: #3366CC;">'transitionCallback'</span> <span style="color: #339933;">:</span> <span style="color: #3366CC;">'tileFlipped'</span> <span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></td></tr></table></div>

<p>and then the carousel itself:</p>
<div id="carousel3" style="margin-top: 30px;">
<ul>
<li><img title="Jerusalem - you can add a caption as title..." src="/images/puzzleCarousel/jeru1.jpg" alt="" /></li>
<li><img src="/images/puzzleCarousel/rome1.jpg" alt="" />&#8230;or as text in the list item &#8211; this way you can also add some <a href="http://en.wikipedia.org/wiki/Rome">links to the wonderful Rome</a></li>
<li><img src="/images/puzzleCarousel/paris1.jpg" alt="" /></li>
<li><img title="Cairo - some fresh air!" src="/images/puzzleCarousel/cairo1.jpg" alt="" /></li>
<li><img src="/images/puzzleCarousel/london1.jpg" alt="" />Lond<span style="color: red;">On</span> &lt;- HTML! :)</li>
</ul>
</div>
<div id="carousel3output" style="color: red; font-weight: bold;">check out this space!</div>
<p>In this case we just created a small JavaScript function, like this:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
</pre></td><td class="code"><pre class="javascript" style="font-family:monospace;"><span style="color: #003366; font-weight: bold;">function</span> tileFlipped<span style="color: #009900;">&#40;</span>tile<span style="color: #339933;">,</span> last<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
	$<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'#carousel3output'</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">html</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'flipped tile: '</span> <span style="color: #339933;">+</span> tile<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #000066; font-weight: bold;">if</span> <span style="color: #009900;">&#40;</span>last<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
		$<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'#carousel3output'</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">html</span><span style="color: #009900;">&#40;</span>$<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'#carousel3output'</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">html</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">+</span> <span style="color: #3366CC;">' - and it was the last one!'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #009900;">&#125;</span>
<span style="color: #009900;">&#125;</span></pre></td></tr></table></div>

<p>which gets called everytime a tile is changed (obviously this works with each transition type, we chose the &#8220;click&#8221; as it seems a bit more useful&#8230;)</p>
<p><b>Presets</b><br />
If you don&#8217;t want to mess with all the settings and config options allowed by this plugin we created for you a few &#8220;presets&#8221; to have some handy transitions ready to roll.. One of the coolest one is &#8220;wave&#8221;</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
</pre></td><td class="code"><pre class="javascript" style="font-family:monospace;">$<span style="color: #009900;">&#40;</span>window<span style="color: #009900;">&#41;</span>.<span style="color: #660066;">load</span><span style="color: #009900;">&#40;</span><span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
	jQuery<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;#carousel&quot;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">puzzleCarousel</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#123;</span> <span style="color: #3366CC;">'preset'</span> <span style="color: #339933;">:</span> <span style="color: #3366CC;">'wave'</span> <span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></td></tr></table></div>

<p>which produces something like:</p>
<div id="carousel4" style="margin-top: 30px;">
<ul>
<li><img title="Jerusalem - you can add a caption as title..." src="/images/puzzleCarousel/jeru1.jpg" alt="" /></li>
<li><img src="/images/puzzleCarousel/rome1.jpg" alt="" />&#8230;or as text in the list item &#8211; this way you can also add some <a href="http://en.wikipedia.org/wiki/Rome">links to the wonderful Rome</a></li>
<li><img src="/images/puzzleCarousel/paris1.jpg" alt="" /></li>
<li><img title="Cairo - some fresh air!" src="/images/puzzleCarousel/cairo1.jpg" alt="" /></li>
<li><img src="/images/puzzleCarousel/london1.jpg" alt="" />Lond<span style="color: red;">On</span> &lt;- HTML! :)</li>
</ul>
</div>
<p>Another nice one is &#8220;blind&#8221;:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
</pre></td><td class="code"><pre class="javascript" style="font-family:monospace;">$<span style="color: #009900;">&#40;</span>window<span style="color: #009900;">&#41;</span>.<span style="color: #660066;">load</span><span style="color: #009900;">&#40;</span><span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
	jQuery<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;#carousel&quot;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">puzzleCarousel</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#123;</span> <span style="color: #3366CC;">'preset'</span> <span style="color: #339933;">:</span> <span style="color: #3366CC;">'blind'</span> <span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></td></tr></table></div>

<p>(always click on image to start animation):</p>
<div id="carousel5" style="margin-top: 30px;">
<ul>
<li><img title="Jerusalem - you can add a caption as title..." src="/images/puzzleCarousel/jeru1.jpg" alt="" /></li>
<li><img src="/images/puzzleCarousel/rome1.jpg" alt="" />&#8230;or as text in the list item &#8211; this way you can also add some <a href="http://en.wikipedia.org/wiki/Rome">links to the wonderful Rome</a></li>
<li><img src="/images/puzzleCarousel/paris1.jpg" alt="" /></li>
<li><img title="Cairo - some fresh air!" src="/images/puzzleCarousel/cairo1.jpg" alt="" /></li>
<li><img src="/images/puzzleCarousel/london1.jpg" alt="" />Lond<span style="color: red;">On</span> &lt;- HTML! :)</li>
</ul>
</div>
<div style="font-size: 20px; font-weight: bold; text-align: center; margin: 12px;"><a href="https://github.com/picouli/jQuery-puzzleCarousel" target="_blank">Get the code (and contribute, if you will) now on GitHub!</a></div>
]]></content:encoded>
			<wfw:commentRss>http://www.silvioporcellana.com/my-first-jquery-plugin-puzzlecarousel/feed/</wfw:commentRss>
		<slash:comments>13</slash:comments>
		</item>
		<item>
		<title>HackerNews submit button: e stamattina me lo sono fatto da solo</title>
		<link>http://www.silvioporcellana.com/hackernews-submit-button-e-stamattina-me-lo-sono-fatto-da-solo/</link>
		<comments>http://www.silvioporcellana.com/hackernews-submit-button-e-stamattina-me-lo-sono-fatto-da-solo/#comments</comments>
		<pubDate>Thu, 11 Nov 2010 12:01:29 +0000</pubDate>
		<dc:creator>silvio</dc:creator>
				<category><![CDATA[Play]]></category>
		<category><![CDATA[Work]]></category>

		<guid isPermaLink="false">http://www.silvioporcellana.com/?p=31</guid>
		<description><![CDATA[Nel mio pressochè perpetuo rimbalzare fra &#8220;inutile&#8221; e &#8220;dilettevole&#8221; stamattina ho notato con disappunto che non esiste un bottone &#8220;ufficiale&#8221; per postare su Hacker News, ma solo un bookmarklet. E allora? E allora me lo sono fatto da solo. Ovviamente come ogni mio creazione è a dir poco spartana ma se serve anche a qualcun [...]]]></description>
			<content:encoded><![CDATA[<p>Nel mio pressochè perpetuo rimbalzare fra &#8220;inutile&#8221; e &#8220;dilettevole&#8221; stamattina ho notato con disappunto che non esiste un bottone &#8220;ufficiale&#8221; per postare su <a href="http://news.ycombinator.com/" target="_blank">Hacker News</a>, ma solo un <a href="http://ycombinator.com/bookmarklet.html" target="_blank">bookmarklet</a>.</p>
<p>E allora?</p>
<p>E allora me lo sono fatto da solo. Ovviamente come ogni mio creazione è a dir poco spartana ma se serve anche a qualcun altro ecco il codice (se non specificate la URL il bottone prova a prenderlo dall&#8217; HTTP_REFERRER, se c&#8217;è &#8211; per il titolo o lo specificate o nulla, mica gli IFRAME possono <a href="http://softwareas.com/cross-domain-communication-with-iframes" target="_blank">fare quello che gli pare eh</a>!):<br />
<code>&lt;iframe id="hackernews-iframe" frameborder="0" allowtransparency="true" scrolling="no" width="65" height="65" src="http://www.html5today.it/plugins/hackernews-button.php?href=URL&amp;amp;title=TITOLO"&gt;&lt;/iframe&gt;</code><br />
che dovrebbe produrre una cosa tipo:</p>
<p><center><iframe id="hackernews-iframe" frameborder="0" allowtransparency="true" scrolling="no" width="65" height="65" src="http://www.html5today.it/plugins/hackernews-button.php"></iframe></center></p>
<p>Fatemi sapere se a qualcuno piace, e se ci sono dei bug (maffiguriamoci!! ;)</p>
]]></content:encoded>
			<wfw:commentRss>http://www.silvioporcellana.com/hackernews-submit-button-e-stamattina-me-lo-sono-fatto-da-solo/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Che dite, Google non ce l&#8217;avrà mica con Facebook?</title>
		<link>http://www.silvioporcellana.com/che-dite-google-non-ce-lavra-mica-con-facebook/</link>
		<comments>http://www.silvioporcellana.com/che-dite-google-non-ce-lavra-mica-con-facebook/#comments</comments>
		<pubDate>Wed, 10 Nov 2010 15:10:46 +0000</pubDate>
		<dc:creator>silvio</dc:creator>
				<category><![CDATA[Work]]></category>
		<category><![CDATA[facebook]]></category>
		<category><![CDATA[google]]></category>

		<guid isPermaLink="false">http://www.silvioporcellana.com/?p=22</guid>
		<description><![CDATA[Simpaticissima (in un certo senso) pagina di &#8220;help&#8221; di Google che ti chiede: ma sei proprio sicuro di voler esportare i tuoi contatti verso una piattaforma che poi non ti consente di &#8220;riaverli&#8221;? Ovviamente ogni riferimento alla recente querelle tra Google e Facebook e al &#8220;trucco&#8221; suggerito da Facebook per inserire comunque i nostri contatti [...]]]></description>
			<content:encoded><![CDATA[<p>Simpaticissima (in un certo senso) <a href="http://www.google.com/mail/help/contacts_export_confirm.html" target="_blank">pagina di &#8220;help&#8221; di Google</a> che ti chiede: ma sei proprio sicuro di voler esportare i tuoi contatti verso una piattaforma che poi non ti consente di &#8220;riaverli&#8221;?</p>
<p><a href="http://www.silvioporcellana.com/wp-content/uploads/2010/11/google-vs-facebook1.jpg"><img class="aligncenter size-medium wp-image-26" title="google-vs-facebook1" src="http://www.silvioporcellana.com/wp-content/uploads/2010/11/google-vs-facebook1-300x141.jpg" alt="" width="300" height="141" /></a></p>
<p>Ovviamente ogni riferimento alla recente querelle tra Google e Facebook e al &#8220;trucco&#8221; suggerito da Facebook per inserire comunque i nostri contatti Gmail in Facebook dopo che Google ne aveva bloccato l&#8217;importazione per &#8220;mancaza di reciprocità&#8221; è TOTALMENTE CASUALE</p>
]]></content:encoded>
			<wfw:commentRss>http://www.silvioporcellana.com/che-dite-google-non-ce-lavra-mica-con-facebook/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Uhm, bello l&#8217;Instant Preview di Apple.com</title>
		<link>http://www.silvioporcellana.com/uhm-bello-linstant-preview-di-apple-com/</link>
		<comments>http://www.silvioporcellana.com/uhm-bello-linstant-preview-di-apple-com/#comments</comments>
		<pubDate>Tue, 09 Nov 2010 16:39:59 +0000</pubDate>
		<dc:creator>silvio</dc:creator>
				<category><![CDATA[Work]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[seo]]></category>

		<guid isPermaLink="false">http://www.silvioporcellana.com/?p=3</guid>
		<description><![CDATA[Non penso che a Google il sito di Apple piaccia molto&#8230;]]></description>
			<content:encoded><![CDATA[<p>Non penso che a Google il sito di Apple piaccia molto&#8230;<br />
<a href="http://www.silvioporcellana.com/wp-content/uploads/2010/11/google-screenshot2.jpg"><img class="aligncenter size-full wp-image-20" title="google-screenshot2" src="http://www.silvioporcellana.com/wp-content/uploads/2010/11/google-screenshot2.jpg" alt="Instant preview su Google del sito Apple.com" width="500" height="317" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.silvioporcellana.com/uhm-bello-linstant-preview-di-apple-com/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Instant preview anche io! Mi è improvvisamente cambiato Google sotto gli occhi!</title>
		<link>http://www.silvioporcellana.com/mi-e-improvvisamente-cambiato-google-sotto-gli-occhi/</link>
		<comments>http://www.silvioporcellana.com/mi-e-improvvisamente-cambiato-google-sotto-gli-occhi/#comments</comments>
		<pubDate>Tue, 09 Nov 2010 15:36:53 +0000</pubDate>
		<dc:creator>silvio</dc:creator>
				<category><![CDATA[Work]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[seo]]></category>

		<guid isPermaLink="false">http://www.silvioporcellana.com/?p=9</guid>
		<description><![CDATA[Grosse news per il mio utilizzo di Google &#8211; a quanto pare da oggi sono anche io degno della nuova veste grafica, cioè di quella che mostra uno screenshot del sito al mouseover sulla SERP Non so se e come questo cambierà le abitudini del navigatore (ho AdBlock quindi non ho capito se l&#8217;anteprima si [...]]]></description>
			<content:encoded><![CDATA[<p>Grosse news per il mio utilizzo di Google &#8211; a quanto pare da oggi sono anche io degno della nuova veste grafica, cioè di quella che mostra uno screenshot del sito al mouseover sulla SERP</p>
<p style="text-align: left;"><a href="http://www.silvioporcellana.com/wp-content/uploads/2010/11/google-screenshot1.jpg"><img class="size-full wp-image-10  aligncenter" title="google-screenshot1" src="http://www.silvioporcellana.com/wp-content/uploads/2010/11/google-screenshot1.jpg" alt="Google mostra lo screenshot del sito al mouseover nelle SERP" width="490" height="311" /></a></p>
<p style="text-align: left;">Non so se e come questo cambierà le abitudini del navigatore (ho AdBlock quindi non ho capito se l&#8217;anteprima si sovrappone ad Adwords&#8230;), quello che mi sembra evidente è che cambiando continuamente il proprio layout e l&#8217;interfaccia del sito Google sta perdendo anche l&#8217;ultimo elemento positivo che gli era rimasto, la semplicità d&#8217;utilizzo</p>
<p style="text-align: left;">Per chi vuole leggerne qualcosina in più: <a href="http://googleblog.blogspot.com/2010/11/beyond-instant-results-instant-previews.html" target="_blank">http://googleblog.blogspot.com/2010/11/beyond-instant-results-instant-previews.html</a></p>
<p><img src="file:///C:/Users/picouli/AppData/Local/Temp/moz-screenshot-2.png" alt="" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.silvioporcellana.com/mi-e-improvvisamente-cambiato-google-sotto-gli-occhi/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Hello world</title>
		<link>http://www.silvioporcellana.com/hello-world-2/</link>
		<comments>http://www.silvioporcellana.com/hello-world-2/#comments</comments>
		<pubDate>Tue, 09 Nov 2010 12:59:46 +0000</pubDate>
		<dc:creator>silvio</dc:creator>
				<category><![CDATA[Play]]></category>

		<guid isPermaLink="false">http://www.silvioporcellana.com/?p=6</guid>
		<description><![CDATA[Hello &#8211; dopo anni di Internet ho deciso di avere un blog. Vediamo se avrò la costanza di tenerlo (relativamente) aggiornato&#8230; Beh, quantomeno con questo blog condivideremo il giorno di nascita.]]></description>
			<content:encoded><![CDATA[<p>Hello &#8211; dopo anni di Internet ho deciso di avere un blog. Vediamo se avrò la costanza di tenerlo (relativamente) aggiornato&#8230; Beh, quantomeno con questo blog condivideremo il giorno di nascita.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.silvioporcellana.com/hello-world-2/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>
