<?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>Paolo Ardoino - ideas, programming, web and more... &#187; Wordpress</title>
	<atom:link href="http://ardoino.com/category/wordpress/feed/" rel="self" type="application/rss+xml" />
	<link>http://ardoino.com</link>
	<description>Homo quisque faber ipse fortunae suae</description>
	<lastBuildDate>Tue, 27 Oct 2009 22:42:36 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Wordpress plugin, WP interests : generate a chart of your interests</title>
		<link>http://ardoino.com/28-wordpress-wp-interests/</link>
		<comments>http://ardoino.com/28-wordpress-wp-interests/#comments</comments>
		<pubDate>Mon, 25 Feb 2008 10:00:11 +0000</pubDate>
		<dc:creator>Paolo Ardoino</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[api]]></category>
		<category><![CDATA[chart]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[plugin]]></category>

		<guid isPermaLink="false">http://ardoino.com/28-wordpress-wp-interests/</guid>
		<description><![CDATA[
This is a very simple wordpress plugin that uses Google Chart API to create and display a chart of your interests on the basis of blog&#8217;s categories and posts.
Version : 0.1
Download : http://ardoino.com/pub/wordpress/wp-interests.zip
Installation

1. Unzip into your `/wp-content/plugins/` directory..
2. Activate the plugin through the &#8216;Plugins&#8217; menu in WordPress
3. Edit your current theme adding the few lines [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://ardoino.com/wp-content/uploads/2008/02/wp-interests-sshot1.png" title="Wp interests screenshot 1"><img src="http://ardoino.com/wp-content/uploads/2008/02/wp-interests-sshot1.png" alt="Wp interests screenshot 1" align="right" /></a></p>
<p>This is a very simple wordpress plugin that uses Google Chart API to create and display a chart of your interests on the basis of blog&#8217;s categories and posts.</p>
<p><strong>Version</strong> : 0.1</p>
<p><strong>Download</strong> : <a href="http://ardoino.com/pub/wordpress/wp-interests.zip" title="Wordpress plugin, WP interests">http://ardoino.com/pub/wordpress/wp-interests.zip</a></p>
<p><strong>Installation<br />
</strong><br />
1. Unzip into your `/wp-content/plugins/` directory..<br />
2. Activate the plugin through the &#8216;Plugins&#8217; menu in WordPress<br />
3. Edit your current theme adding the few lines below (for example in siderbar.php)</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?php</span>
    <span style="color: #000088;">$wp_interests</span> <span style="color: #339933;">=</span> <span style="color: #000000; font-weight: bold;">new</span> wp_interests<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #000088;">$wp_interests</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">wpi</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000000; font-weight: bold;">?&gt;</span></pre></div></div>

<p>3.1. Defining size of the chart</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?php</span>
    <span style="color: #666666; font-style: italic;">// Chart width: 300px , height: 200px</span>
    <span style="color: #000088;">$wp_interests</span> <span style="color: #339933;">=</span> <span style="color: #000000; font-weight: bold;">new</span> wp_interests<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #000088;">$wp_interests</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">wpi</span><span style="color: #009900;">&#40;</span><span style="color: #990000;">array</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;size&quot;</span> <span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">&quot;300x200&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000000; font-weight: bold;">?&gt;</span></pre></div></div>

<p>3.2. Defining excluded categories from chart</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?php</span>
    <span style="color: #666666; font-style: italic;">// Excluding 'Humor' and 'General' categories from chart</span>
    <span style="color: #000088;">$wp_interests</span> <span style="color: #339933;">=</span> <span style="color: #000000; font-weight: bold;">new</span> wp_interests<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #000088;">$wp_interests</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">wpi</span><span style="color: #009900;">&#40;</span><span style="color: #990000;">array</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;size&quot;</span> <span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">&quot;300x200&quot;</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">&quot;exclude_cats&quot;</span> <span style="color: #339933;">=&gt;</span> <span style="color: #990000;">array</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;Humor&quot;</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">&quot;General&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000000; font-weight: bold;">?&gt;</span></pre></div></div>

<p>3.3. Renaming long categories names in chart</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?php</span>
    <span style="color: #666666; font-style: italic;">// Renaming 'Ajax/Javascript' in 'Ajax/JS' and 'Crypto/Security' in 'Crypt/Sec'</span>
    <span style="color: #000088;">$wp_interests</span> <span style="color: #339933;">=</span> <span style="color: #000000; font-weight: bold;">new</span> wp_interests<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #000088;">$wp_interests</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">wpi</span><span style="color: #009900;">&#40;</span><span style="color: #990000;">array</span><span style="color: #009900;">&#40;</span>
       <span style="color: #0000ff;">&quot;size&quot;</span> <span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">&quot;300x200&quot;</span><span style="color: #339933;">,</span>
       <span style="color: #0000ff;">&quot;exclude_cats&quot;</span> <span style="color: #339933;">=&gt;</span> <span style="color: #990000;">array</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;Humor&quot;</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">&quot;General&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">,</span>
       <span style="color: #0000ff;">&quot;rename_cats&quot;</span> <span style="color: #339933;">=&gt;</span> <span style="color: #990000;">array</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;Ajax/Javascript&quot;</span> <span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">&quot;Ajax/JS&quot;</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">&quot;Crypto/Security&quot;</span> <span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">&quot;Crypt/Sec&quot;</span><span style="color: #009900;">&#41;</span>
     <span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000000; font-weight: bold;">?&gt;</span></pre></div></div>

<p>3.4. For more options visit <em>http://ardoino.com</em><br />
4. That&#8217;s it!</p>
<p><strong> Changelog </strong>:</p>
<ul>
<li>0.1 -> initial release</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://ardoino.com/28-wordpress-wp-interests/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
