<?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>missmac.net &#187; Wordpress</title>
	<atom:link href="http://www.missmac.net/cat/wordpress/feed" rel="self" type="application/rss+xml" />
	<link>http://www.missmac.net</link>
	<description>blog semitecnico sul Mac, sugli standard web, e su altre cose belle</description>
	<lastBuildDate>Sat, 23 Jan 2010 03:37:39 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Per Wordpress: Recent Posts with Comments</title>
		<link>http://www.missmac.net/plugin-per-wordpress-recent-posts-with-comments-6</link>
		<comments>http://www.missmac.net/plugin-per-wordpress-recent-posts-with-comments-6#comments</comments>
		<pubDate>Sat, 24 Sep 2005 12:40:01 +0000</pubDate>
		<dc:creator>missmac</dc:creator>
				<category><![CDATA[Downloads]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://www.missmac.net/w/?p=6</guid>
		<description><![CDATA[Basandomi sul plugin per Wordpress di Nick Momrik che produce un elenco di post recenti ho preparato un nuovo plugin, che aggiunge anche il numero di commenti per ciascun post.
Come si usa
Dopo aver messo il plugin nella directory wp-content/plugins ed averlo attivato, inserite la chiamata alla funzione nel punto in cui volete che compaia l&#8217;elenco [...]]]></description>
			<content:encoded><![CDATA[<p>Basandomi sul plugin per Wordpress di <a href="http://mtdewvirus.com/">Nick Momrik</a> che produce un elenco di post recenti ho preparato un nuovo plugin, che aggiunge anche il numero di commenti per ciascun post.</p>
<h4>Come si usa</h4>
<p>Dopo aver messo il plugin nella directory <code>wp-content/plugins</code> ed averlo attivato, inserite la chiamata alla funzione nel punto in cui volete che compaia l&#8217;elenco (ad esempio nella sidebar):</p>
<pre><code>&lt; ?php if (function_exists('recent_posts_with_comments')) { ?&gt;
&lt;ul&gt;
&lt; ?php recent_posts_with_comments() ?&gt;
&lt;/ul&gt;
&lt; ?php } ?&gt;
</code></pre>
<p>La funzione può anche essere chiamata specificando dei parametri, che di default sono:</p>
<pre><code>recent_posts_with_comments(
$no_posts = 5,
$before = '&lt;li&gt;',
$after = '&lt;/li&gt;',
$hide_pass_post = true,
$skip_posts = 0,
$show_excerpts = false
)
</code></pre>
<p>Questi parametri sono abbastanza autoesplicativi, e comunque c&#8217;è un <a href="http://www.lovemeforme.org/tutorials/wp/index.php?id=8">tutorial</a> (non aggiornatissimo), da cui estrapolo queste note:</p>
<blockquote><p>
<code>$no_posts</code> &#8211; numero di post da mostrare.</p>
<p><code>$before</code> &#8211; testo da inserire prima del link.</p>
<p><code>$after</code> &#8211; testo da inserire dopo il link.</p>
<p><code>$hide_pass_post</code> &#8211; se mostrare o meno i post protetti da password.</p>
<p><code>$skip_posts</code> &#8211; numero di post da saltare prima di mostrare il numero di post specificato col parametro <code>$no_posts</code>. Ad esempio, se mettete l&#8217;elenco nella home page, dove già sono presenti gli ultimi 5 post, potreste voler saltare 5 post.  </p>
<p><code>$show_excerpts</code> &#8211; se mostrare o meno il sommario del post.
</p></blockquote>
<h4>Download:</h4>
<p><a class="zip" href="http://www.missmac.net/downloads/recent_posts_with_comments.php.zip"> recent_posts_with_comments.php.zip</a></p>
<h4>Per una maggiore personalizzazione</h4>
<p>Un&#8217;alternativa più elaborata è il plugin disponibile su <a href="http://www.coffee2code.com/archives/2004/08/27/plugin-customizable-post-listings/">coffee2code</a>, che offre un grado più elevato di personalizzazione (ad esempio, consente di scegliere le categorie o gli autori dei post da elencare).</p>
]]></content:encoded>
			<wfw:commentRss>http://www.missmac.net/plugin-per-wordpress-recent-posts-with-comments-6/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>
