<?xml version="1.0" encoding="ISO-8859-1"?>
<rss version="2.0">
	<channel>
		<title>blog ¦ drudo (-rw-r--r--)</title>
		<link>http://drudo.altervista.org/blog-r/index.php</link>
		<description><![CDATA[Su Simple PHP Blog e oltre...]]></description>
		<image>
			<url>http://drudo.altervista.org/blog-r/interface/feed.png</url>
			<link>http://drudo.altervista.org/blog-r/index.php</link>
			<title>blog ¦ drudo (-rw-r--r--)</title>
			<description><![CDATA[blog ¦ drudo (-rw-r--r--)]]></description>
		</image>
		<copyright>Copyright 2009, drudo</copyright>
		<managingEditor>drudo81@tin.it (drudo)</managingEditor>
		<language>it-IT</language>
		<generator>SPHPBLOG 0.4.8</generator>
		<item>
			<title>Ah però...</title>
			<link>http://drudo.altervista.org/blog-r/index.php?entry=entry080129-100508</link>
			<description><![CDATA[<img src="images/bidone.jpg" width="180" height="240" border="0" alt="" /><br /><small>(Foto di <a href="http://www.flickr.com/photos/andretti_design/">andretti_design</a>)</small><br /><br />...se <a href="http://www.billbateman.org/" target="_blank" >Bill Bateman</a>, negli ultimi tempi unico sviluppatore di <a href="http://www.simplephpblog.com/" target="_blank" >Simple PHP Blog</a>, <strong>passa a WordPress</strong> siamo a posto :-/]]></description>
			<category>Simple Php Blog, Annunci</category>
			<guid isPermaLink="true">http://drudo.altervista.org/blog-r/index.php?entry=entry080129-100508</guid>
			<author>drudo81@tin.it (drudo)</author>
			<pubDate>Tue, 29 Jan 2008 09:05:08 GMT</pubDate>
		</item>
		<item>
			<title>Bug S.P.B. 0.5.1.1: pagina Preferenze</title>
			<link>http://drudo.altervista.org/blog-r/index.php?entry=entry080120-133952</link>
			<description><![CDATA[<img src="images/bug-trans.png" width="64" height="64" border="0" alt="" id="img_float_right" /> Grazie alla <a href="http://spbitalia.altervista.org/forum/viewtopic.php?id=877" target="_blank" >segnalazione</a> di Jonathan, un utente del forum <a href="http://spbitalia.altervista.org/forum/" target="_blank" >SPBItalia</a>, si è scoperto che la <strong>pagina &quot;Preferenze&quot; del nostro blog rimane in lingua inglese</strong> pur avendo impostato la lingua italiana!<br /><br />Per risolvere il problema basta spostare la riga:<br /><br /><code>read_config();</code><br /><br />del file <strong>setup.php</strong> PRIMA delle righe:<br /><pre>require_once(&#039;languages/&#039; . $blog_config[ &#039;blog_language&#039; ] . &#039;/strings.php&#039;);<br />sb_language( &#039;setup&#039; );</pre><br />Il risultato finale deve essere quindi:<br /><pre>read_config();<br />require_once(&#039;languages/&#039; . $blog_config[ &#039;blog_language&#039; ] . &#039;/strings.php&#039;);<br />sb_language( &#039;setup&#039; );</pre>]]></description>
			<category>Simple Php Blog, Bug</category>
			<guid isPermaLink="true">http://drudo.altervista.org/blog-r/index.php?entry=entry080120-133952</guid>
			<author>drudo81@tin.it (drudo)</author>
			<pubDate>Sun, 20 Jan 2008 12:39:52 GMT</pubDate>
		</item>
		<item>
			<title>Metatag &quot;archives&quot; in S.P.B.</title>
			<link>http://drudo.altervista.org/blog-r/index.php?entry=entry071231-114506</link>
			<description><![CDATA[Sì lo so è l&#039;ultimo dell&#039;anno e dovrei essere in bagno per il trucco e parrucco, ma insomma è ancora mattina e non sapevo che fare :P<br /><br />Dunque, come ogni tanto faccio, sono andato a visitare il <a href="http://forums.simplephpblog.com" target="_blank" >forum ufficiale</a> (<em>se così ancora si può chiamare</em>) di <a href="http://simplephpblog.com/" target="_blank" >Simple PHP Blog</a>, dove tra una Pamela e l&#039;altra sono riuscito a trovare un thread del povero <a href="http://guti.bitacoras.com/" target="_blank" >Guti</a> che ce la mette sempre tutta per tirar su sto script lasciato allo sbando (<em>concedetemelo visto lo stato del sito web e dei forum</em>).<br /><br />Si tratta di un <strong>piccolo hack</strong> per inserire un <strong>metatag in stile WordPress</strong> che dovrebbe aiutare i motori di ricerca... almeno questo ho capito da quel poco che ho letto.<br />Il metatag da inserire è espresso in questa forma:<br /><br /><code>&lt;link rel=&quot;archives&quot; title=&quot;December 2007&quot; href=&quot;...&quot; /&gt;<br />&lt;link rel=&quot;archives&quot; title=&quot;November 2007&quot; href=&quot;...&quot; /&gt;</code><br /><br />quindi procediamo con l&#039;aprire il file /scripts/<strong>sb_formating.php</strong> ed aggiungiamo dopo la linea:<br /><br /><code>&lt;meta name=&quot;copyright&quot; content=&quot;&lt;?php echo( $blog_config[ &#039;info_copyright&#039; ] ); ?&gt;&quot; /&gt;</code><br /><br />e prima di:<br /><br /><code>&lt;!-- Robots --&gt;</code><br /><br />questo pezzetto di codice:<br /><pre>&lt;!-- Archives --&gt;<br />&lt;?php<br />//&lt;link rel=&quot;archives&quot; title=&quot;Junio 2007&quot; href=&quot;http://www.miguelcarrion.com/index.php/2007/06/&quot; /&gt;<br />$entry_array = blog_entry_listing();<br />$yymm_old = &#039;&#039;;<br />for ( $i=0; $i&lt;count($entry_array); $i++) {<br />list( $entry, $year_dir, $month_dir ) = explode( &#039;|&#039;, $entry_array[ $i ] );<br />$yymm = $year_dir . $month_dir;<br />if ( $yymm != $yymmold ) {<br />echo &#039;&lt;link rel=&quot;archives&quot; title=&quot;&#039; . $month_dir . &#039;/&#039; . $year_dir . &#039;&quot; href=&quot;archives.php?m=&#039; . $month_dir . &#039;&amp;y=&#039; . $year_dir . &#039;&quot; /&gt;&#039;;<br />$yymmold = $yymm;<br />}<br />}<br />?&gt;</pre><br />Non ho ancora provato il tutto, quindo non so se vi sono errori!<br />Bene... <strong>vi auguro di iniziare un Buon 2008</strong>!<br /><br /><br /><strong>P.S.</strong><br />Mamma mia il 2008... quando ero piccolo guardavo esterefatto il film &quot;Ritorno al futuro&quot; e quando pensavo che nel ventesimo secolo io, probabilmente (<em>sì ero pessimista fin da piccino :P</em>), ci sarei stato, beh era l&#039;apoteosi!!!<br />Macchine volanti, skate senza rotelle, persone con arti in metallo come Terminator, ecc.<br />Ed invece... invece... che tristezza... le macchine bucano ancora, la benzina la fa ancora da padrona, la gente muore in ospedale per BANALI operazioni, il mondo tra poco implode da quanto il clima sta cambiando!<br />E CHE CAZZO!!]]></description>
			<category>Simple Php Blog, SPB hack</category>
			<guid isPermaLink="true">http://drudo.altervista.org/blog-r/index.php?entry=entry071231-114506</guid>
			<author>drudo81@tin.it (drudo)</author>
			<pubDate>Mon, 31 Dec 2007 10:45:06 GMT</pubDate>
		</item>
		<item>
			<title>Bug: ultimi commenti (0.5.1.1)</title>
			<link>http://drudo.altervista.org/blog-r/index.php?entry=entry071201-203616</link>
			<description><![CDATA[<img src="images/bug-trans.png" width="64" height="64" border="0" alt="" id="img_float_right" /> Nella release 0.5.1.1 di <a href="http://simplephpblog.com/" target="_blank" >Simple PHP Blog</a> c&#039;è un piccolo <strong>problema riguardo il plugin degli &quot;ultimi commenti&quot;</strong> che appaiono nella sidebar (barra laterale).<br />In poche parole vengono visualizzati solo gli ultimi commenti dell&#039;amministratore del blog e non quelli degli utenti.<br /><br />Per <strong>risolvere</strong> il problema <a href="http://guti.bitacoras.com/" target="_blank" >Guti</a> ci suggerisce questo fix:<br /><br />sostituire la riga numero 101 presente in <em>plugins/sidebar/RecentComments/plugin.php</em><br /><pre>if ( $moderation_flag != &#039;H&#039;) {</pre>con questa<br /><pre>if (( !$GLOBALS[ &#039;blog_config&#039; ][ &#039;blog_comments_moderation&#039; ] ) || ( $moderation_flag != &#039;H&#039; )) {</pre>]]></description>
			<category>Simple Php Blog, Bug</category>
			<guid isPermaLink="true">http://drudo.altervista.org/blog-r/index.php?entry=entry071201-203616</guid>
			<author>drudo81@tin.it (drudo)</author>
			<pubDate>Sat, 01 Dec 2007 19:36:16 GMT</pubDate>
		</item>
		<item>
			<title>Bug cancellazione commenti in S.P.B. 0.5.1</title>
			<link>http://drudo.altervista.org/blog-r/index.php?entry=entry071030-151457</link>
			<description><![CDATA[<img src="images/bug-trans.png" width="64" height="64" border="0" alt="" id="img_float_right" /> Tutti gli utilizzatori della recente versione di Simple PHP Blog <strong>0.5.1</strong> avranno probabilmente notato un <strong>bug riguardo la cancellazione di commenti</strong>: in poche parole in presenza di più commenti, se uno di questi veniva cancellato, anche i restanti andavano via con lui...<br /><br />La <strong>soluzione</strong> ce la propone direttamente l&#039; autore dello script sui <a href="http://forums.simplephpblog.com/" target="_blank" >forum ufficiali</a>.<br />Si tratta solo di sostituire il corpo della funzione <code>function delete_comment()</code> presente nel file /scripts/<strong>sb_comments.php</strong> con questo:<br /><pre>function delete_comment ( $filepath ) {<br />   // Delete a comment. Also, delete the whole comment folder if it was the only comment.<br />   <br />   sb_delete_file( CONFIG_DIR.&#039;~blog_comment_listing.tmp&#039; ); // Delete comment array cache<br />   <br />   // Delete the comment file:<br />   $ok = sb_delete_file( $filepath ); // content/07/10/entry071016-093727/comments/comment071016-095416.txt.gz<br />   <br />   // Trim off filename and leave path to last directory.<br />   $dirpath = $filepath;<br />   <br />   $pos = strrpos( $dirpath, &#039;/&#039; );<br />   if ($pos !== false) {<br />      $dirpath = substr( $dirpath, 0, $pos ); // content/07/10/entry071016-093727/comments<br />      <br />      // Get listing of all comment files in folder.<br />      $file_array = sb_folder_listing( $dirpath . &#039;/&#039;, array( &#039;.txt&#039;, &#039;.gz&#039; ) );<br />      <br />      if ( count( $file_array ) == 0 ) {<br />         sb_delete_directory( $dirpath );<br />         <br />         // Delete the entry071016-093727 which contains the view_counter.txt file also<br />         $pos = strrpos( $dirpath, &#039;/&#039; );<br />         if ($pos !== false) {<br />            $dirpath = substr( $dirpath, 0, $pos ); // content/07/10/entry071016-093727<br />            <br />            sb_delete_directory( $dirpath );<br />         }<br />      }<br />   }<br />   <br />   if ( $ok ) {<br />      delete_most_recent( $filepath );<br />   }<br />   <br />   return ( $ok );<br />}</pre><br />Se ne sta parlando anche quì:<br /><a href="http://spbitalia.altervista.org/forum/viewtopic.php?id=849" target="_blank" >http://spbitalia.altervista.org/forum/v ... php?id=849</a>]]></description>
			<category>Simple Php Blog, Bug</category>
			<guid isPermaLink="true">http://drudo.altervista.org/blog-r/index.php?entry=entry071030-151457</guid>
			<author>drudo81@tin.it (drudo)</author>
			<pubDate>Tue, 30 Oct 2007 14:14:57 GMT</pubDate>
		</item>
		<item>
			<title>SimplePHPBlog 0.5.1</title>
			<link>http://drudo.altervista.org/blog-r/index.php?entry=entry070924-203345</link>
			<description><![CDATA[Come <a href="index.php?entry=entry070922-173509" target="_blank" >promesso</a> da Bill pochi giorni fà, è stata rilasciata una <strong>nuova release</strong> che sana i bug <a href="index.php?entry=entry070922-173509" target="_blank" >quì</a> segnalati.<br /><br />Si tratta della <strong>0.5.1</strong> che si presenta con questo changelog:<br /><blockquote>- New options to show specific category as initial page (unless user picks another category)<br />- Fixed specific security vulnerabilities found in upload_img and themes.<br />- Added center button and support to editor per forum requests.</blockquote><br /><strong>Download:</strong><br /><a href="http://sourceforge.net/project/showfiles.php?group_id=106696" target="_blank" >http://sourceforge.net/project/showfile ... _id=106696</a>]]></description>
			<category>Simple Php Blog, Annunci</category>
			<guid isPermaLink="true">http://drudo.altervista.org/blog-r/index.php?entry=entry070924-203345</guid>
			<author>drudo81@tin.it (drudo)</author>
			<pubDate>Mon, 24 Sep 2007 18:33:45 GMT</pubDate>
		</item>
	</channel>
</rss>

