<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet href="http://feeds.feedburner.com/~d/styles/rss2full.xsl" type="text/xsl" media="screen"?><?xml-stylesheet href="http://feeds.feedburner.com/~d/styles/itemcontent.css" type="text/css" media="screen"?><rss 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" version="2.0">

<channel>
	<title>Yet Another Tech Blog</title>
	
	<link>http://www.yetanothertechblog.com</link>
	<description>Just another WordPress weblog</description>
	<pubDate>Sat, 21 Jun 2008 05:43:48 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.3</generator>
	<language>en</language>
			<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" href="http://feeds.feedburner.com/yatb" type="application/rss+xml" /><item>
		<title>Alive and well</title>
		<link>http://www.yetanothertechblog.com/2008/06/20/alive-and-well/</link>
		<comments>http://www.yetanothertechblog.com/2008/06/20/alive-and-well/#comments</comments>
		<pubDate>Sat, 21 Jun 2008 05:43:48 +0000</pubDate>
		<dc:creator>Francesco</dc:creator>
		
		<category><![CDATA[Blog]]></category>

		<guid isPermaLink="false">http://www.yetanothertechblog.com/?p=24</guid>
		<description><![CDATA[Ok, I&#8217;ve finally found the time to upgrade this blog to WordPress 2.5.1 and update a bunch of plugins - many thanks to my summery insomnia.
A brief summary about the last period, since the last post is over 7 months old:

I&#8217;ve met a lot of interesting people, like  Mike Schroepfer (photos) and  Matt [...]]]></description>
			<content:encoded><![CDATA[<p>Ok, I&#8217;ve finally found the time to upgrade this blog to WordPress 2.5.1 and update a bunch of plugins - many thanks to my summery insomnia.</p>
<p>A brief summary about the last period, since the last post is over 7 months old:</p>
<ul>
<li>I&#8217;ve met a lot of interesting people, like  <a href="http://weblogs.mozillazine.org/schrep/">Mike Schroepfer</a> (<a href="http://www.flickr.com/photos/flod/sets/72157605330485682/">photos</a>) and  <a href="http://ma.tt/">Matt Mullenwegg</a> (<a href="http://www.flickr.com/photos/flod/sets/72157604987354013/">photos</a>)</li>
<li>my personal collection of <a href="http://www.flickr.com/search/?w=68502457%40N00&amp;q=mozilla+wallpaper&amp;m=text">Mozilla wallpapers</a> is growing</li>
<li><a href="http://www.getfirefox.com/">Firefox 3</a> is out (did you notice it? <img src='http://www.yetanothertechblog.com/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> ), and this is my first release as a lead localizer (for Italian language)</li>
<li>the new design of Mozilla&#8217;s sites is awesome</li>
<li>this summer I will attend the <a href="http://wiki.mozilla.org/Summit2008">Firefox Summit 2008</a> in Whistler (Canada)</li>
<li>a lot of news in the tech stuff area: sold the PowerBook G4 and waiting for a 2.5Ghz 15&#8243; MacBook Pro (ETA middle of the next week), replaced the main desktop with a Dell Vostro 400 (Q6600 2.40Ghz, 2&#215;500GB Raid1, 4GB di RAM, nVidia Geforce 8800GT 512MB), bought an Asus eeepc (<a href="http://www.flickr.com/photos/flod/2277874468/">photo</a>)</li>
</ul>
<p class="tag_technorati">Technorati Tags: <a href="http://technorati.com/tag/blog" rel="tag">blog</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.yetanothertechblog.com/2008/06/20/alive-and-well/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Geek Porn</title>
		<link>http://www.yetanothertechblog.com/2007/11/24/geek-porn/</link>
		<comments>http://www.yetanothertechblog.com/2007/11/24/geek-porn/#comments</comments>
		<pubDate>Sat, 24 Nov 2007 12:42:37 +0000</pubDate>
		<dc:creator>Francesco</dc:creator>
		
		<category><![CDATA[Apple]]></category>

		<category><![CDATA[Dell]]></category>

		<category><![CDATA[geek]]></category>

		<guid isPermaLink="false">http://www.yetanothertechblog.com/2007/11/24/geek-porn/</guid>
		<description><![CDATA[One of my two desks with one of my notebooks (see notes on Flickr page)  

Technorati Tags: geek porn
]]></description>
			<content:encoded><![CDATA[<p>One of my two desks with one of my notebooks (see notes on <a href="http://www.flickr.com/photos/flod/2058806665/">Flickr page</a>) <img src='http://www.yetanothertechblog.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<p align="center"><a href="http://www.flickr.com/photos/flod/2058806665/" title="Geek Porn di flod, su Flickr"><img src="http://farm3.static.flickr.com/2075/2058806665_bc2f0ba738.jpg" class="immaginepost" alt="Geek Porn" height="332" width="500" /></a></p>
<p class="tag_technorati">Technorati Tags: <a href="http://technorati.com/tag/geek+porn" rel="tag">geek porn</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.yetanothertechblog.com/2007/11/24/geek-porn/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Hiddy: slim down your spam queue on WordPress</title>
		<link>http://www.yetanothertechblog.com/2007/11/11/hiddy-slim-down-your-spam-queue-on-wordpress/</link>
		<comments>http://www.yetanothertechblog.com/2007/11/11/hiddy-slim-down-your-spam-queue-on-wordpress/#comments</comments>
		<pubDate>Sun, 11 Nov 2007 08:44:46 +0000</pubDate>
		<dc:creator>Francesco</dc:creator>
		
		<category><![CDATA[Wordpress]]></category>

		<category><![CDATA[plugin]]></category>

		<guid isPermaLink="false">http://www.yetanothertechblog.com/2007/11/11/hiddy-slim-down-your-spam-queue-on-wordpress/</guid>
		<description><![CDATA[It&#8217;s been over two months since my last post, sorry  
Let&#8217;s talk about a great Italian plugin for WordPress: Hiddy. Hiddy is a simple and light plugin that adds a field to the comments form: this field has a pseudo-random name (chosen among a set of &#8220;interesting&#8221; names, like e-mail, url, etc.) and is [...]]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s been over two months since my last post, sorry <img src='http://www.yetanothertechblog.com/wp-includes/images/smilies/icon_redface.gif' alt=':oops:' class='wp-smiley' /> </p>
<p>Let&#8217;s talk about a great Italian plugin for WordPress: <a href="http://hiddy.etechs.it/">Hiddy</a>. Hiddy is a simple and light plugin that adds a field to the comments form: this field has a pseudo-random name (chosen among a set of &#8220;interesting&#8221; names, like <em>e-mail</em>, <em>url</em>, etc.) and is placed inside a DIV with a random class.</p>
<pre>&lt;div class="A10ZHW4BMEY"&gt;
  &lt;input type="text" name="easyCaptcha" value="" /&gt;
&lt;/div&gt;</pre>
<p>Thanks to a simple CSS rule this field will be hidden to standard visitors but visible to spam-bots that try to fill all the available fields in the comments form.</p>
<p>Final result: if this hidden field is filled up, that comment is just spam and can be safely deleted from the database.</p>
<p>From now on your spam queue will be so empty <img src='http://www.yetanothertechblog.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
<p class="tag_technorati">Technorati Tags: <a href="http://technorati.com/tag/hiddy" rel="tag">hiddy</a>, <a href="http://technorati.com/tag/antispam" rel="tag"> antispam</a>, <a href="http://technorati.com/tag/wordpress" rel="tag"> wordpress</a>, <a href="http://technorati.com/tag/plugin" rel="tag"> plugin</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.yetanothertechblog.com/2007/11/11/hiddy-slim-down-your-spam-queue-on-wordpress/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Goodbye XPS M1330</title>
		<link>http://www.yetanothertechblog.com/2007/09/01/goodbye-xps-m1330/</link>
		<comments>http://www.yetanothertechblog.com/2007/09/01/goodbye-xps-m1330/#comments</comments>
		<pubDate>Sat, 01 Sep 2007 07:45:14 +0000</pubDate>
		<dc:creator>Francesco</dc:creator>
		
		<category><![CDATA[Dell]]></category>

		<guid isPermaLink="false">http://www.yetanothertechblog.com/2007/09/01/goodbye-xps-m1330/</guid>
		<description><![CDATA[This post will be the last update about my order of a Dell XPS M1330: last week I spoke with my assigned sales person and found that she had no ideas about the real shipping date of my already paid notebook (ESD was still September, 26th).
Since I need a notebook with Windows Vista, smaller and [...]]]></description>
			<content:encoded><![CDATA[<p>This post will be the last update about my <a href="http://www.yetanothertechblog.com/2007/08/08/dell-xps-m1330-are-you-joking/">order of a Dell XPS M1330</a>: last week I spoke with my assigned sales person and found that she had no ideas about the real shipping date of my already paid notebook (ESD was still September, 26th).</p>
<p>Since I need a notebook with Windows Vista, smaller and cooler than my current Windows laptop (a really hot 2.0Ghz Centrino with a 15&#8243; display), I decided to cancel my order and use the previous payment to order a <a href="http://www.dell.com/content/products/productdetails.aspx/latit_d630?c=us&amp;l=en&amp;s=bsd&amp;cs=04">Latitude D630</a>: same price, better features. The new order has been placed on August 23th, the notebook has shipped on August 31th, so it will be in my hands within few days <img src='http://www.yetanothertechblog.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
<p>This is my Latitude D630 configuration:</p>
<ul>
<li>CPU Intel Core 2 Duo T7500 2.2Ghz</li>
<li><span class="para">NVIDIA<sup>®</sup>  Quadro NVS 135M</span></li>
<li>14.1 WXGA (unfortunately the high-resolution display was on backorder)</li>
<li>4 GB  RAM DDR2 667 Mhz</li>
<li>160GB SATA 7200rpm</li>
<li>WI-FI Intel 4965AGN</li>
<li>Bluetooth</li>
<li>9 cell battery 85Wh</li>
<li>nylon thin case</li>
<li>3 years warranty NBD</li>
<li>Windows Vista Ultimate</li>
</ul>
<p>You can find the XPS M1330 <a href="http://www.yetanothertechblog.com/2007/07/08/dell-xps-m1330-and-ship-date/">original configuration here</a>.</p>
<p class="tag_technorati">Technorati Tags: <a href="http://technorati.com/tag/Dell" rel="tag">Dell</a>, <a href="http://technorati.com/tag/XPS+M1330" rel="tag"> XPS M1330</a>, <a href="http://technorati.com/tag/delay" rel="tag"> delay</a>, <a href="http://technorati.com/tag/Latitude+D630" rel="tag"> Latitude D630</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.yetanothertechblog.com/2007/09/01/goodbye-xps-m1330/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Does Dell read blogs?</title>
		<link>http://www.yetanothertechblog.com/2007/08/15/does-dell-read-blogs/</link>
		<comments>http://www.yetanothertechblog.com/2007/08/15/does-dell-read-blogs/#comments</comments>
		<pubDate>Wed, 15 Aug 2007 08:54:10 +0000</pubDate>
		<dc:creator>Francesco</dc:creator>
		
		<category><![CDATA[Dell]]></category>

		<guid isPermaLink="false">http://www.yetanothertechblog.com/2007/08/15/does-dell-read-blogs/</guid>
		<description><![CDATA[It seems so, or at least Dell reads blogs written in English since they skipped my Italian blog which has a lot of posts about the shipping delay of XPS M1330, much more visibility and a better ranking on Technorati.
This morning I was checking my blog stats and I saw a strange referer: fusion.us.dell.com (the [...]]]></description>
			<content:encoded><![CDATA[<p>It seems so, or at least <a href="http://www.dell.com">Dell</a> reads blogs written in English since they skipped my <a href="http://www.pseudotecnico.org/blog">Italian blog</a> which has a lot of posts about the shipping delay of XPS M1330, much more visibility and a better ranking on Technorati.</p>
<p>This morning I was checking my blog stats and I saw a strange referer: <strong>fusion.us.dell.com </strong>(the exact URL is<br />
fusion.us.dell.com/Fusion/Core/update.aspx?id=7088301 )</p>
<p>Since this domain is unreachable, I thought that it could be some sort of Intranet application. After a quick Google search, I found that maybe I wasn&#8217;t so far from <a href="http://badideaindeed.wordpress.com/2007/05/03/dell-icate/">the</a> <a href="http://whatsit2you.blogspot.com/2007/07/update-on-dell-laptop.html">truth</a>: Dell&#8217;s customer care reads blog posts about problems with Dell computers and contacts the author with a &#8220;personal&#8221; mail (but they didn&#8217;t contact me, maybe they have nothing to tell customers about this ridiculous delays).</p>
<p>A small note: shipping delay involves also other Dell notebooks. A friend of mine is still waiting an Inspiron 1720: first ESD on middle July, moved to August and then to September. Sound <a href="http://www.yetanothertechblog.com/2007/08/08/dell-xps-m1330-are-you-joking/">familiar</a>, doesn&#8217;t it?</p>
<p class="tag_technorati">Technorati Tags: <a href="http://technorati.com/tag/Dell" rel="tag">Dell</a>, <a href="http://technorati.com/tag/blogger" rel="tag"> blogger</a>, <a href="http://technorati.com/tag/fusion.us.dell.com" rel="tag"> fusion.us.dell.com</a>, <a href="http://technorati.com/tag/XPS+M1330" rel="tag"> XPS M1330</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.yetanothertechblog.com/2007/08/15/does-dell-read-blogs/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Plugin manager for Firefox 3 (pre alpha 8)</title>
		<link>http://www.yetanothertechblog.com/2007/08/11/plugin-manager-for-firefox-3-pre-alpha-8/</link>
		<comments>http://www.yetanothertechblog.com/2007/08/11/plugin-manager-for-firefox-3-pre-alpha-8/#comments</comments>
		<pubDate>Sat, 11 Aug 2007 07:36:55 +0000</pubDate>
		<dc:creator>Francesco</dc:creator>
		
		<category><![CDATA[Firefox]]></category>

		<category><![CDATA[Mozilla]]></category>

		<guid isPermaLink="false">http://www.yetanothertechblog.com/2007/08/11/plugin-manager-for-firefox-3-pre-alpha-8/</guid>
		<description><![CDATA[In the current nightly versions of Firefox 3 (pre alpha8) there&#8217;s an interesting new feature: a plug-in manager, accessible as a panel in the Add-ons window.
In this way users can manage their plug-ins, uninstall and disable them on the fly  

Technorati Tags: Firefox 3,  plug-ins manager,  pre alpha 8
]]></description>
			<content:encoded><![CDATA[<p>In the current nightly versions of Firefox 3 (pre alpha8) there&#8217;s an interesting new feature: a <strong>plug-in manager</strong>, accessible as a panel in the Add-ons window.</p>
<p>In this way users can manage their plug-ins, uninstall and disable them on the fly <img src='http://www.yetanothertechblog.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
<p style="text-align: center"><img src="http://www.yetanothertechblog.com/wp-content/uploads/2007/08/plugin.png" class="immaginepost" alt="plugin.png" /></p>
<p class="tag_technorati">Technorati Tags: <a href="http://technorati.com/tag/Firefox+3" rel="tag">Firefox 3</a>, <a href="http://technorati.com/tag/plug-ins+manager" rel="tag"> plug-ins manager</a>, <a href="http://technorati.com/tag/pre+alpha+8" rel="tag"> pre alpha 8</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.yetanothertechblog.com/2007/08/11/plugin-manager-for-firefox-3-pre-alpha-8/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Dell XPS M1330, are you joking?</title>
		<link>http://www.yetanothertechblog.com/2007/08/08/dell-xps-m1330-are-you-joking/</link>
		<comments>http://www.yetanothertechblog.com/2007/08/08/dell-xps-m1330-are-you-joking/#comments</comments>
		<pubDate>Wed, 08 Aug 2007 16:19:08 +0000</pubDate>
		<dc:creator>Francesco</dc:creator>
		
		<category><![CDATA[Dell]]></category>

		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://www.yetanothertechblog.com/2007/08/08/dell-xps-m1330-are-you-joking/</guid>
		<description><![CDATA[Today I took a look at the Order Status page for my Dell XPS M1330:

 Guys, are you joking? Three months to ship a notebook that I have already paid?
Sr. VP Alex Gruzen wrote some days ago:
When you order a system, the estimated ship date factors in our best currently available information, including the number [...]]]></description>
			<content:encoded><![CDATA[<p>Today I took a look at the Order Status page for my <a href="http://www.yetanothertechblog.com/2007/07/08/dell-xps-m1330-and-ship-date/">Dell XPS M1330</a>:</p>
<p style="text-align: center"><img src="http://www.yetanothertechblog.com/wp-content/uploads/2007/08/consegna_09.png" class="immaginepost" alt="consegna_09.png" /></p>
<p> Guys, are you joking? <strong>Three months</strong> to ship a notebook that I have <strong>already paid</strong>?</p>
<p>Sr. VP Alex Gruzen <a href="http://direct2dell.com/one2one/archive/2007/08/03/23340.aspx">wrote</a> some days ago:</p>
<blockquote><p>When you order a system, the estimated ship date factors in our best currently available information, including the number of orders in front of you and the availability of parts. It should not change unless something impacts one of these factors. <strong>If that happens, we will contact you</strong>.</p></blockquote>
<p>Unfortunately no mails and no phone calls from Dell to explain what&#8217;s going on with my notebook: maybe Italian customers are not so important for Dell.</p>
<p>I&#8217;m really trying to find a good reason not to delete my order and ask my money back.</p>
<p class="tag_technorati">Technorati Tags: <a href="http://technorati.com/tag/Dell" rel="tag">Dell</a>, <a href="http://technorati.com/tag/XPS+M1330" rel="tag"> XPS M1330</a>, <a href="http://technorati.com/tag/failure" rel="tag"> failure</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.yetanothertechblog.com/2007/08/08/dell-xps-m1330-are-you-joking/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Add Technorati tags to WordPress posts</title>
		<link>http://www.yetanothertechblog.com/2007/07/15/add-technorati-tags-to-wordpress-posts/</link>
		<comments>http://www.yetanothertechblog.com/2007/07/15/add-technorati-tags-to-wordpress-posts/#comments</comments>
		<pubDate>Mon, 16 Jul 2007 06:43:05 +0000</pubDate>
		<dc:creator>Francesco</dc:creator>
		
		<category><![CDATA[Tutorial]]></category>

		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://www.yetanothertechblog.com/2007/07/15/add-technorati-tags-to-wordpress-posts/</guid>
		<description><![CDATA[
There are several Wordpress plug-ins that allow to add Technorati tags at the end of your posts. In my experience with WordPress plug-ins, I tend to prefer the simpler ones for an elementary reason: usually reliability is inversely proportional to complexity  
On this basis I chose SimpleTags. SimpleTags allows to manage TAGS directly inside [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;"><img class="immaginepost" src='http://www.yetanothertechblog.com/wp-content/uploads/2007/07/technorati_tags.png' alt='technorati_tags.png' /></p>
<p>There are several <a href="http://www.wordpress.org">Wordpress</a> plug-ins that allow to add <a href="http://www.technorati.com">Technorati</a> tags at the end of your posts. In my experience with WordPress plug-ins, I tend to prefer the simpler ones for an elementary reason: usually reliability is inversely proportional to complexity <img src='http://www.yetanothertechblog.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
<p>On this basis I chose <a href="http://www.broobles.com/scripts/simpletags/">SimpleTags</a>. <strong>SimpleTags</strong> allows to manage TAGS directly inside the Wordpress editor: it&#8217;s possible to <strong>add tags as a list</strong> at the end of the post (syntax [tags ]&#8230;[/tags ], without spaces before the closing square brackets) or <strong>define TAGS progressively</strong> using the post&#8217;s content (with the syntax [tag ]example[/tag ], without spaces before the closing square brackets).</p>
<p>To improve the appearance of the results, you need to make little modifications to the plug-in code and the WordPress template. </p>
<p>Open <strong>simpletags.php</strong> with a text editor (possibly with syntax highlight support): you should see these two lines of code just after the initial comments</p>

<div class="wp_syntax"><div class="code"><pre class="php php" style="font-family:monospace;"><span style="color: #000088;">$pre_replacement</span> <span style="color: #339933;">=</span> <span style="">'&lt;p&gt; Technorati Tags: '</span>;
<span style="color: #000088;">$post_replacement</span> <span style="color: #339933;">=</span> <span style="">'&lt;/p&gt;'</span>;</pre></div></div>

<p>You need to modify the variable <em>$pre_replacement</em> in order to add a class to the generated &#8220;Technorati Tags&#8221; paragraph:</p>

<div class="wp_syntax"><div class="code"><pre class="php php" style="font-family:monospace;"><span style="color: #000088;">$pre_replacement</span> <span style="color: #339933;">=</span> <span style="">'&lt;p class=&quot;tag_technorati&quot;&gt; Technorati Tags: '</span>;
<span style="color: #000088;">$post_replacement</span> <span style="color: #339933;">=</span> <span style="">'&lt;/p&gt;'</span>;</pre></div></div>

<p>Now you have to save the <a href="http://www.yetanothertechblog.com/wp-content/themes/notso_freshe/images/technorati.gif">image</a> used for the icon in the <strong>images</strong> folder inside the current template and add this rule to the style sheet:</p>

<div class="wp_syntax"><div class="code"><pre class="css css" style="font-family:monospace;"><span style="color: #6666ff;">.tag_technorati</span> <span style="color: #00AA00;">&#123;</span>
<span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">transparent</span> <span style="color: #993333;">url</span><span style="color: #00AA00;">&#40;</span><span style="color: #ff0000; font-style: italic;">images/technorati.gif</span><span style="color: #00AA00;">&#41;</span> <span style="color: #993333;">no-repeat</span> <span style="color: #993333;">scroll</span> <span style="color: #000000; font-weight: bold;">left</span> <span style="color: #993333;">center</span>;
<span style="color: #000000; font-weight: bold;">padding</span><span style="color: #00AA00;">:</span> <span style="color: #933;">8px</span> <span style="color: #933;">2px</span> <span style="color: #933;">8px</span> <span style="color: #933;">20px</span>;
<span style="color: #00AA00;">&#125;</span></pre></div></div>

<p>Obviously, if you want you can also modify the variable $pre_replacement to create a DIV instead of a paragraph.</p>
<p class="tag_technorati">Technorati Tags: <a href="http://technorati.com/tag/Technorati" rel="tag">Technorati</a>, <a href="http://technorati.com/tag/SimpleTags" rel="tag"> SimpleTags</a>, <a href="http://technorati.com/tag/tags" rel="tag"> tags</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.yetanothertechblog.com/2007/07/15/add-technorati-tags-to-wordpress-posts/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Dell XPS M1330 and ship date</title>
		<link>http://www.yetanothertechblog.com/2007/07/08/dell-xps-m1330-and-ship-date/</link>
		<comments>http://www.yetanothertechblog.com/2007/07/08/dell-xps-m1330-and-ship-date/#comments</comments>
		<pubDate>Mon, 09 Jul 2007 06:33:50 +0000</pubDate>
		<dc:creator>Francesco</dc:creator>
		
		<category><![CDATA[Dell]]></category>

		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://www.yetanothertechblog.com/2007/07/08/dell-xps-m1330-and-ship-date/</guid>
		<description><![CDATA[
As I wrote in my first post, I&#8217;ve ordered a Dell XPS M1330 about a week ago (June, 29th). This is the configuration I chose:

Intel Core 2 Duo T7300(2 Ghz, 4MB cache L2, FSB 800 Mhz)
Windows Vista Business
3 years warranty NBD
13,3″LED display with webcam (on the Italian site you can&#8217;t choose the display without webcam)
2 [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: center"><img src="http://www.yetanothertechblog.com/wp-content/uploads/2007/07/xps.png" alt="xps.png" /></p>
<p>As I wrote in <a href="http://www.yetanothertechblog.com/2007/07/06/here-we-go/">my first post</a>, I&#8217;ve ordered a Dell XPS M1330 about a week ago (June, 29th). This is the configuration I chose:</p>
<ul>
<li>Intel Core 2 Duo T7300(2 Ghz, 4MB cache L2, FSB 800 Mhz)</li>
<li>Windows Vista Business</li>
<li>3 years warranty NBD</li>
<li>13,3″LED display with webcam (on the Italian site you can&#8217;t choose the display without webcam)</li>
<li>2 GB RAM DDR2 667Mhz (2×1GB)</li>
<li>hard-disk SATA 160GB 5400rpm</li>
<li>nVidia® GeForce™ Go 8400M GS with 128 MB GDDR3 memory</li>
<li>9 cell battery 85Wh</li>
<li>Bluetooth</li>
<li>mini Intel® Pro/Wireless 3945 802.11a/b/g</li>
<li>nylon thin case, 56k external usb modem</li>
</ul>
<p>Final price, thanks to an interesting discount by the sale manager, is about 1.500€ (2.050$) without 20% of IVA, corresponding to VAT in Italy.</p>
<p>My notebook is in pre-production from 06/30/2007, estimated ship time 07/20/2007. As you can read in <a href="http://forum.notebookreview.com/showthread.php?t=136356">this forum thread</a> (36 pages now!), most of the estimated ship times are in august or september: two months is a long time to wait <img src='http://www.yetanothertechblog.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
<p class="tag_technorati">Technorati Tags: <a href="http://technorati.com/tag/Dell" rel="tag">Dell</a>, <a href="http://technorati.com/tag/XPS+M1330" rel="tag"> XPS M1330</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.yetanothertechblog.com/2007/07/08/dell-xps-m1330-and-ship-date/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Self made tag cloud for Wordpress</title>
		<link>http://www.yetanothertechblog.com/2007/07/08/self-made-tag-cloud-for-wordpress/</link>
		<comments>http://www.yetanothertechblog.com/2007/07/08/self-made-tag-cloud-for-wordpress/#comments</comments>
		<pubDate>Sun, 08 Jul 2007 16:37:58 +0000</pubDate>
		<dc:creator>Francesco</dc:creator>
		
		<category><![CDATA[Tutorial]]></category>

		<category><![CDATA[Wordpress]]></category>

		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://www.yetanothertechblog.com/2007/07/08/self-made-tag-cloud-for-wordpress/</guid>
		<description><![CDATA[In this tutorial I will show you how to create a simple tag cloud with WordPress categories and place it in your sidebar without using external plug-ins or widgets (you can read here an Italian article about the same argument).
You can write the following code inside the sidebar.php file in your template, or create a [...]]]></description>
			<content:encoded><![CDATA[<p>In this tutorial I will show you how to create a simple <strong>tag cloud</strong> with WordPress categories and place it in your sidebar without using external plug-ins or widgets (you can read <a href="http://www.pseudotecnico.org/blog/2006/12/25/wordpress-tag-cloud-per-le-categorie/">here</a> an Italian article about the same argument).</p>
<p>You can write the following code inside the sidebar.php file in your template, or create a new file (<em>tagcloud.php</em>) and include it in your <em>sidebar.php</em>: the second way is better if you have multiple sidebar files.</p>
<p>Let&#8217;s start with the second solution: create a file <em>tagcloud.php</em> and place it in your template folder. This is the code you have to write inside this file (you can download <em>tagcloud.php</em> in text format <a href='http://www.yetanothertechblog.com/wp-content/uploads/2007/07/tagcloud_php.txt' title='tagcloud_php.txt'>here</a>):</p>

<div class="wp_syntax"><div class="code"><pre class="php php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?php</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Extract categories from database</span>
<span style="color: #000088;">$qrystr</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;SELECT cat_ID, cat_name, category_count from $wpdb-&gt;categories ORDER BY cat_name&quot;</span>;
<span style="color: #000088;">$cats</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$wpdb</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">get_results</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$qrystr</span><span style="color: #009900;">&#41;</span>;
&nbsp;
<span style="color: #666666; font-style: italic;">// Find the max number of posts for a single category</span>
<span style="color: #000088;">$max_value</span> <span style="color: #339933;">=</span> <span style="color:#800080;">0</span>;
<span style="color: #b1b100;">foreach</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$cats</span> <span style="color: #b1b100;">as</span> <span style="color: #000088;">$cat</span><span style="color: #009900;">&#41;</span>
<span style="color: #009900;">&#123;</span>
 <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$max_value</span> <span style="color: #339933;">&lt;</span> <span style="color: #000088;">$cat</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">category_count</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
	<span style="color: #000088;">$max_value</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$cat</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">category_count</span>;
 <span style="color: #009900;">&#125;</span>  	
<span style="color: #009900;">&#125;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// If you want to change the appereance of the tag cloud (maximum and minimum percentage in font-size, percentage difference between levels), change only these 3 variables</span>
<span style="color: #000088;">$min_percentage</span> <span style="color: #339933;">=</span> <span style="color: #cc66cc;">80</span>;
<span style="color: #000088;">$max_percentage</span> <span style="color: #339933;">=</span> <span style="color: #cc66cc;">200</span>;
<span style="color: #000088;">$percentage_level</span> <span style="color: #339933;">=</span> <span style="color: #cc66cc;">10</span>;
&nbsp;
<span style="color: #000088;">$num_levels</span> <span style="color: #339933;">=</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$max_percentage</span><span style="color: #339933;">-</span><span style="color: #000088;">$min_percentage</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">/</span><span style="color: #000088;">$percentage_level</span>;
<span style="color: #000088;">$postgap</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$max_value</span> <span style="color: #339933;">/</span> <span style="color: #000088;">$num_levels</span>;
&nbsp;
<span style="color: #666666; font-style: italic;">// Display all categories inside a div with id=cloud</span>
<span style="color: #666666; font-style: italic;">// Assign a class to the category (or categories) with more posts</span>
<span style="color: #666666; font-style: italic;">// Do not show categories without posts</span>
&nbsp;
<span style="color: #990000;">echo</span> <span style="">'&lt;div id=&quot;cloud&quot;&gt;'</span>;
<span style="color: #b1b100;">foreach</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$cats</span> <span style="color: #b1b100;">as</span> <span style="color: #000088;">$cat</span><span style="color: #009900;">&#41;</span>
<span style="color: #009900;">&#123;</span>
 <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$cat</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">category_count</span><span style="color: #339933;">&gt;</span><span style="color:#800080;">0</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
  <span style="color: #000088;">$catname</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$cat</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">cat_name</span>;
  <span style="color: #000088;">$catlink</span> <span style="color: #339933;">=</span> get_category_link<span style="color: #009900;">&#40;</span><span style="color: #000088;">$cat</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">cat_ID</span><span style="color: #009900;">&#41;</span>;
  <span style="color: #000088;">$postcnt</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$cat</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">category_count</span>;
  <span style="color: #000088;">$fontsize_percentage</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$min_percentage</span><span style="color: #339933;">+</span><span style="color: #009900;">&#40;</span><span style="color: #990000;">Round</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$postcnt</span><span style="color: #339933;">/</span><span style="color: #000088;">$postgap</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">*</span><span style="color: #000088;">$percentage_level</span><span style="color: #009900;">&#41;</span>;
  <span style="color: #990000;">echo</span> <span style="">'&lt;a href=&quot;'</span><span style="color: #339933;">,</span><span style="color: #000088;">$catlink</span><span style="color: #339933;">,</span><span style="">'&quot;'</span>;
  <span style="color: #009900;">&#40;</span><span style="color: #000088;">$postcnt</span> <span style="color: #339933;">==</span> <span style="color: #cc66cc;">1</span><span style="color: #009900;">&#41;</span> ? <span style="color: #000088;">$str_post</span><span style="color: #339933;">=</span><span style="">' post&quot;&gt;'</span> <span style="color: #339933;">:</span> <span style="color: #000088;">$str_post</span><span style="color: #339933;">=</span><span style="">' posts&quot;&gt;'</span>;  
  <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$fontsize_percentage</span><span style="color: #339933;">==</span><span style="color: #000088;">$max_percentage</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
	<span style="color: #990000;">echo</span> <span style="">' style=&quot;font-size: '</span><span style="color: #339933;">,</span> <span style="color: #000088;">$fontsize_percentage</span><span style="color: #339933;">,</span><span style="">'%&quot; class=&quot;top_category&quot; title=&quot;'</span><span style="color: #339933;">,</span><span style="color: #000088;">$postcnt</span><span style="color: #339933;">,</span> <span style="color: #000088;">$str_post</span>;
  <span style="color: #009900;">&#125;</span>   
  <span style="color: #b1b100;">else</span> <span style="color: #009900;">&#123;</span>
  	 <span style="color: #990000;">echo</span> <span style="">' style=&quot;font-size: '</span><span style="color: #339933;">,</span> <span style="color: #000088;">$fontsize_percentage</span><span style="color: #339933;">,</span><span style="">'%&quot; title=&quot;'</span><span style="color: #339933;">,</span><span style="color: #000088;">$postcnt</span><span style="color: #339933;">,</span> <span style="color: #000088;">$str_post</span>;
   <span style="color: #009900;">&#125;</span>  
  <span style="color: #990000;">echo</span> <span style="color: #000088;">$catname</span><span style="color: #339933;">,</span><span style="color: #0000ff;">&quot;&lt;/a&gt;<span style="color: #000099; font-weight: bold;">\r</span>&quot;</span>;
 <span style="color: #009900;">&#125;</span>
<span style="color: #009900;">&#125;</span>
<span style="color: #990000;">echo</span> <span style="color: #0000ff;">&quot;&lt;/div&gt;&quot;</span>;	
<span style="color: #000000; font-weight: bold;">?&gt;</span></pre></div></div>

<p>Let&#8217;s take a quick look at the code:</p>
<ul>
<li>I make a query on the WordPress database (table &#8220;categories&#8221;): results are ordered by category name and we already have all the data we need thanks to the field &#8220;category_count&#8221;</li>
<li>I check all the results to find the maximum number of posts for a single category. This value is stored using the variable $max_value</li>
<li>I set the maximum and minimum percentages to use as font-size, percentage difference between levels and the number of posts between two levels (this is why I need $max_value)</li>
<li>now I can walk trough the results of the query, generating the html code: I write a simple link, using <em>title</em> to display the number of the posts for each category (so you will see a tooltip), and assign a special class to the top category (or categories)</li>
</ul>
<p>Now change your <em>sidebar.php</em> to include the <em>tagcloud.php</em> file; obviously you must choose the right point to place it <img src='http://www.yetanothertechblog.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>

<div class="wp_syntax"><div class="code"><pre class="php php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?php</span> 
  <span style="color: #b1b100;">include</span><span style="color: #009900;">&#40;</span>TEMPLATEPATH <span style="color: #339933;">.</span> <span style="">'/tagcloud.php'</span><span style="color: #009900;">&#41;</span>;
<span style="color: #000000; font-weight: bold;">?&gt;</span></pre></div></div>

<p>At this point you should already be able to see the <strong>tag cloud</strong> in your blog: the next step is to style it using css. This is the stylesheet I use for this blog:</p>

<div class="wp_syntax"><div class="code"><pre class="css css" style="font-family:monospace;">div<span style="color: #cc00cc;">#cloud</span> <span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">border</span><span style="color: #00AA00;">:</span> <span style="color: #933;">1px</span> <span style="color: #993333;">dotted</span> <span style="color: #cc00cc;">#E4F0DB</span>;
	<span style="color: #000000; font-weight: bold;">padding</span><span style="color: #00AA00;">:</span> <span style="color: #933;">0.5em</span>;
	<span style="color: #000000; font-weight: bold;">margin</span><span style="color: #00AA00;">:</span> <span style="color: #933;">0.6em</span> <span style="color: #933;">0.5em</span>;
	<span style="color: #000000; font-weight: bold;">font-family</span><span style="color: #00AA00;">:</span> Tahoma<span style="color: #00AA00;">,</span> Verdana<span style="color: #00AA00;">,</span> Arial;
	<span style="color: #000000; font-weight: bold;">text-align</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">justify</span>;
	<span style="color: #000000; font-weight: bold;">line-height</span><span style="color: #00AA00;">:</span> <span style="color: #933;">1.7em</span>;
<span style="color: #00AA00;">&#125;</span>
&nbsp;
div<span style="color: #cc00cc;">#cloud</span> a <span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">color</span><span style="color: #00AA00;">:</span> <span style="color: #cc00cc;">#2f63b3</span>;
<span style="color: #00AA00;">&#125;</span>
&nbsp;
div<span style="color: #cc00cc;">#cloud</span> a<span style="color: #6666ff;">.top_category</span> <span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">color</span><span style="color: #00AA00;">:</span> <span style="color: #cc00cc;">#76b391</span>;
<span style="color: #00AA00;">&#125;</span>
&nbsp;
div<span style="color: #cc00cc;">#cloud</span> a<span style="color: #6666ff;">.top_category</span><span style="color: #3333ff;">:hover </span><span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">color</span><span style="color: #00AA00;">:</span> <span style="color: #cc00cc;">#4A5265</span>;
	<span style="color: #000000; font-weight: bold;">text-decoration</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">none</span>;
<span style="color: #00AA00;">&#125;</span></pre></div></div>

<p>That&#8217;s all <img src='http://www.yetanothertechblog.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
<p class="tag_technorati">Technorati Tags: <a href="http://technorati.com/tag/tag+cloud" rel="tag">tag cloud</a>, <a href="http://technorati.com/tag/wordpress" rel="tag"> wordpress</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.yetanothertechblog.com/2007/07/08/self-made-tag-cloud-for-wordpress/feed/</wfw:commentRss>
		</item>
	<feedburner:awareness xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0">http://api.feedburner.com/awareness/1.0/GetFeedData?uri=yatb</feedburner:awareness></channel>
</rss><!-- Dynamic Page Served (once) in 3.154 seconds -->
