<?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>Baccega Andrea Blog</title>
	<atom:link href="http://www.andreabaccega.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.andreabaccega.com</link>
	<description>The future is web3.0</description>
	<lastBuildDate>Tue, 27 Jul 2010 18:49:54 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Android Usefull Docs</title>
		<link>http://www.andreabaccega.com/blog/2010/07/27/android-usefull-docs/</link>
		<comments>http://www.andreabaccega.com/blog/2010/07/27/android-usefull-docs/#comments</comments>
		<pubDate>Tue, 27 Jul 2010 18:49:54 +0000</pubDate>
		<dc:creator>veke87</dc:creator>
				<category><![CDATA[Android]]></category>
		<category><![CDATA[Programmazione]]></category>
		<category><![CDATA[android]]></category>
		<category><![CDATA[android-tips]]></category>

		<guid isPermaLink="false">http://www.andreabaccega.com/?p=438</guid>
		<description><![CDATA[Today i surfed the web searching about guidelines and best practices on writing android apps. In this in-depth search i found some useful slides and tips: 1. Android Ui Design Guidelines A slideshare with some usefull tips about android ui design: 2. Android Ui Stencil and PSDs I also found a great resource where there [...]]]></description>
			<content:encoded><![CDATA[<p>Today i surfed the web searching about guidelines and best practices on writing android apps. In this in-depth search i found some useful slides and tips:</p>
<h3>1. Android Ui Design Guidelines</h3>
<p>A slideshare with some usefull tips about android ui design:</p>
<object width="400" height="328"><param name="movie" value="http://static.slideshare.net/swf/ssplayer2.swf?doc=uidesigntips-100723230420-phpapp02"/><param name="allowFullScreen" value="true"/><param name="allowScriptAccess" value="always"/><embed src="http://static.slideshare.net/swf/ssplayer2.swf?doc=uidesigntips-100723230420-phpapp02"  type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="400" height="328"></embed></object>
<h3>2. Android Ui Stencil and PSDs</h3>
<p>I also found a great resource where there are some other stencils and psds to download.</p>
<p><a target="_blank" href="http://www.maxkiesler.com/2010/03/18/smartphone-design-templates-for-android-iphone-and-palm-pre/" target="_blank">Link</a></p>
<h3>3. Android icon templatepack</h3>
<p>I also noticed the Google Android team released the icon template pack so you can easily design you&#8217;r own menus and icons using their psd with a lot of presets.</p>
<p><a target="_blank" href="http://developer.android.com/guide/practices/ui_guidelines/icon_design.html#templatespack" target="_blank">Link</a></p>



Share and Enjoy:


	<a rel="nofollow"  target="_blank" href="http://delicious.com/post?url=http%3A%2F%2Fwww.andreabaccega.com%2Fblog%2F2010%2F07%2F27%2Fandroid-usefull-docs%2F&amp;title=Android%20Usefull%20Docs&amp;notes=Today%20i%20surfed%20the%20web%20searching%20about%20guidelines%20and%20best%20practices%20on%20writing%20android%20apps.%20In%20this%20in-depth%20search%20i%20found%20some%20useful%20slides%20and%20tips%3A%0D%0A1.%20Android%20Ui%20Design%20Guidelines%0D%0AA%20slideshare%20with%20some%20usefull%20tips%20about%20android%20ui%20design%3A%0D" title="del.icio.us"><img src="http://www.andreabaccega.com/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://technorati.com/faves?add=http%3A%2F%2Fwww.andreabaccega.com%2Fblog%2F2010%2F07%2F27%2Fandroid-usefull-docs%2F" title="Technorati"><img src="http://www.andreabaccega.com/wp-content/plugins/sociable/images/technorati.png" title="Technorati" alt="Technorati" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.andreabaccega.com%2Fblog%2F2010%2F07%2F27%2Fandroid-usefull-docs%2F&amp;title=Android%20Usefull%20Docs&amp;bodytext=Today%20i%20surfed%20the%20web%20searching%20about%20guidelines%20and%20best%20practices%20on%20writing%20android%20apps.%20In%20this%20in-depth%20search%20i%20found%20some%20useful%20slides%20and%20tips%3A%0D%0A1.%20Android%20Ui%20Design%20Guidelines%0D%0AA%20slideshare%20with%20some%20usefull%20tips%20about%20android%20ui%20design%3A%0D" title="Digg"><img src="http://www.andreabaccega.com/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fwww.andreabaccega.com%2Fblog%2F2010%2F07%2F27%2Fandroid-usefull-docs%2F&amp;title=Android%20Usefull%20Docs&amp;annotation=Today%20i%20surfed%20the%20web%20searching%20about%20guidelines%20and%20best%20practices%20on%20writing%20android%20apps.%20In%20this%20in-depth%20search%20i%20found%20some%20useful%20slides%20and%20tips%3A%0D%0A1.%20Android%20Ui%20Design%20Guidelines%0D%0AA%20slideshare%20with%20some%20usefull%20tips%20about%20android%20ui%20design%3A%0D" title="Google Bookmarks"><img src="http://www.andreabaccega.com/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.facebook.com/share.php?u=http%3A%2F%2Fwww.andreabaccega.com%2Fblog%2F2010%2F07%2F27%2Fandroid-usefull-docs%2F&amp;t=Android%20Usefull%20Docs" title="Facebook"><img src="http://www.andreabaccega.com/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.mixx.com/submit?page_url=http%3A%2F%2Fwww.andreabaccega.com%2Fblog%2F2010%2F07%2F27%2Fandroid-usefull-docs%2F&amp;title=Android%20Usefull%20Docs" title="Mixx"><img src="http://www.andreabaccega.com/wp-content/plugins/sociable/images/mixx.png" title="Mixx" alt="Mixx" class="sociable-hovers" /></a>


<br/><br/>]]></content:encoded>
			<wfw:commentRss>http://www.andreabaccega.com/blog/2010/07/27/android-usefull-docs/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to use codeigniter with eclipse helios</title>
		<link>http://www.andreabaccega.com/blog/2010/06/24/how-to-use-codeigniter-with-eclipse-helios/</link>
		<comments>http://www.andreabaccega.com/blog/2010/06/24/how-to-use-codeigniter-with-eclipse-helios/#comments</comments>
		<pubDate>Thu, 24 Jun 2010 10:37:13 +0000</pubDate>
		<dc:creator>veke87</dc:creator>
				<category><![CDATA[Programmazione]]></category>
		<category><![CDATA[codeigniter]]></category>
		<category><![CDATA[eclipse]]></category>

		<guid isPermaLink="false">http://www.andreabaccega.com/?p=427</guid>
		<description><![CDATA[Codeigniter is a great framework. Eclipse is a very nice IDE. Why not using them both when writing our own apps ? After some googling i found a way to get auto-completion with codeigniter on eclipse. Requirements: Xampp : I suggest using xampp lite. Codeigniter: Obviously Eclipse Helios for PHP Development : Installing Xampp I [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;"><img class="aligncenter size-full wp-image-428" title="screen" src="http://www.andreabaccega.com/files/2010/06/screen.png" alt="" width="475" height="154" /></p>
<p style="text-align: left;">Codeigniter is a great framework. Eclipse is a very nice IDE. Why not using them both when writing our own apps ?</p>
<p style="text-align: left;">After some googling i found a way to get auto-completion with codeigniter on eclipse.</p>
<p style="text-align: left;"><strong>Requirements:</strong></p>
<ol>
<li><a target="_blank" title="Xampp" href="http://www.apachefriends.org/it/xampp.html">Xampp</a> : I suggest using xampp lite.</li>
<li><a target="_blank" href="http://codeigniter.com/">Codeigniter</a>: Obviously</li>
<li><a target="_blank" href="http://www.eclipse.org/downloads/packages/eclipse-php-developers/heliosr">Eclipse Helios for PHP Development</a> : <img src='http://www.andreabaccega.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </li>
</ol>
<p><span id="more-427"></span></p>
<h2>Installing Xampp</h2>
<p>I suggest Xampp lite zip version. Once downloaded unzip xampp on c:\ ( or wherever you want ) and you&#8217;ll get a folder named xampp.</p>
<p>Then browse that folder and execute xampp-start. Once it is started open xampp-control and make sure that apache and mysql is working.</p>
<p>If xampp won&#8217;t work, please look at the xampp forum for it.</p>
<h2>Installing CodeIgniter</h2>
<p>Go into c:\xampp\htdocs and create a new folder called example.com  ( or wathever you want ) . Then move the unzipped  codeigniter folder inside c:\xampp\htdocs\example.com\ .</p>
<p>Now navigate inside the c:\xampp\htdocs\example.com\system folder and move &#8220;application&#8221; one level above so you&#8217;ll have the following situation inside c:\xampp\htdocs\example.com:</p>
<p><a href="http://www.andreabaccega.com/files/2010/06/screen1.png"><img class="aligncenter size-full wp-image-429" title="screen[1]" src="http://www.andreabaccega.com/files/2010/06/screen1.png" alt="" width="603" height="118" /></a>Now please open the index.php file with your favourite editor. And look if the application and system folder variables are correct <img src='http://www.andreabaccega.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>In order to check if everything works good you could open your browser and navigate through http://localhost/example.com/ if you don&#8217;t get any error then codeigniter and xampp are working correctly.</p>
<h2>Installing Eclipse</h2>
<p>Installing eclipse is very easy. Just unzip the archive downloaded in the requirements.</p>
<h2>Configuring Eclipse in order to work correctly with codeigniter</h2>
<p>Create a new Project : File -&gt; New -&gt; PHP Project</p>
<p>The wizard would open. Write CI_CORE on the Project Name field and be sure to make the changes as shown below:</p>
<p><a href="http://www.andreabaccega.com/files/2010/06/screen2.png"><img class="aligncenter size-full wp-image-430" title="eclipse-1" src="http://www.andreabaccega.com/files/2010/06/screen2.png" alt="" width="521" height="110" /></a>Note: <em>Look at the directory. We are pointing this project on the Codeigniter system folder.</em></p>
<p>Now click on the Finish button.</p>
<p>Create a new Project : File -&gt; New -&gt; PHP Project</p>
<p>This time, when the wizard opens, write &#8220;example.com&#8221; on the Project Name Field. Then in the Contents tab use this path:</p>
<blockquote><p>c:\xampp\htdocs\example.com\application\</p></blockquote>
<p>Now we should have 2 projects:</p>
<ol>
<li>CI_CORE</li>
<li>example.com</li>
</ol>
<p>Now you can see you&#8217;ll get autocompletion for almost all things except for the most used <img src='http://www.andreabaccega.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> .</p>
<p>In order to fix this issue open:</p>
<ul>
<li>CI_CORE\\codeigniter\\Base4.php file if you are going to develop under PHP5</li>
<li>CI_CORE\\codeigniter\\Base5.php if you&#8217;re going to develop under PHP4</li>
</ul>
<p>Note: <em>Yes open Base4 if you&#8217;re using PHP5 <img src='http://www.andreabaccega.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </em></p>
<p>If you&#8217;re using Base4.php Insert the following code just before the constructor.</p>
<pre class="brush: php;">
	/**
     * @var CI_Config
     */
    var $config;
    /**
     * @var CI_DB_active_record
     */
    var $db;
    /**
     * @var CI_Email
     */
    var $email;
    /**
     * @var CI_Form_validation
     */
    var $form_validation;
    /**
     * @var CI_Input
     */
    var $input;
    /**
     * @var CI_Loader
     */
    var $load;
    /**
     * @var CI_Router
     */
    var $router;
    /**
     * @var CI_Session
     */
    var $session;
    /**
     * @var CI_Table
     */
    var $table;
    /**
     * @var CI_Unit_test
     */
    var $unit;
    /**
     * @var CI_URI
     */
    var $uri;
    /**
     * @var CI_Pagination
     */
    var $pagination;
</pre>
<p>Well, Now you&#8217;ll get eclipse+codeigniter working with some cool things like auto-completion <img src='http://www.andreabaccega.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /><br />
BB <img src='http://www.andreabaccega.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>



Share and Enjoy:


	<a rel="nofollow"  target="_blank" href="http://delicious.com/post?url=http%3A%2F%2Fwww.andreabaccega.com%2Fblog%2F2010%2F06%2F24%2Fhow-to-use-codeigniter-with-eclipse-helios%2F&amp;title=How%20to%20use%20codeigniter%20with%20eclipse%20helios&amp;notes=%0D%0ACodeigniter%20is%20a%20great%20framework.%20Eclipse%20is%20a%20very%20nice%20IDE.%20Why%20not%20using%20them%20both%20when%20writing%20our%20own%20apps%20%3F%0D%0AAfter%20some%20googling%20i%20found%20a%20way%20to%20get%20auto-completion%20with%20codeigniter%20on%20eclipse.%0D%0ARequirements%3A%0D%0A%0D%0A%0D%0A%09Xampp%20%3A%20I%20suggest%20using%20xa" title="del.icio.us"><img src="http://www.andreabaccega.com/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://technorati.com/faves?add=http%3A%2F%2Fwww.andreabaccega.com%2Fblog%2F2010%2F06%2F24%2Fhow-to-use-codeigniter-with-eclipse-helios%2F" title="Technorati"><img src="http://www.andreabaccega.com/wp-content/plugins/sociable/images/technorati.png" title="Technorati" alt="Technorati" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.andreabaccega.com%2Fblog%2F2010%2F06%2F24%2Fhow-to-use-codeigniter-with-eclipse-helios%2F&amp;title=How%20to%20use%20codeigniter%20with%20eclipse%20helios&amp;bodytext=%0D%0ACodeigniter%20is%20a%20great%20framework.%20Eclipse%20is%20a%20very%20nice%20IDE.%20Why%20not%20using%20them%20both%20when%20writing%20our%20own%20apps%20%3F%0D%0AAfter%20some%20googling%20i%20found%20a%20way%20to%20get%20auto-completion%20with%20codeigniter%20on%20eclipse.%0D%0ARequirements%3A%0D%0A%0D%0A%0D%0A%09Xampp%20%3A%20I%20suggest%20using%20xa" title="Digg"><img src="http://www.andreabaccega.com/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fwww.andreabaccega.com%2Fblog%2F2010%2F06%2F24%2Fhow-to-use-codeigniter-with-eclipse-helios%2F&amp;title=How%20to%20use%20codeigniter%20with%20eclipse%20helios&amp;annotation=%0D%0ACodeigniter%20is%20a%20great%20framework.%20Eclipse%20is%20a%20very%20nice%20IDE.%20Why%20not%20using%20them%20both%20when%20writing%20our%20own%20apps%20%3F%0D%0AAfter%20some%20googling%20i%20found%20a%20way%20to%20get%20auto-completion%20with%20codeigniter%20on%20eclipse.%0D%0ARequirements%3A%0D%0A%0D%0A%0D%0A%09Xampp%20%3A%20I%20suggest%20using%20xa" title="Google Bookmarks"><img src="http://www.andreabaccega.com/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.facebook.com/share.php?u=http%3A%2F%2Fwww.andreabaccega.com%2Fblog%2F2010%2F06%2F24%2Fhow-to-use-codeigniter-with-eclipse-helios%2F&amp;t=How%20to%20use%20codeigniter%20with%20eclipse%20helios" title="Facebook"><img src="http://www.andreabaccega.com/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.mixx.com/submit?page_url=http%3A%2F%2Fwww.andreabaccega.com%2Fblog%2F2010%2F06%2F24%2Fhow-to-use-codeigniter-with-eclipse-helios%2F&amp;title=How%20to%20use%20codeigniter%20with%20eclipse%20helios" title="Mixx"><img src="http://www.andreabaccega.com/wp-content/plugins/sociable/images/mixx.png" title="Mixx" alt="Mixx" class="sociable-hovers" /></a>


<br/><br/>]]></content:encoded>
			<wfw:commentRss>http://www.andreabaccega.com/blog/2010/06/24/how-to-use-codeigniter-with-eclipse-helios/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>How to manage custom post type category template on wordpress 3.0</title>
		<link>http://www.andreabaccega.com/blog/2010/06/18/how-to-manage-custom-post-type-category-template-on-wordpress-3-0/</link>
		<comments>http://www.andreabaccega.com/blog/2010/06/18/how-to-manage-custom-post-type-category-template-on-wordpress-3-0/#comments</comments>
		<pubDate>Fri, 18 Jun 2010 16:14:31 +0000</pubDate>
		<dc:creator>veke87</dc:creator>
				<category><![CDATA[Seo]]></category>

		<guid isPermaLink="false">http://www.andreabaccega.com/?p=421</guid>
		<description><![CDATA[Today wordpress 3.0 has been released. Since i started to play with it almost immediately i found some troubles when i was trying to display all the post in the new wordpress custom type into one single page. The goals: I wanted to create a custom template for these custom posts. I wanted to create [...]]]></description>
			<content:encoded><![CDATA[<p>Today wordpress 3.0 has been released. Since i started to play with it almost immediately i found some troubles when i was trying to display all the post in the new wordpress custom type into one single page.</p>
<p>The goals:</p>
<ol>
<li>I wanted to create a custom template for these custom posts.</li>
<li>I wanted to create a custom archive template for these custom posts</li>
</ol>
<p>I found immediately the solution for the first &#8220;issue&#8221; . WordPress 3.0 templating system would search for a file named single-[custom post type name].php inside the theme directory so i simply copied and pasted the single.php into the new file and made some tiny modifications.</p>
<p>The second goal was a little bit difficult to achieve. I googled it and i found some articles talking about this issue but none of them gave  ma an easy and working solution.</p>
<p>So i decided to take some parts from them and make my own solution.</p>
<p>Note: The custom post type name is &#8220;androidapps&#8221;</p>
<p>I did create a new useless plugin that fixed my issues. the source coude is the following:</p>
<pre class="brush: php;">/*
Plugin Name: Androidapss
Plugin URI: http://i love you.com
Version: 1.0.78
Description: A very useless plugin
Author: Baccega Andrea
Author URI: http://www.andreabaccega.com
Tags: seo,google,link,optimization
*/
add_filter('rewrite_rules_array','wp_insertMyRewriteRules');
add_filter('query_vars','wp_insertMyRewriteQueryVars');
add_filter('init','flushRules');
add_action(&quot;template_redirect&quot;,'buch_template_redirect');
// Remember to flush_rules() when adding rules
function flushRules(){
	global $wp_rewrite;
   	$wp_rewrite-&gt;flush_rules();
}

// Adding a new rule
function wp_insertMyRewriteRules($rules)
{
	$newrules = array();
	$newrules['androidapps/feed/(feed|rdf|rss|rss2|atom)/?$'] = 'index.php?&amp;feed=$matches[1]&amp;post_type=androidapps';
	$newrules['androidapps/(feed|rdf|rss|rss2|atom)/?$'] = 'index.php?&amp;feed=$matches[1]&amp;post_type=androidapps';
	$newrules['androidapps/page/?([0-9]{1,})/?$'] = 'index.php?&amp;paged=$matches[1]&amp;post_type=androidapps';
	$newrules['androidapps/?$'] = 'index.php?paged=1&amp;post_type=androidapps';
	return $newrules + $rules;
}

// Adding the id var so that WP recognizes it
function wp_insertMyRewriteQueryVars($vars)
{
    array_push($vars, 'id');
    return $vars;
}

function buch_template_redirect()
{
	global $wp;

	$muley_custom_types = array(&quot;androidapps&quot;);

	if (in_array($wp-&gt;query_vars[&quot;post_type&quot;], $muley_custom_types))
	{
		if ( is_robots() ) :
			do_action('do_robots');
			return;
		elseif ( is_feed() ) :
			do_feed();
			return;
		elseif ( is_trackback() ) :
			include( ABSPATH . 'wp-trackback.php' );
			return;
		elseif($wp-&gt;query_vars[&quot;name&quot;]):
			include(TEMPLATEPATH . &quot;/single-&quot;.$wp-&gt;query_vars[&quot;post_type&quot;].&quot;.php&quot;);
			die();
		else:
			include(TEMPLATEPATH . &quot;/&quot;.$wp-&gt;query_vars[&quot;post_type&quot;].&quot;.php&quot;);
			die();
		endif;

	}
}</pre>
<p>Well all the trick is done by two functions</p>
<ul>
<li>buch_template_redirect</li>
<li>wp_insertMyRewriteRules</li>
</ul>
<p>The first one buch_template_redirect would hack the template functions and would tell wordpress to search for </p>
<ul>
<li>single-androidapps.php for single posts</li>
<li>androidapps.php for archive</li>
</ul>
<p>The second wp_insertMyRewriteRules which is copied from the wordpress codex website would add some rewrite rules to wordpress so he will knows how to route the requests <img src='http://www.andreabaccega.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> .</p>
<p>Now if you navigate through <a href="http://www.andreabaccega.com/androidapps">http://www.andreabaccega.com/androidapps</a> you&#8217;ll see the archive template dedicated to the posts inside the &#8220;androidapps&#8221; type.</p>
<h3>How would you use my code for your meanings?<br />
<h3>
Simply create a new plugin with the code above,  then replace all those androidapps instances with your custom post type name.</p>
<p>Enjoy <img src='http://www.andreabaccega.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>



Share and Enjoy:


	<a rel="nofollow"  target="_blank" href="http://delicious.com/post?url=http%3A%2F%2Fwww.andreabaccega.com%2Fblog%2F2010%2F06%2F18%2Fhow-to-manage-custom-post-type-category-template-on-wordpress-3-0%2F&amp;title=How%20to%20manage%20custom%20post%20type%20category%20template%20on%20wordpress%203.0&amp;notes=Today%20wordpress%203.0%20has%20been%20released.%20Since%20i%20started%20to%20play%20with%20it%20almost%20immediately%20i%20found%20some%20troubles%20when%20i%20was%20trying%20to%20display%20all%20the%20post%20in%20the%20new%20wordpress%20custom%20type%20into%20one%20single%20page.%0D%0A%0D%0AThe%20goals%3A%0D%0A%0D%0A%09I%20wanted%20to%20create%20a%20cu" title="del.icio.us"><img src="http://www.andreabaccega.com/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://technorati.com/faves?add=http%3A%2F%2Fwww.andreabaccega.com%2Fblog%2F2010%2F06%2F18%2Fhow-to-manage-custom-post-type-category-template-on-wordpress-3-0%2F" title="Technorati"><img src="http://www.andreabaccega.com/wp-content/plugins/sociable/images/technorati.png" title="Technorati" alt="Technorati" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.andreabaccega.com%2Fblog%2F2010%2F06%2F18%2Fhow-to-manage-custom-post-type-category-template-on-wordpress-3-0%2F&amp;title=How%20to%20manage%20custom%20post%20type%20category%20template%20on%20wordpress%203.0&amp;bodytext=Today%20wordpress%203.0%20has%20been%20released.%20Since%20i%20started%20to%20play%20with%20it%20almost%20immediately%20i%20found%20some%20troubles%20when%20i%20was%20trying%20to%20display%20all%20the%20post%20in%20the%20new%20wordpress%20custom%20type%20into%20one%20single%20page.%0D%0A%0D%0AThe%20goals%3A%0D%0A%0D%0A%09I%20wanted%20to%20create%20a%20cu" title="Digg"><img src="http://www.andreabaccega.com/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fwww.andreabaccega.com%2Fblog%2F2010%2F06%2F18%2Fhow-to-manage-custom-post-type-category-template-on-wordpress-3-0%2F&amp;title=How%20to%20manage%20custom%20post%20type%20category%20template%20on%20wordpress%203.0&amp;annotation=Today%20wordpress%203.0%20has%20been%20released.%20Since%20i%20started%20to%20play%20with%20it%20almost%20immediately%20i%20found%20some%20troubles%20when%20i%20was%20trying%20to%20display%20all%20the%20post%20in%20the%20new%20wordpress%20custom%20type%20into%20one%20single%20page.%0D%0A%0D%0AThe%20goals%3A%0D%0A%0D%0A%09I%20wanted%20to%20create%20a%20cu" title="Google Bookmarks"><img src="http://www.andreabaccega.com/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.facebook.com/share.php?u=http%3A%2F%2Fwww.andreabaccega.com%2Fblog%2F2010%2F06%2F18%2Fhow-to-manage-custom-post-type-category-template-on-wordpress-3-0%2F&amp;t=How%20to%20manage%20custom%20post%20type%20category%20template%20on%20wordpress%203.0" title="Facebook"><img src="http://www.andreabaccega.com/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.mixx.com/submit?page_url=http%3A%2F%2Fwww.andreabaccega.com%2Fblog%2F2010%2F06%2F18%2Fhow-to-manage-custom-post-type-category-template-on-wordpress-3-0%2F&amp;title=How%20to%20manage%20custom%20post%20type%20category%20template%20on%20wordpress%203.0" title="Mixx"><img src="http://www.andreabaccega.com/wp-content/plugins/sociable/images/mixx.png" title="Mixx" alt="Mixx" class="sociable-hovers" /></a>


<br/><br/>]]></content:encoded>
			<wfw:commentRss>http://www.andreabaccega.com/blog/2010/06/18/how-to-manage-custom-post-type-category-template-on-wordpress-3-0/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Cpu al 100% e non trovate il motivo? Eccone uno</title>
		<link>http://www.andreabaccega.com/blog/2010/04/29/cpu-al-100-e-non-trovate-il-motivo-eccone-uno/</link>
		<comments>http://www.andreabaccega.com/blog/2010/04/29/cpu-al-100-e-non-trovate-il-motivo-eccone-uno/#comments</comments>
		<pubDate>Thu, 29 Apr 2010 18:07:57 +0000</pubDate>
		<dc:creator>veke87</dc:creator>
				<category><![CDATA[Varie]]></category>

		<guid isPermaLink="false">http://www.andreabaccega.com/?p=393</guid>
		<description><![CDATA[Premetto che parlo da profano e quello che scriverò in quest&#8217;articolo potrebbe essere errato però io ho risolto il mio problema nel modo che andrò scrivendo perciò voglio raccontarvelo. Cominciamo con il dire che ho avuto non pochi problemi con la riproduzione di video in alta qualità. Infatti, video in 720p erano diventati off-limits per [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.andreabaccega.com/files/2010/04/cpu100.jpg"><img class="aligncenter size-full wp-image-395" title="cpu100" src="http://www.andreabaccega.com/files/2010/04/cpu100.jpg" alt="" width="221" height="98" /></a></p>
<p>Premetto che parlo da profano e quello che scriverò in quest&#8217;articolo <strong>potrebbe</strong> essere errato però io ho risolto il mio problema nel modo che andrò scrivendo perciò voglio raccontarvelo.</p>
<p>Cominciamo con il dire che ho avuto non pochi <strong>problemi con la riproduzione di video in alta qualità</strong>. Infatti, video in 720p erano diventati off-limits per me. Iniziai a pensare che il <strong>problema fosse relativo alla scheda video</strong>, che per inciso ha subito un operazione di esportazione della sua ventola di raffreddamento, perciò come prima soluzione logica andai subito in uno store e comprai una ati qualsiasi ( Tanto per quello che ne devo fare io ).</p>
<p>Una volta tornato a casa e dopo aver montato la scheda rimasi sorpreso come nulla cambiò. Perciò dopo essermi masturbato la mente con qualche pippa mentale <strong>arrivai alla conclusione che forse il mio pc era infetto da qualche virus</strong> che oltre ad infettare rompesse le palle alla cpu.</p>
<p>La soluzione fù quella di scaricare avg free e far partire una scansione che ovviamente diede risultati ( <strong>in tempi epici</strong> ) deludenti: Nel senso che <strong>non trovai nulla  di particolarmente significativo.</strong></p>
<p>Perciò, rassegnato e con la convinzione di aver bisogno di un bel upgrade hardware spesi circa 450euro di nuovo hardware ( Per la cronaca: intel i5 750 , Asus P7H55-M Pro , Corsair 3x2GB 1600Mhz ).</p>
<p>Ma nel frattempo<strong> il mio pc diventava sempre più lento e inutilizzabile</strong> perciò decisi di comprare una bombola di aria compressa per pulirlo un po&#8217; da quella polvere che nel tempo si accumula inesorabilmente sulle ventole e i dissipatori dei nostri pc.</p>
<p>Torno a casa , lo pulisco, lo riaccendo ed ecco che si presenta la sorpresa&#8230;. Quasi subito mi accorgo della differenza di velocità. Ora non solo posso guardare i video in 720p . Ma posso guardarne 3 contemporaneamente senza rallentamento alcuno &#8230; perciò ecco la spiegazione che mi sono dato:</p>
<blockquote><p>Considerato il fatto che la polvere aveva fatto delle mie ventole e dissipatori la sua nuova casa,  le vie resipiratorie della cpu erano praticamente inesistenti e portavano i due core a temperature veramente impraticabili; quest&#8217;innalzamento della temperatura della cpu probabilmente causava uno scaling forzato della frequenza di clock ( Effettuato automaticamente dall&#8217;hardware nel tentativo di ridurre la temperatura della cpu ) . Perciò il mio pc, operando su ben altre frequenze da quelle alle quali ero abituato , era divenuto lentissimo.</p></blockquote>
<p><strong>Conclusione:</strong></p>
<p>Prima di comprare del nuovo hardware, date una pulita a quello che avete già . Potrebbe, <strong><em><span style="text-decoration: underline;">incredibilmente</span></em></strong>, aumentare le prestazioni del vostro pc.</p>



Share and Enjoy:


	<a rel="nofollow"  target="_blank" href="http://delicious.com/post?url=http%3A%2F%2Fwww.andreabaccega.com%2Fblog%2F2010%2F04%2F29%2Fcpu-al-100-e-non-trovate-il-motivo-eccone-uno%2F&amp;title=Cpu%20al%20100%25%20e%20non%20trovate%20il%20motivo%3F%20Eccone%20uno&amp;notes=%0D%0A%0D%0APremetto%20che%20parlo%20da%20profano%20e%20quello%20che%20scriver%C3%B2%20in%20quest%27articolo%20potrebbe%20essere%20errato%20per%C3%B2%20io%20ho%20risolto%20il%20mio%20problema%20nel%20modo%20che%20andr%C3%B2%20scrivendo%20perci%C3%B2%20voglio%20raccontarvelo.%0D%0A%0D%0ACominciamo%20con%20il%20dire%20che%20ho%20avuto%20non%20pochi%20problem" title="del.icio.us"><img src="http://www.andreabaccega.com/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://technorati.com/faves?add=http%3A%2F%2Fwww.andreabaccega.com%2Fblog%2F2010%2F04%2F29%2Fcpu-al-100-e-non-trovate-il-motivo-eccone-uno%2F" title="Technorati"><img src="http://www.andreabaccega.com/wp-content/plugins/sociable/images/technorati.png" title="Technorati" alt="Technorati" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.andreabaccega.com%2Fblog%2F2010%2F04%2F29%2Fcpu-al-100-e-non-trovate-il-motivo-eccone-uno%2F&amp;title=Cpu%20al%20100%25%20e%20non%20trovate%20il%20motivo%3F%20Eccone%20uno&amp;bodytext=%0D%0A%0D%0APremetto%20che%20parlo%20da%20profano%20e%20quello%20che%20scriver%C3%B2%20in%20quest%27articolo%20potrebbe%20essere%20errato%20per%C3%B2%20io%20ho%20risolto%20il%20mio%20problema%20nel%20modo%20che%20andr%C3%B2%20scrivendo%20perci%C3%B2%20voglio%20raccontarvelo.%0D%0A%0D%0ACominciamo%20con%20il%20dire%20che%20ho%20avuto%20non%20pochi%20problem" title="Digg"><img src="http://www.andreabaccega.com/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fwww.andreabaccega.com%2Fblog%2F2010%2F04%2F29%2Fcpu-al-100-e-non-trovate-il-motivo-eccone-uno%2F&amp;title=Cpu%20al%20100%25%20e%20non%20trovate%20il%20motivo%3F%20Eccone%20uno&amp;annotation=%0D%0A%0D%0APremetto%20che%20parlo%20da%20profano%20e%20quello%20che%20scriver%C3%B2%20in%20quest%27articolo%20potrebbe%20essere%20errato%20per%C3%B2%20io%20ho%20risolto%20il%20mio%20problema%20nel%20modo%20che%20andr%C3%B2%20scrivendo%20perci%C3%B2%20voglio%20raccontarvelo.%0D%0A%0D%0ACominciamo%20con%20il%20dire%20che%20ho%20avuto%20non%20pochi%20problem" title="Google Bookmarks"><img src="http://www.andreabaccega.com/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.facebook.com/share.php?u=http%3A%2F%2Fwww.andreabaccega.com%2Fblog%2F2010%2F04%2F29%2Fcpu-al-100-e-non-trovate-il-motivo-eccone-uno%2F&amp;t=Cpu%20al%20100%25%20e%20non%20trovate%20il%20motivo%3F%20Eccone%20uno" title="Facebook"><img src="http://www.andreabaccega.com/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.mixx.com/submit?page_url=http%3A%2F%2Fwww.andreabaccega.com%2Fblog%2F2010%2F04%2F29%2Fcpu-al-100-e-non-trovate-il-motivo-eccone-uno%2F&amp;title=Cpu%20al%20100%25%20e%20non%20trovate%20il%20motivo%3F%20Eccone%20uno" title="Mixx"><img src="http://www.andreabaccega.com/wp-content/plugins/sociable/images/mixx.png" title="Mixx" alt="Mixx" class="sociable-hovers" /></a>


<br/><br/>]]></content:encoded>
			<wfw:commentRss>http://www.andreabaccega.com/blog/2010/04/29/cpu-al-100-e-non-trovate-il-motivo-eccone-uno/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Come configurare Nginx davanti ad apache per ottimizzare e velocizzare il caricamento dei vostri siti web</title>
		<link>http://www.andreabaccega.com/blog/2010/04/07/come-configurare-nginx-davanti-ad-apache-per-ottimizzare-e-velocizzare-il-caricamento-dei-vostri-siti-web/</link>
		<comments>http://www.andreabaccega.com/blog/2010/04/07/come-configurare-nginx-davanti-ad-apache-per-ottimizzare-e-velocizzare-il-caricamento-dei-vostri-siti-web/#comments</comments>
		<pubDate>Wed, 07 Apr 2010 11:42:03 +0000</pubDate>
		<dc:creator>veke87</dc:creator>
				<category><![CDATA[Varie]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[nginx]]></category>

		<guid isPermaLink="false">http://www.andreabaccega.com/?p=391</guid>
		<description><![CDATA[Per prima cosa dovete aver già installato nginx e spostato apache su un altra porta/ip. Una volta fatta questa procedura bisognerà semplicemente configurare nginx in modo da istruirlo sul da-farsi. Premetto che su quest'esempio che porterò ho spostato apache vero in localhost 127.0.0.1. Il mio obiettivo era quello di utilizzare nginx per servire tutte le [...]]]></description>
			<content:encoded><![CDATA[<p>Per prima cosa dovete aver già installato nginx e spostato apache su un altra porta/ip. Una volta fatta questa procedura bisognerà semplicemente configurare nginx in modo da istruirlo sul da-farsi.</p>
<p>Premetto che su quest'esempio che porterò ho spostato apache vero in localhost 127.0.0.1. Il mio obiettivo era quello di utilizzare nginx per servire tutte le immagini e apache per servire le richieste dinamiche in php o altro.</p>
<p>Perciò , facendo risiedere nginx e apache sulla stessa macchina, ho potuto evitare di utilizzare il modulo di caching di nginx  ( dato che accederà direttamente ai files tramite il filesystem ).</p>
<div class="igBar"><span id="lcode-3"><a target="_blank" href="#" onclick="javascript:showCodeTxt('code-3'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">CODE:</span>
<div id="code-3">
<div class="code">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">http <span style="color:#006600; font-weight:bold;">&#123;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; include&nbsp; &nbsp; &nbsp; &nbsp;mime.<span style="">types</span>;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; default_type&nbsp; application/octet-stream;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; sendfile&nbsp; &nbsp; &nbsp; &nbsp; on;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; large_client_header_buffers <span style="color:#800000;color:#800000;">4</span> 8k;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; client_header_buffer_size 4k;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; keepalive_timeout&nbsp; <span style="color:#800000;color:#800000;">65</span>;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; #proxy_cache_path /tmp/nginx levels=<span style="color:#800000;color:#800000;">1</span>:<span style="color:#800000;color:#800000;">2</span>:<span style="color:#800000;color:#800000;">2</span> keys_zone=cache:100m max_size=1024m;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; server <span style="color:#006600; font-weight:bold;">&#123;</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; listen&nbsp; &nbsp; &nbsp; &nbsp;<span style="color:#800000;color:#800000;">123</span>.<span style="color:#800000;color:#800000;">123</span>.<span style="color:#800000;color:#800000;">123</span>.<span style="color:#800000;color:#800000;">123</span>:<span style="color:#800000;color:#800000;">80</span>;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; server_name&nbsp; www.<span style="">example</span>.<span style="">com</span>;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; error_log&nbsp; /usr/local/nginx/logs/error_example.<span style="">log</span>;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; </div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; location ~* ^.+.<span style="color:#006600; font-weight:bold;">&#40;</span>jpg|jpeg|gif|png|ico|css|txt|js<span style="color:#006600; font-weight:bold;">&#41;</span>$ <span style="color:#006600; font-weight:bold;">&#123;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; root /var/www/example.<span style="">com</span>/web;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; <span style="color:#006600; font-weight:bold;">&#125;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; location / <span style="color:#006600; font-weight:bold;">&#123;</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; #proxy_cache cache;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; #proxy_cache_valid any 1m;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if <span style="color:#006600; font-weight:bold;">&#40;</span>$http_user_agent ~* .*<span style="color:#006600; font-weight:bold;">&#40;</span>Android|<span style="color:#800000;color:#800000;">2</span>.<span style="color:#800000;color:#800000;">0</span>\ MMP|240x320|AvantGo|BlackBerry|Blazer|Cellphone|Danger|DoCoMo|Elaine/<span style="color:#800000;color:#800000;">3</span>.<span style="color:#800000;color:#800000;">0</span>|EudoraWeb|hiptop|IEMobile|iPhone|iPod|KYOCERA/W$</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; rewrite ^<span style="color:#006600; font-weight:bold;">&#40;</span>.*<span style="color:#006600; font-weight:bold;">&#41;</span>$ http:<span style="color:#FF9933; font-style:italic;">//m.example.com$1 permanent;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color:#006600; font-weight:bold;">&#125;</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; proxy_buffer_size 8k;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; proxy_pass http:<span style="color:#FF9933; font-style:italic;">//127.0.0.1:80;</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; proxy_set_header X-Real-IP $remote_addr;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; proxy_set_header Host $host;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; <span style="color:#006600; font-weight:bold;">&#125;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; <span style="color:#006600; font-weight:bold;">&#125;</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#006600; font-weight:bold;">&#125;</span> </div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
<p>Come potete vedere la configurazione è abbastanza semplice. Una piccola nota: Le righe con il # sono dei commenti. Li ho volutamente lasciati perchè quelle direttive, qualora decommentate, abiliterebbero il caching dell'intero sito tramite il modulo di nginx.</p>
<p>Ho lasciato anche uno statement condizionale che verifica se la richiesta proviene da un browser mobile . In quel caso nginx effettua un redirect a m.example.com. Ho pensato di lasciarlo perchè  a qualcuno potrebbe effettivamente servire una configurazione simile.</p>
<p>Tuttavia c'è un altro problema che ho dovuto risolvere. Infatti apache deve essere in grado di riconoscere l'ip del visitatore e non l'ip del proxy nginx. Il motivo ? Alcuni programmi come vbulletin fanno alcuni controlli di sicurezza sugli ip.</p>
<p>Questo problema l'ho risolto installando su apache un modulo chiamato <a target="_blank" href="http://stderr.net/apache/rpaf/" target="_blank"><acronym title="Reverse Proxy Add Forward">rpaf</acronym></a> che fa proprio al caso nostro. Ovviamente in questo howto non spiegherò come installarlo ma vi darò la mia configurazione corretta per nginx <img src='http://www.andreabaccega.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<div class="igBar"><span id="lcode-4"><a target="_blank" href="#" onclick="javascript:showCodeTxt('code-4'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">CODE:</span>
<div id="code-4">
<div class="code">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">LoadModule rpaf_module /usr/lib/apache2/modules/mod_rpaf-<span style="color:#800000;color:#800000;">2</span>.<span style="color:#800000;color:#800000;">0</span>.<span style="">so</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">RPAFenable On</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">RPAFsethostname On</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">RPAFproxy_ips <span style="color:#800000;color:#800000;">127</span>.<span style="color:#800000;color:#800000;">0</span>.<span style="color:#800000;color:#800000;">0</span>.<span style="color:#800000;color:#800000;">1</span> <span style="color:#800000;color:#800000;">123</span>.<span style="color:#800000;color:#800000;">123</span>.<span style="color:#800000;color:#800000;">123</span>.<span style="color:#800000;color:#800000;">123</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">RPAFheader X-Forwarded-For </div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
<p>L'unica direttiva alla quale stare attenti è sicuramente RPAFproxy_ips dove dovete specificare tutti gli ip del vostro proxy nginx <img src='http://www.andreabaccega.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  </p>
<h3>I risultati</h3>
<p>I risultati sono sbalorditivi, utilizzando Apache Benchmarking ( ab in console ) con 2000 richieste ( 100 concorrenti ) il numero di richieste al secondo completate raddoppia passando da 5000ca a 11000ca. Senza contare che il footprint di memoria utilizzato da nginx è veramente più basso.</p>
<p>Vale la pena provarlo <img src='http://www.andreabaccega.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>



Share and Enjoy:


	<a rel="nofollow"  target="_blank" href="http://delicious.com/post?url=http%3A%2F%2Fwww.andreabaccega.com%2Fblog%2F2010%2F04%2F07%2Fcome-configurare-nginx-davanti-ad-apache-per-ottimizzare-e-velocizzare-il-caricamento-dei-vostri-siti-web%2F&amp;title=Come%20configurare%20Nginx%20davanti%20ad%20apache%20per%20ottimizzare%20e%20velocizzare%20il%20caricamento%20dei%20vostri%20siti%20web&amp;notes=Per%20prima%20cosa%20dovete%20aver%20gi%C3%A0%20installato%20nginx%20e%20spostato%20apache%20su%20un%20altra%20porta%2Fip.%20Una%20volta%20fatta%20questa%20procedura%20bisogner%C3%A0%20semplicemente%20configurare%20nginx%20in%20modo%20da%20istruirlo%20sul%20da-farsi.%0D%0A%0D%0APremetto%20che%20su%20quest%27esempio%20che%20porter%C3%B2%20ho%20s" title="del.icio.us"><img src="http://www.andreabaccega.com/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://technorati.com/faves?add=http%3A%2F%2Fwww.andreabaccega.com%2Fblog%2F2010%2F04%2F07%2Fcome-configurare-nginx-davanti-ad-apache-per-ottimizzare-e-velocizzare-il-caricamento-dei-vostri-siti-web%2F" title="Technorati"><img src="http://www.andreabaccega.com/wp-content/plugins/sociable/images/technorati.png" title="Technorati" alt="Technorati" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.andreabaccega.com%2Fblog%2F2010%2F04%2F07%2Fcome-configurare-nginx-davanti-ad-apache-per-ottimizzare-e-velocizzare-il-caricamento-dei-vostri-siti-web%2F&amp;title=Come%20configurare%20Nginx%20davanti%20ad%20apache%20per%20ottimizzare%20e%20velocizzare%20il%20caricamento%20dei%20vostri%20siti%20web&amp;bodytext=Per%20prima%20cosa%20dovete%20aver%20gi%C3%A0%20installato%20nginx%20e%20spostato%20apache%20su%20un%20altra%20porta%2Fip.%20Una%20volta%20fatta%20questa%20procedura%20bisogner%C3%A0%20semplicemente%20configurare%20nginx%20in%20modo%20da%20istruirlo%20sul%20da-farsi.%0D%0A%0D%0APremetto%20che%20su%20quest%27esempio%20che%20porter%C3%B2%20ho%20s" title="Digg"><img src="http://www.andreabaccega.com/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fwww.andreabaccega.com%2Fblog%2F2010%2F04%2F07%2Fcome-configurare-nginx-davanti-ad-apache-per-ottimizzare-e-velocizzare-il-caricamento-dei-vostri-siti-web%2F&amp;title=Come%20configurare%20Nginx%20davanti%20ad%20apache%20per%20ottimizzare%20e%20velocizzare%20il%20caricamento%20dei%20vostri%20siti%20web&amp;annotation=Per%20prima%20cosa%20dovete%20aver%20gi%C3%A0%20installato%20nginx%20e%20spostato%20apache%20su%20un%20altra%20porta%2Fip.%20Una%20volta%20fatta%20questa%20procedura%20bisogner%C3%A0%20semplicemente%20configurare%20nginx%20in%20modo%20da%20istruirlo%20sul%20da-farsi.%0D%0A%0D%0APremetto%20che%20su%20quest%27esempio%20che%20porter%C3%B2%20ho%20s" title="Google Bookmarks"><img src="http://www.andreabaccega.com/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.facebook.com/share.php?u=http%3A%2F%2Fwww.andreabaccega.com%2Fblog%2F2010%2F04%2F07%2Fcome-configurare-nginx-davanti-ad-apache-per-ottimizzare-e-velocizzare-il-caricamento-dei-vostri-siti-web%2F&amp;t=Come%20configurare%20Nginx%20davanti%20ad%20apache%20per%20ottimizzare%20e%20velocizzare%20il%20caricamento%20dei%20vostri%20siti%20web" title="Facebook"><img src="http://www.andreabaccega.com/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.mixx.com/submit?page_url=http%3A%2F%2Fwww.andreabaccega.com%2Fblog%2F2010%2F04%2F07%2Fcome-configurare-nginx-davanti-ad-apache-per-ottimizzare-e-velocizzare-il-caricamento-dei-vostri-siti-web%2F&amp;title=Come%20configurare%20Nginx%20davanti%20ad%20apache%20per%20ottimizzare%20e%20velocizzare%20il%20caricamento%20dei%20vostri%20siti%20web" title="Mixx"><img src="http://www.andreabaccega.com/wp-content/plugins/sociable/images/mixx.png" title="Mixx" alt="Mixx" class="sociable-hovers" /></a>


<br/><br/>]]></content:encoded>
			<wfw:commentRss>http://www.andreabaccega.com/blog/2010/04/07/come-configurare-nginx-davanti-ad-apache-per-ottimizzare-e-velocizzare-il-caricamento-dei-vostri-siti-web/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Come Controllare se datePicker di jQuery è caricato</title>
		<link>http://www.andreabaccega.com/blog/2010/04/06/come-controllare-se-datepicker-di-jquery-e-caricato/</link>
		<comments>http://www.andreabaccega.com/blog/2010/04/06/come-controllare-se-datepicker-di-jquery-e-caricato/#comments</comments>
		<pubDate>Tue, 06 Apr 2010 09:21:45 +0000</pubDate>
		<dc:creator>veke87</dc:creator>
				<category><![CDATA[Programmazione]]></category>
		<category><![CDATA[datepicker]]></category>
		<category><![CDATA[jquery]]></category>

		<guid isPermaLink="false">http://www.andreabaccega.com/?p=387</guid>
		<description><![CDATA[Penso sia più di una vita che non scrivo un articolo di programmazione. Beh oggi, per lavoro, ho dovuto scrivere del codice javascript e per motivi che trascendono dallo scopo di quest'articolo ho dovuto , ad un certo punto della programmazione, controllare se datePicker era caricato. Ci sono dei casi, infatti, che il javascript viene [...]]]></description>
			<content:encoded><![CDATA[<p>Penso sia più di una vita che non scrivo un articolo di programmazione.</p>
<p>Beh oggi, per lavoro, ho dovuto scrivere del codice javascript e per motivi che trascendono dallo scopo di quest'articolo ho dovuto , ad un certo punto della programmazione, controllare se datePicker era caricato.</p>
<p>Ci sono dei casi, infatti, che il javascript viene caricato da altri javascript e non sempre abbiamo la certezza ( Sopratutto cross-browser ) di sapere se il file js caricato progrmamaticamente è stato effettivamente "accettato" dal browser o meno.</p>
<p>Perciò mi son dovuto armare di pazienza e trovare un modo per vedere se datePicker era caricato o meno.</p>
<p>Per completezza, nel momento in cui scrivo, ho utilizzato il datepicker v2 che <a target="_blank" title="datepicker" href="http://www.kelvinluck.com/assets/jquery/datePicker/v2/demo/" target="_blank">trovate a questa pagina</a>.</p>
<p>Ebbene, il barbatrucco è contenuto nella seguente riga di codice:</p>
<div class="igBar"><span id="ljavascript-6"><a target="_blank" href="#" onclick="javascript:showCodeTxt('javascript-6'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">JAVASCRIPT:</span>
<div id="javascript-6">
<div class="javascript">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #003366; font-weight: bold;">function</span> startX<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span> <span style="color: #66cc66;">&#123;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp;<span style="color: #000066; font-weight: bold;">if</span> <span style="color: #66cc66;">&#40;</span> <span style="color: #000066; font-weight: bold;">typeof</span> jQuery<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>.<span style="color: #006600;">datePicker</span> != <span style="color: #3366CC;">'function'</span><span style="color: #66cc66;">&#41;</span> <span style="color: #66cc66;">&#123;</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; setTimeout<span style="color: #66cc66;">&#40;</span><span style="color: #3366CC;">'startX()'</span>, <span style="color: #CC0000;color:#800000;">200</span><span style="color: #66cc66;">&#41;</span>;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; <span style="color: #000066; font-weight: bold;">return</span>;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp;<span style="color: #66cc66;">&#125;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp;<span style="color: #009900; font-style: italic;">// Altro codice da inserire in caso datePicker sia stato correttamente caricato</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #66cc66;">&#125;</span> </div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
<p>Ebbene, non faccio altro che controllare ogni 200 ms se datePicker è stato correttamente caricato e in caso positivo eseguo il codice dopo l'if.</p>



Share and Enjoy:


	<a rel="nofollow"  target="_blank" href="http://delicious.com/post?url=http%3A%2F%2Fwww.andreabaccega.com%2Fblog%2F2010%2F04%2F06%2Fcome-controllare-se-datepicker-di-jquery-e-caricato%2F&amp;title=Come%20Controllare%20se%20datePicker%20di%20jQuery%20%C3%A8%20caricato&amp;notes=Penso%20sia%20pi%C3%B9%20di%20una%20vita%20che%20non%20scrivo%20un%20articolo%20di%20programmazione.%0D%0A%0D%0ABeh%20oggi%2C%20per%20lavoro%2C%20ho%20dovuto%20scrivere%20del%20codice%20javascript%20e%20per%20motivi%20che%20trascendono%20dallo%20scopo%20di%20quest%27articolo%20ho%20dovuto%20%2C%20ad%20un%20certo%20punto%20della%20programmazione%2C%20" title="del.icio.us"><img src="http://www.andreabaccega.com/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://technorati.com/faves?add=http%3A%2F%2Fwww.andreabaccega.com%2Fblog%2F2010%2F04%2F06%2Fcome-controllare-se-datepicker-di-jquery-e-caricato%2F" title="Technorati"><img src="http://www.andreabaccega.com/wp-content/plugins/sociable/images/technorati.png" title="Technorati" alt="Technorati" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.andreabaccega.com%2Fblog%2F2010%2F04%2F06%2Fcome-controllare-se-datepicker-di-jquery-e-caricato%2F&amp;title=Come%20Controllare%20se%20datePicker%20di%20jQuery%20%C3%A8%20caricato&amp;bodytext=Penso%20sia%20pi%C3%B9%20di%20una%20vita%20che%20non%20scrivo%20un%20articolo%20di%20programmazione.%0D%0A%0D%0ABeh%20oggi%2C%20per%20lavoro%2C%20ho%20dovuto%20scrivere%20del%20codice%20javascript%20e%20per%20motivi%20che%20trascendono%20dallo%20scopo%20di%20quest%27articolo%20ho%20dovuto%20%2C%20ad%20un%20certo%20punto%20della%20programmazione%2C%20" title="Digg"><img src="http://www.andreabaccega.com/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fwww.andreabaccega.com%2Fblog%2F2010%2F04%2F06%2Fcome-controllare-se-datepicker-di-jquery-e-caricato%2F&amp;title=Come%20Controllare%20se%20datePicker%20di%20jQuery%20%C3%A8%20caricato&amp;annotation=Penso%20sia%20pi%C3%B9%20di%20una%20vita%20che%20non%20scrivo%20un%20articolo%20di%20programmazione.%0D%0A%0D%0ABeh%20oggi%2C%20per%20lavoro%2C%20ho%20dovuto%20scrivere%20del%20codice%20javascript%20e%20per%20motivi%20che%20trascendono%20dallo%20scopo%20di%20quest%27articolo%20ho%20dovuto%20%2C%20ad%20un%20certo%20punto%20della%20programmazione%2C%20" title="Google Bookmarks"><img src="http://www.andreabaccega.com/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.facebook.com/share.php?u=http%3A%2F%2Fwww.andreabaccega.com%2Fblog%2F2010%2F04%2F06%2Fcome-controllare-se-datepicker-di-jquery-e-caricato%2F&amp;t=Come%20Controllare%20se%20datePicker%20di%20jQuery%20%C3%A8%20caricato" title="Facebook"><img src="http://www.andreabaccega.com/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.mixx.com/submit?page_url=http%3A%2F%2Fwww.andreabaccega.com%2Fblog%2F2010%2F04%2F06%2Fcome-controllare-se-datepicker-di-jquery-e-caricato%2F&amp;title=Come%20Controllare%20se%20datePicker%20di%20jQuery%20%C3%A8%20caricato" title="Mixx"><img src="http://www.andreabaccega.com/wp-content/plugins/sociable/images/mixx.png" title="Mixx" alt="Mixx" class="sociable-hovers" /></a>


<br/><br/>]]></content:encoded>
			<wfw:commentRss>http://www.andreabaccega.com/blog/2010/04/06/come-controllare-se-datepicker-di-jquery-e-caricato/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Simple Gps Info for Android</title>
		<link>http://www.andreabaccega.com/blog/2010/03/20/simple-gps-info-for-android/</link>
		<comments>http://www.andreabaccega.com/blog/2010/03/20/simple-gps-info-for-android/#comments</comments>
		<pubDate>Sat, 20 Mar 2010 13:07:40 +0000</pubDate>
		<dc:creator>veke87</dc:creator>
				<category><![CDATA[Programmazione]]></category>
		<category><![CDATA[android]]></category>
		<category><![CDATA[gps]]></category>

		<guid isPermaLink="false">http://www.andreabaccega.com/?p=383</guid>
		<description><![CDATA[Simple Gps Info is a simple android application that would help you know and share your gps coordinates with your android smartphone. The code is really fast and efficient and the app consist on a simple to understand layout without any kind of menu. Once started, Simple Gps info for Android will start automatically your [...]]]></description>
			<content:encoded><![CDATA[<p>Simple Gps Info is a simple android application that would help you know and <strong>share your gps coordinates with your android smartphone</strong>. The code is really fast and efficient and the app consist on a simple to understand layout without any kind of menu.</p>
<p>Once started, <strong>Simple Gps info for Android</strong> will start automatically your android gps ( Even if it's disabled by you ) and then it will start seeking for a gps-fix.</p>
<p>In the meanwhile you could also look at the radar that would rotate following  the north pole. You can try and see where is the north-pole by simply rotating your smartphone. Furthermore the radar will show you the satellites you're smartphone is receiving.</p>
<p>When the Gps sensor get the fix you'll start to see the coordinates changing and you'll be able to <strong>share your location with your android phone</strong>.</p>
<p>In order to accomplish this task you've to push the bottom-placed button and then choose how to share it.</p>
<p>Right now Simple Gps info will support the following way to share the location:</p>
<ul>
<li>Facebook</li>
<li>Twitter</li>
<li>Sms</li>
<li>Gmail</li>
<li>Others activity implementing text/plain content-type intent receiver.</li>
</ul>
<p>Here are some screenshots of the first version. ( Now improved with better graphics )</p>

<a href='http://www.andreabaccega.com/blog/2010/03/20/simple-gps-info-for-android/simplegps0/' title='simplegps0'><img width="150" height="150" src="http://www.andreabaccega.com/files/2010/03/simplegps0-150x150.jpg" class="attachment-thumbnail" alt="simplegps0" title="simplegps0" /></a>
<a href='http://www.andreabaccega.com/blog/2010/03/20/simple-gps-info-for-android/simplegps1/' title='simplegps1'><img width="150" height="150" src="http://www.andreabaccega.com/files/2010/03/simplegps1-150x150.jpg" class="attachment-thumbnail" alt="simplegps1" title="simplegps1" /></a>

<p>If you've installed Barcode Scanner on your android phone you can scan this:</p>
<p><img class="aligncenter" src="http://chart.apis.google.com/chart?cht=qr&amp;chs=150x150&amp;chl=http://cyrket.com/qr/76238" alt="" width="150" height="150" /></p>



Share and Enjoy:


	<a rel="nofollow"  target="_blank" href="http://delicious.com/post?url=http%3A%2F%2Fwww.andreabaccega.com%2Fblog%2F2010%2F03%2F20%2Fsimple-gps-info-for-android%2F&amp;title=Simple%20Gps%20Info%20for%20Android&amp;notes=Simple%20Gps%20Info%20is%20a%20simple%20android%20application%20that%20would%20help%20you%20know%20and%20share%20your%20gps%20coordinates%20with%20your%20android%20smartphone.%20The%20code%20is%20really%20fast%20and%20efficient%20and%20the%20app%20consist%20on%20a%20simple%20to%20understand%20layout%20without%20any%20kind%20of%20menu." title="del.icio.us"><img src="http://www.andreabaccega.com/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://technorati.com/faves?add=http%3A%2F%2Fwww.andreabaccega.com%2Fblog%2F2010%2F03%2F20%2Fsimple-gps-info-for-android%2F" title="Technorati"><img src="http://www.andreabaccega.com/wp-content/plugins/sociable/images/technorati.png" title="Technorati" alt="Technorati" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.andreabaccega.com%2Fblog%2F2010%2F03%2F20%2Fsimple-gps-info-for-android%2F&amp;title=Simple%20Gps%20Info%20for%20Android&amp;bodytext=Simple%20Gps%20Info%20is%20a%20simple%20android%20application%20that%20would%20help%20you%20know%20and%20share%20your%20gps%20coordinates%20with%20your%20android%20smartphone.%20The%20code%20is%20really%20fast%20and%20efficient%20and%20the%20app%20consist%20on%20a%20simple%20to%20understand%20layout%20without%20any%20kind%20of%20menu." title="Digg"><img src="http://www.andreabaccega.com/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fwww.andreabaccega.com%2Fblog%2F2010%2F03%2F20%2Fsimple-gps-info-for-android%2F&amp;title=Simple%20Gps%20Info%20for%20Android&amp;annotation=Simple%20Gps%20Info%20is%20a%20simple%20android%20application%20that%20would%20help%20you%20know%20and%20share%20your%20gps%20coordinates%20with%20your%20android%20smartphone.%20The%20code%20is%20really%20fast%20and%20efficient%20and%20the%20app%20consist%20on%20a%20simple%20to%20understand%20layout%20without%20any%20kind%20of%20menu." title="Google Bookmarks"><img src="http://www.andreabaccega.com/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.facebook.com/share.php?u=http%3A%2F%2Fwww.andreabaccega.com%2Fblog%2F2010%2F03%2F20%2Fsimple-gps-info-for-android%2F&amp;t=Simple%20Gps%20Info%20for%20Android" title="Facebook"><img src="http://www.andreabaccega.com/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.mixx.com/submit?page_url=http%3A%2F%2Fwww.andreabaccega.com%2Fblog%2F2010%2F03%2F20%2Fsimple-gps-info-for-android%2F&amp;title=Simple%20Gps%20Info%20for%20Android" title="Mixx"><img src="http://www.andreabaccega.com/wp-content/plugins/sociable/images/mixx.png" title="Mixx" alt="Mixx" class="sociable-hovers" /></a>


<br/><br/>]]></content:encoded>
			<wfw:commentRss>http://www.andreabaccega.com/blog/2010/03/20/simple-gps-info-for-android/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Il Vincitore di Xfactor preannunciato da Google</title>
		<link>http://www.andreabaccega.com/blog/2009/12/02/il-vincitore-di-xfactor-preannunciato-da-google/</link>
		<comments>http://www.andreabaccega.com/blog/2009/12/02/il-vincitore-di-xfactor-preannunciato-da-google/#comments</comments>
		<pubDate>Wed, 02 Dec 2009 22:31:37 +0000</pubDate>
		<dc:creator>veke87</dc:creator>
				<category><![CDATA[google]]></category>
		<category><![CDATA[xfactor]]></category>

		<guid isPermaLink="false">http://www.andreabaccega.com/?p=380</guid>
		<description><![CDATA[Come feci qualche anno fa per le elezioni italiane, mi ritrovo qualche ora prima dell'annuncio del vero vincitore di xfactor a fare una previsione sul candidato papabile.. come? E' semplice: Uso google. Come moltissimi di voi sapranno, google è il motore di ricerca più utilizzato al mondo. Questo permette a google di prevedere cose semplicemente [...]]]></description>
			<content:encoded><![CDATA[<p>Come<a href="http://www.andreabaccega.com/google/elezioni-2008-berlusconi-vincitore-anche-per-google/" target="_blank"> feci qualche anno fa per le elezioni italiane</a>, mi ritrovo qualche ora prima dell'annuncio del vero vincitore di xfactor a fare una previsione sul candidato papabile.. come? E' semplice: <strong>Uso google.</strong></p>
<p>Come moltissimi di voi sapranno, google è il motore di ricerca più utilizzato al mondo. <strong>Questo permette a google di prevedere cose semplicemente analizzando il trend delle ricerche effettuate attraverso il suo box di ricerca</strong>.</p>
<p>Ebbene, nel momento in cui scrivo, 23.23 di mercoledi 2 dicembre, google fornisce questi dati:</p>
<div id="attachment_381" class="wp-caption aligncenter" style="width: 590px"><img class="size-full wp-image-381" title="xfactor-previsione-google" src="http://www.andreabaccega.com/files/2009/12/xfactor-previsione-google.png" alt="xfactor-previsione-google" width="580" height="260" /><p class="wp-caption-text">marco mengoni, yavanna, giuliano rassu</p></div>
<p style="text-align: left;">Il grafico sopra potrebbe apparire un pochino illeggibile . Partiamo con lo spiegare i colori:</p>
<ul>
<li><span style="color: #0000ff;">marco mengoni</span></li>
<li><span style="color: #993300;">yavanna</span></li>
<li><span style="color: #ff9900;">giuliano rassu</span></li>
</ul>
<p>Intuitivamente, per chi non sa leggere questo tipo di grafici, abbiamo<strong> sull'asse orizzontale il tempo</strong> e su <strong>quello verticale un numero indicativo che suggerisce il volume di ricerca su google</strong> per quella kw.</p>
<p>Detto questo è facile intuire che marco mengoni sia quello che desta più interesse su google.</p>
<h2>Conclusioni</h2>
<p>La mia previsione, basandomi sui dati di google, <strong>è ovviamente la vincita di marco mengoni.</strong> Basta aspettare qualche altro minuto per vedere se avevo ragione.</p>



Share and Enjoy:


	<a rel="nofollow"  target="_blank" href="http://delicious.com/post?url=http%3A%2F%2Fwww.andreabaccega.com%2Fblog%2F2009%2F12%2F02%2Fil-vincitore-di-xfactor-preannunciato-da-google%2F&amp;title=Il%20Vincitore%20di%20Xfactor%20preannunciato%20da%20Google&amp;notes=Come%20feci%20qualche%20anno%20fa%20per%20le%20elezioni%20italiane%2C%20mi%20ritrovo%20qualche%20ora%20prima%20dell%27annuncio%20del%20vero%20vincitore%20di%20xfactor%20a%20fare%20una%20previsione%20sul%20candidato%20papabile..%20come%3F%20E%27%20semplice%3A%20Uso%20google.%0D%0A%0D%0ACome%20moltissimi%20di%20voi%20sapranno%2C%20google%20%C3%A8%20i" title="del.icio.us"><img src="http://www.andreabaccega.com/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://technorati.com/faves?add=http%3A%2F%2Fwww.andreabaccega.com%2Fblog%2F2009%2F12%2F02%2Fil-vincitore-di-xfactor-preannunciato-da-google%2F" title="Technorati"><img src="http://www.andreabaccega.com/wp-content/plugins/sociable/images/technorati.png" title="Technorati" alt="Technorati" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.andreabaccega.com%2Fblog%2F2009%2F12%2F02%2Fil-vincitore-di-xfactor-preannunciato-da-google%2F&amp;title=Il%20Vincitore%20di%20Xfactor%20preannunciato%20da%20Google&amp;bodytext=Come%20feci%20qualche%20anno%20fa%20per%20le%20elezioni%20italiane%2C%20mi%20ritrovo%20qualche%20ora%20prima%20dell%27annuncio%20del%20vero%20vincitore%20di%20xfactor%20a%20fare%20una%20previsione%20sul%20candidato%20papabile..%20come%3F%20E%27%20semplice%3A%20Uso%20google.%0D%0A%0D%0ACome%20moltissimi%20di%20voi%20sapranno%2C%20google%20%C3%A8%20i" title="Digg"><img src="http://www.andreabaccega.com/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fwww.andreabaccega.com%2Fblog%2F2009%2F12%2F02%2Fil-vincitore-di-xfactor-preannunciato-da-google%2F&amp;title=Il%20Vincitore%20di%20Xfactor%20preannunciato%20da%20Google&amp;annotation=Come%20feci%20qualche%20anno%20fa%20per%20le%20elezioni%20italiane%2C%20mi%20ritrovo%20qualche%20ora%20prima%20dell%27annuncio%20del%20vero%20vincitore%20di%20xfactor%20a%20fare%20una%20previsione%20sul%20candidato%20papabile..%20come%3F%20E%27%20semplice%3A%20Uso%20google.%0D%0A%0D%0ACome%20moltissimi%20di%20voi%20sapranno%2C%20google%20%C3%A8%20i" title="Google Bookmarks"><img src="http://www.andreabaccega.com/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.facebook.com/share.php?u=http%3A%2F%2Fwww.andreabaccega.com%2Fblog%2F2009%2F12%2F02%2Fil-vincitore-di-xfactor-preannunciato-da-google%2F&amp;t=Il%20Vincitore%20di%20Xfactor%20preannunciato%20da%20Google" title="Facebook"><img src="http://www.andreabaccega.com/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.mixx.com/submit?page_url=http%3A%2F%2Fwww.andreabaccega.com%2Fblog%2F2009%2F12%2F02%2Fil-vincitore-di-xfactor-preannunciato-da-google%2F&amp;title=Il%20Vincitore%20di%20Xfactor%20preannunciato%20da%20Google" title="Mixx"><img src="http://www.andreabaccega.com/wp-content/plugins/sociable/images/mixx.png" title="Mixx" alt="Mixx" class="sociable-hovers" /></a>


<br/><br/>]]></content:encoded>
			<wfw:commentRss>http://www.andreabaccega.com/blog/2009/12/02/il-vincitore-di-xfactor-preannunciato-da-google/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Come creare una richiesta di scambio link efficace</title>
		<link>http://www.andreabaccega.com/blog/2009/10/02/come-creare-una-richiesta-di-scambio-link-efficace/</link>
		<comments>http://www.andreabaccega.com/blog/2009/10/02/come-creare-una-richiesta-di-scambio-link-efficace/#comments</comments>
		<pubDate>Fri, 02 Oct 2009 19:21:43 +0000</pubDate>
		<dc:creator>veke87</dc:creator>
				<category><![CDATA[Seo]]></category>
		<category><![CDATA[link]]></category>
		<category><![CDATA[scambio link]]></category>

		<guid isPermaLink="false">http://www.andreabaccega.com/?p=371</guid>
		<description><![CDATA[Esiste un modo, una forma, un modello per creare delle richieste di scambio link più efficace? La risposta è Si. Premetto con il dire che non ho alcun test, ne alcuna statistica che supporti le mie teorie, però per esperienza personale alcune richieste che ricevo non le leggo nemmeno e altre invece le valuto con [...]]]></description>
			<content:encoded><![CDATA[<p><img class="aligncenter size-medium wp-image-372" title="scambio-link" src="http://www.andreabaccega.com/files/2009/10/scambio-link-300x196.jpg" alt="scambio-link" width="300" height="196" /></p>
<p><strong>Esiste un modo, una forma, un modello per creare delle richieste di scambio link più efficace</strong>? La risposta è Si.</p>
<p>Premetto con il dire che <strong>non ho alcun test, ne alcuna statistica che supporti le mie teorie</strong>, però per esperienza personale alcune richieste che ricevo non le leggo nemmeno e altre invece le valuto con maggiore interesse e attenzione. Perchè?</p>
<p>Normalmente, infatti, <strong>le richieste di scambio link che mi arrivano assomigliano a qualcosa tipo</strong>:</p>
<blockquote><p>Ciao,</p>
<p>mi piacerebbe scambiare un link con te.</p></blockquote>
<p>Alcuni addirittura si dilungano con lo spiegarmi che fare queste procedure di scambio link mi faranno salire maggiormente nei motori di ricerca.. ( LOL <img src='http://www.andreabaccega.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  ).</p>
<p>Ebbene, queste richieste, un po' piatte nel loro essere, le boicotto senza nemmeno andare a vedere il sito richiedente.</p>
<p>Esistono invece delle richieste meglio formate, delle richieste che leggo volentieri e che sono molto più propenso nell'accettare.</p>
<h3>Pensieri e teorie assolutamente riconosciute ma che vanno riportate:</h3>
<h4>1. Fattore : scrivere il nome del sito o considerazioni di questo nel testo</h4>
<p>Ho osservato, un po per caso, che le richieste che mi destavano maggiore interesse erano quelle che riportavano il mio nome o che scrivevano qualcosa che centrasse con il sito dove ricevevo la richiesta.</p>
<p>Infatti, inserire il mio nome o qualcosa che mi facesse capire che la richiesta non era automatizzata mi dava un impressione del tipo:</p>
<blockquote><p>Cazzo, questa persona ha perso veramente del tempo sul mio sito e se mi scrive significa che le è piaciuto il contenuto</p></blockquote>
<p>La differenza dalle richieste piatte e senza nome riportate ad inizio articolo e queste è proprio la percezione che ha il destinatario che si sente, in qualche modo, veramente preso in causa e capisce che il mittente è in qualche modo realmente interessato al proprio sito.</p>
<h4>2. Fattore: Oggetto con il mio nome e nome del sito</h4>
<p>Anche questo è un fattore riconosciuto nell'e-mail marketing. Scrivere il nome della persona da contattare ( se lo si conosce ) oppure il nome del sito internet nell'oggetto dell'e-mail aumenta positivamente non solo la risposta delle persone, ma anche porta molte più persone a compiere una determinata azione. ( in questo caso effettuare uno scambio link)</p>
<h3 style="font-size: 1.17em;">Una richiesta fatta bene.</h3>
<p>Tenendo a mente quanto detto fin'ora vorrei analizzare il corpo di un e-mail che mi è arrivata di richiesta dove il soggetto conteneva il mio nome e il body delle-mail era circa questo:</p>
<blockquote><p>Ciao, ho visto il tuo sito internet e lo trovo veramente interessante. Complimenti !</p>
<p>Volevo proporti uno scambio link con il mio sito. Nel frattempo ti ho già inserito nel mio sito a questa pagina : http://www......</p></blockquote>
<p>Nell resto dell'articolo spezzo in parti il precedente messaggio e lo analizzo in alcuni dettagli:</p>
<p>Normalmente le richieste che si ricevono, essendo piatte, non inducono nessuna "sensazione" nel lettore; questa proposta, invece, è completamente differente e induce nel lettore, in questo caso io, una sensazione di debito . Il messaggio in questione può essere suddiviso in 3 parti diverse:</p>
<h3 style="font-size: 1.17em;">1. Parte smielosa ( ma che non fa mai male )</h3>
<blockquote><p>Ciao, ho visto il tuo sito e mi pare interessante.</p></blockquote>
<p>Scrivendo questa semplicissima frase, peraltro comune per tutte le richieste di scambio link, si cerca di <strong>portare il proprio apprezzamento al destinatario</strong> che probabilmente gradirà maggiormente la parte restante del messaggio<strong> aumentando in questo modo le possibilità di scambio link</strong> <img src='http://www.andreabaccega.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<h3 style="font-size: 1.17em;">2. Il nocciolo della questione</h3>
<blockquote><p>Volevo proporti uno scambio link con il mio sito.</p></blockquote>
<p>Questa parte della richiesta non credo necessiti ulteriori approfondimenti <img src='http://www.andreabaccega.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<h3 style="font-size: 1.17em;">3. Il vero trucco</h3>
<blockquote><p>Nel frattempo ti ho già inserito nel mio sito a questa pagina : http://www......</p></blockquote>
<p>Questa frase è proprio <strong>una bomba atomica</strong> secondo me e vi voglio spiegare perchè:</p>
<p>Ormai <strong>il 90% dei proprietari di siti internet</strong> hanno un idea, più o meno vaga di come sia <strong>importante sviluppare la sfera off-page</strong> dei fattori seo. 9 volte su 10 quando richiederete uno scambio link il destinatario conoscerà già dei mezzi per comparare  l'importanza del vostro sito e quindi <strong>sarà in grado di capire se la vostra richiesta possa effettivamente portargli dei benefici</strong>.</p>
<p>Appurato che quando andiamo a scrivere una richiesta di scambio link ci troveremo di fronte qualcuno che sa di cosa parliamo e come comportarsi, <strong><span style="text-decoration: underline;">la frase sopracitata è un barbatrucco per indurre queste persone</span></strong><span style="text-decoration: underline;"> </span><strong><span style="text-decoration: underline;">a pensare che sono in debito con voi</span></strong><span style="text-decoration: underline;">.</span> Per fare questa piccola mossa astuta <strong>basta fare il primo passo e inserire il link del destinatario precedentemente all'invio della mail dando loro anche la possibilità di controllare l'effettivo inseriment</strong>o (inserendo il link ).</p>
<p>Il destinatario, pensando di essere in debito con voi,  sarà maggiormente portato a contraccambiare il vostro link ( magari anche di pagerank/trustrank maggiore).</p>
<p><strong>Conclusioni</strong></p>
<p>Se dovete fare una campagna di scambio link, utilizzare dei mezzi automatici potrebbe non rendere quanto spendere del tempo per ogni sito target e creare una richiesta ad hoc per ogni sito web.</p>
<p>PS: Tutte le riflessioni e le considerazioni riportate in quest'articolo sono mie e non hanno base scientifica e/o statistica. Mi pareva giusto condividere con quei pochi che mi leggono le mie riflessioni! <img src='http://www.andreabaccega.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>



Share and Enjoy:


	<a rel="nofollow"  target="_blank" href="http://delicious.com/post?url=http%3A%2F%2Fwww.andreabaccega.com%2Fblog%2F2009%2F10%2F02%2Fcome-creare-una-richiesta-di-scambio-link-efficace%2F&amp;title=Come%20creare%20una%20richiesta%20di%20scambio%20link%20efficace&amp;notes=%0D%0A%0D%0AEsiste%20un%20modo%2C%20una%20forma%2C%20un%20modello%20per%20creare%20delle%20richieste%20di%20scambio%20link%20pi%C3%B9%20efficace%3F%20La%20risposta%20%C3%A8%20Si.%0D%0A%0D%0APremetto%20con%20il%20dire%20che%20non%20ho%20alcun%20test%2C%20ne%20alcuna%20statistica%20che%20supporti%20le%20mie%20teorie%2C%20per%C3%B2%20per%20esperienza%20personale%20alcu" title="del.icio.us"><img src="http://www.andreabaccega.com/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://technorati.com/faves?add=http%3A%2F%2Fwww.andreabaccega.com%2Fblog%2F2009%2F10%2F02%2Fcome-creare-una-richiesta-di-scambio-link-efficace%2F" title="Technorati"><img src="http://www.andreabaccega.com/wp-content/plugins/sociable/images/technorati.png" title="Technorati" alt="Technorati" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.andreabaccega.com%2Fblog%2F2009%2F10%2F02%2Fcome-creare-una-richiesta-di-scambio-link-efficace%2F&amp;title=Come%20creare%20una%20richiesta%20di%20scambio%20link%20efficace&amp;bodytext=%0D%0A%0D%0AEsiste%20un%20modo%2C%20una%20forma%2C%20un%20modello%20per%20creare%20delle%20richieste%20di%20scambio%20link%20pi%C3%B9%20efficace%3F%20La%20risposta%20%C3%A8%20Si.%0D%0A%0D%0APremetto%20con%20il%20dire%20che%20non%20ho%20alcun%20test%2C%20ne%20alcuna%20statistica%20che%20supporti%20le%20mie%20teorie%2C%20per%C3%B2%20per%20esperienza%20personale%20alcu" title="Digg"><img src="http://www.andreabaccega.com/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fwww.andreabaccega.com%2Fblog%2F2009%2F10%2F02%2Fcome-creare-una-richiesta-di-scambio-link-efficace%2F&amp;title=Come%20creare%20una%20richiesta%20di%20scambio%20link%20efficace&amp;annotation=%0D%0A%0D%0AEsiste%20un%20modo%2C%20una%20forma%2C%20un%20modello%20per%20creare%20delle%20richieste%20di%20scambio%20link%20pi%C3%B9%20efficace%3F%20La%20risposta%20%C3%A8%20Si.%0D%0A%0D%0APremetto%20con%20il%20dire%20che%20non%20ho%20alcun%20test%2C%20ne%20alcuna%20statistica%20che%20supporti%20le%20mie%20teorie%2C%20per%C3%B2%20per%20esperienza%20personale%20alcu" title="Google Bookmarks"><img src="http://www.andreabaccega.com/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.facebook.com/share.php?u=http%3A%2F%2Fwww.andreabaccega.com%2Fblog%2F2009%2F10%2F02%2Fcome-creare-una-richiesta-di-scambio-link-efficace%2F&amp;t=Come%20creare%20una%20richiesta%20di%20scambio%20link%20efficace" title="Facebook"><img src="http://www.andreabaccega.com/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.mixx.com/submit?page_url=http%3A%2F%2Fwww.andreabaccega.com%2Fblog%2F2009%2F10%2F02%2Fcome-creare-una-richiesta-di-scambio-link-efficace%2F&amp;title=Come%20creare%20una%20richiesta%20di%20scambio%20link%20efficace" title="Mixx"><img src="http://www.andreabaccega.com/wp-content/plugins/sociable/images/mixx.png" title="Mixx" alt="Mixx" class="sociable-hovers" /></a>


<br/><br/>]]></content:encoded>
			<wfw:commentRss>http://www.andreabaccega.com/blog/2009/10/02/come-creare-una-richiesta-di-scambio-link-efficace/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Nuovo strumento Seo: Il link semi-reciproco</title>
		<link>http://www.andreabaccega.com/blog/2009/10/02/nuovo-strumento-seo-il-link-semi-reciproco/</link>
		<comments>http://www.andreabaccega.com/blog/2009/10/02/nuovo-strumento-seo-il-link-semi-reciproco/#comments</comments>
		<pubDate>Fri, 02 Oct 2009 19:19:57 +0000</pubDate>
		<dc:creator>veke87</dc:creator>
				<category><![CDATA[Seo]]></category>
		<category><![CDATA[greyhatseo]]></category>
		<category><![CDATA[link reciproco]]></category>

		<guid isPermaLink="false">http://www.andreabaccega.com/?p=368</guid>
		<description><![CDATA[Alcuni giorni fa, forse settimane, ho ricevuto una richiesta di scambio link apparentemente corretta. Il ragazzo che proponeva lo scambio link mi aveva addescato con una frase del tipo: Ciao, ho visto il tuo sito e mi pare interessante. Volevo proporti uno scambio link con il mio sito. Nel frattempo ti ho già inserito nel [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft" style="float:left;margin-right:15px;" title="Seo" src="http://www.internet-retailer.com/skin_default/templateimages/content_seo_dos.jpg" alt="" width="233" height="233" />Alcuni giorni fa, forse settimane, <strong>ho ricevuto una richiesta di scambio link apparentemente corretta</strong>.</p>
<p>Il ragazzo che proponeva lo scambio link mi aveva addescato con una frase del tipo:</p>
<blockquote><p>Ciao, ho visto il tuo sito e mi pare interessante.</p>
<p>Volevo proporti uno scambio link con il mio sito. Nel frattempo ti ho già inserito nel mio sito a questa pagina : http://www......</p></blockquote>
<p>Secondo la mia visione della SEO <strong>un link reciproco non ha moltissimo senso negli ultimi tempi</strong>, però ho deciso di valutare lo stesso la richiesta e <strong>verificare  se effettivamente mi aveva inserito effettivamente nella pagina linkatami</strong>. ( e poi mi sono anche accorto perchè mi sono interessato particolarmente a questa richiesta).</p>
<p>Una volta entrato nel sito <strong>mi sono meravigliato del fatto che il link al mio sito effettivamente era presente</strong> ma qualcosa mi suonava strano così ho deciso di indagare a fondo sul sorgente della pagina se percaso il link aveva un bel rel=nofollow; purtroppo la mia sensazione ( un po diffidente ) era del tutto sbagliata..</p>
<p>Dopo alcuni minuti <strong>mi sono deciso a navigare il link senza il supporto al javascript</strong> ed ecco che l'arcano era svelato! nessun link presente nella pagina senza il supporto al js.</p>
<p>In questo modo , <strong>un utente un po' meno attento</strong>, poteva essere indotto a pensare che il link fosse effettivamente presente nella pagina e quindi portato a "restituire il favore" inserendo quel bel sito in una blogroll "normale" . <strong>Il risultato? Era un link diretto al sito web.</strong></p>
<p>Eh già.. nonostante google abbia affermato e confermato che riconosce un link generato in javascript (con particolari parametri), questo non era sicuramente uno di quei casi, dato che il link era estrapolato dai feed json della blogroll di delicious.</p>
<p>A questo punto, vi sarà chiaro il perchè del nome "Link semi reciproco" <img src='http://www.andreabaccega.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<h2>Come mettere in piedi un sistema di link semi-reciproco?</h2>
<p>Lungi da me darvi il codice javascript per creare questo barbatrucco. Vi basti sapere che il tutto può essere messo in piedi con una 20na di righe js/jquery e un file txt(se proprio si vogliono fare le cose fatte bene <img src='http://www.andreabaccega.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />   ).</p>
<p>Una volta fatto il codice js che prende il contenuto del txt, vi basterà lanciare la vostra funzioncina js alla fine del caricamento della pagina. Meglio ancora se si utilizza la funzione .ready()  di jQuery .</p>
<h3>Conclusioni:</h3>
<p>Penso che questi trucchetti da strapazzo possano aiutare a far salire nelle serp un sito ( sopratutto se i siti scelti come "vittime" sono coerenti con il target del sito ) , ma sicuramente fanno perdere un botto di reputazione... Ne vale la pena? Può essere <img src='http://www.andreabaccega.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Dopo tutta questa storia, c'è anche la componente marketing che però ho deciso di dividere in un secondo post disponibile qui:</p>
<p><a href="http://www.andreabaccega.com/seo/come-creare-una-richiesta-di-scambio-link-efficace/">http://www.andreabaccega.com/seo/come-creare-una-richiesta-di-scambio-link-efficace/</a></p>



Share and Enjoy:


	<a rel="nofollow"  target="_blank" href="http://delicious.com/post?url=http%3A%2F%2Fwww.andreabaccega.com%2Fblog%2F2009%2F10%2F02%2Fnuovo-strumento-seo-il-link-semi-reciproco%2F&amp;title=Nuovo%20strumento%20Seo%3A%20Il%20link%20semi-reciproco&amp;notes=Alcuni%20giorni%20fa%2C%20forse%20settimane%2C%20ho%20ricevuto%20una%20richiesta%20di%20scambio%20link%20apparentemente%20corretta.%0D%0A%0D%0AIl%20ragazzo%20che%20proponeva%20lo%20scambio%20link%20mi%20aveva%20addescato%20con%20una%20frase%20del%20tipo%3A%0D%0ACiao%2C%20ho%20visto%20il%20tuo%20sito%20e%20mi%20pare%20interessante.%0D%0A%0D%0AVolevo" title="del.icio.us"><img src="http://www.andreabaccega.com/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://technorati.com/faves?add=http%3A%2F%2Fwww.andreabaccega.com%2Fblog%2F2009%2F10%2F02%2Fnuovo-strumento-seo-il-link-semi-reciproco%2F" title="Technorati"><img src="http://www.andreabaccega.com/wp-content/plugins/sociable/images/technorati.png" title="Technorati" alt="Technorati" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.andreabaccega.com%2Fblog%2F2009%2F10%2F02%2Fnuovo-strumento-seo-il-link-semi-reciproco%2F&amp;title=Nuovo%20strumento%20Seo%3A%20Il%20link%20semi-reciproco&amp;bodytext=Alcuni%20giorni%20fa%2C%20forse%20settimane%2C%20ho%20ricevuto%20una%20richiesta%20di%20scambio%20link%20apparentemente%20corretta.%0D%0A%0D%0AIl%20ragazzo%20che%20proponeva%20lo%20scambio%20link%20mi%20aveva%20addescato%20con%20una%20frase%20del%20tipo%3A%0D%0ACiao%2C%20ho%20visto%20il%20tuo%20sito%20e%20mi%20pare%20interessante.%0D%0A%0D%0AVolevo" title="Digg"><img src="http://www.andreabaccega.com/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fwww.andreabaccega.com%2Fblog%2F2009%2F10%2F02%2Fnuovo-strumento-seo-il-link-semi-reciproco%2F&amp;title=Nuovo%20strumento%20Seo%3A%20Il%20link%20semi-reciproco&amp;annotation=Alcuni%20giorni%20fa%2C%20forse%20settimane%2C%20ho%20ricevuto%20una%20richiesta%20di%20scambio%20link%20apparentemente%20corretta.%0D%0A%0D%0AIl%20ragazzo%20che%20proponeva%20lo%20scambio%20link%20mi%20aveva%20addescato%20con%20una%20frase%20del%20tipo%3A%0D%0ACiao%2C%20ho%20visto%20il%20tuo%20sito%20e%20mi%20pare%20interessante.%0D%0A%0D%0AVolevo" title="Google Bookmarks"><img src="http://www.andreabaccega.com/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.facebook.com/share.php?u=http%3A%2F%2Fwww.andreabaccega.com%2Fblog%2F2009%2F10%2F02%2Fnuovo-strumento-seo-il-link-semi-reciproco%2F&amp;t=Nuovo%20strumento%20Seo%3A%20Il%20link%20semi-reciproco" title="Facebook"><img src="http://www.andreabaccega.com/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.mixx.com/submit?page_url=http%3A%2F%2Fwww.andreabaccega.com%2Fblog%2F2009%2F10%2F02%2Fnuovo-strumento-seo-il-link-semi-reciproco%2F&amp;title=Nuovo%20strumento%20Seo%3A%20Il%20link%20semi-reciproco" title="Mixx"><img src="http://www.andreabaccega.com/wp-content/plugins/sociable/images/mixx.png" title="Mixx" alt="Mixx" class="sociable-hovers" /></a>


<br/><br/>]]></content:encoded>
			<wfw:commentRss>http://www.andreabaccega.com/blog/2009/10/02/nuovo-strumento-seo-il-link-semi-reciproco/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
