<?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>Claudio&#039;s Hideout &#187; export</title>
	<atom:link href="http://claudio.cicali.name/post/tag/export/feed/" rel="self" type="application/rss+xml" />
	<link>http://claudio.cicali.name</link>
	<description>Claudio Cicali web hub</description>
	<lastBuildDate>Sun, 25 Sep 2011 11:29:05 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>How to export your friendfeed stream (posts and comments)</title>
		<link>http://claudio.cicali.name/post/2011/01/how-to-export-your-friendfeed-stream-posts-and-comments/</link>
		<comments>http://claudio.cicali.name/post/2011/01/how-to-export-your-friendfeed-stream-posts-and-comments/#comments</comments>
		<pubDate>Fri, 07 Jan 2011 10:29:51 +0000</pubDate>
		<dc:creator>claudio</dc:creator>
				<category><![CDATA[Annunci]]></category>
		<category><![CDATA[Articoli]]></category>
		<category><![CDATA[Blog]]></category>
		<category><![CDATA[Programmazione]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[english]]></category>
		<category><![CDATA[export]]></category>
		<category><![CDATA[friendfeed]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://claudio.cicali.name/?p=976</guid>
		<description><![CDATA[I just wrote a script to easily download your FULL friendfeed stream. I mean: every post with comments, likes and even images and/or files. Enough for the good news: the bad news is that this a PHP command line script and you have to know how to run it. On a recent  OSX or Linux [...]]]></description>
			<content:encoded><![CDATA[<p><a rel="attachment wp-att-980" href="http://claudio.cicali.name/post/2011/01/how-to-export-your-friendfeed-stream-posts-and-comments/ff-2/"><img class="alignleft size-full wp-image-980" title="ff" src="http://claudio.cicali.name/wp-content/uploads/2011/01/ff1.png" alt="" width="227" height="50" /></a></p>
<p>I just wrote a script to easily download your FULL <a href="http://friendfeed.com">friendfeed</a> stream. I mean: every post with comments, likes and even images and/or files. Enough for the good news: the bad news is that this a PHP command line script and you have to know how to run it. On a recent  OSX or Linux environment you should be ready to go. For Windows-ers it could be a little more difficult. Sorry.</p>
<p>Anyway, here is the features list:</p>
<ul>
<li>can fetch a private stream, giving your <a href="http://friendfeed.com/remotekey">remote key</a></li>
<li>locally downloads images and files (detects already downloaded things)</li>
<li>upon subsequent runs, it tries to get only the newly added posts</li>
<li>the output file is <a href="http://www.json.org/">JSON</a></li>
<li>it scales well!</li>
<li>it&#8217;s free software (MIT license)</li>
</ul>
<p>
Download the scripts <a href="https://github.com/claudioc/ffexp">from Github</a> (the link points to the project page, where you can read the README too. In this case you&#8217;re interested to the <a href="https://github.com/claudioc/ffexp/blob/master/ffexp.php">ffexp.php</a> script).
</p>
<p>You then may run it like:</p>
<pre>php ffexp.php somefilename.json</pre>
<p>As you may infer from the output file extension, the output is plain good JSON. This format is <strong>very</strong> handy for whatever thing you may need to do with the export file. But this is up to you (or your programmer friend).
</p>
<p>As an example of <em>JSON postprocessor</em> I also wrote <strong>a converter</strong> that given your export file will render a fully functional HTML file, looking just like a Friendfeed page. It also automatically embeds the necessary JavaScript, CSS and even icon images. <a href="https://github.com/claudioc/ffexp/blob/master/ffexp2html.php">Download the ffexp2html from Github</a>, open it, read the fine documentation and run it like:</p>
<pre>php ffexp2html.php somefilename.json &gt; somefilename.html</pre>
<p>Now you can open the somefile.html file with your browser (no internet connection needed). You may find a generated <a href="http://web20.it/stuff/caludio.html">output here</a>.</p>
<p>Limits? Yes there are:</p>
<ul>
<li>No download of your DMs (don&#8217;t know exactly why, maybe a limit of the API. But I don&#8217;t care)</li>
<li>You can download even entire rooms (just use the room name as the username), but it seems that there is a limit of how back you can go. Very high, but it exists.</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://claudio.cicali.name/post/2011/01/how-to-export-your-friendfeed-stream-posts-and-comments/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Esportare CSV per MS Excel? Sembra facile!</title>
		<link>http://claudio.cicali.name/post/2009/07/esportare-csv-per-ms-excel-sembra-facile/</link>
		<comments>http://claudio.cicali.name/post/2009/07/esportare-csv-per-ms-excel-sembra-facile/#comments</comments>
		<pubDate>Wed, 29 Jul 2009 11:04:52 +0000</pubDate>
		<dc:creator>claudio</dc:creator>
				<category><![CDATA[Articoli]]></category>
		<category><![CDATA[Programmazione]]></category>
		<category><![CDATA[Rant]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[csv]]></category>
		<category><![CDATA[excel]]></category>
		<category><![CDATA[export]]></category>

		<guid isPermaLink="false">http://claudio.cicali.name/?p=490</guid>
		<description><![CDATA[Potrei aver scritto questo post 45 volte, ormai, e tutte le volte ci ricasco. E bestemmio. Prima o poi ti capita che il cliente ti chieda &#8220;l&#8217;export per excel&#8221; di qualche tabulato. Tu al volo allora gli proponi l&#8217;export in csv che tanto Excel lo apre come fosse un xls, sperando di svincolarti dai micragnosi [...]]]></description>
			<content:encoded><![CDATA[<p>Potrei aver scritto questo post 45 volte, ormai, e tutte le volte ci ricasco. E bestemmio.</p>
<p>Prima o poi ti capita che il cliente ti chieda &#8220;l&#8217;export per excel&#8221; di qualche tabulato. Tu al volo allora gli proponi l&#8217;export in csv <em>che tanto Excel lo apre come fosse un xls</em>, sperando di svincolarti dai micragnosi (e fino a poco tempo fa) misteriosi formati proprietati Microsoft. Capra e cavoli? Tutto liscio? Certo, come no.</p>
<p>Prepari il tuo bell&#8217;export CSV come <a href="http://en.wikipedia.org/wiki/Comma-separated_values">tutti sanno fare</a> e magari <a href="http://www.creativyst.com/Doc/Articles/CSV/CSV01.htm">approfondisci anche il discorso</a>.</p>
<p>Con OpenOffice, ovviamente, tutto liscio.</p>
<p>Ecco invece i problemi con Excel (sarei tentato di dire &#8220;qualsiasi versione&#8221;, ma in realtà ho provato solo con MS Office 2003)</p>
<ul>
<li>per Excel la &#8220;C&#8221; di &#8220;CSV&#8221; sta per &#8220;semicolon&#8221; e non per &#8220;comma&#8221;. <strong>Già</strong>. Occorre separare i campi con un punto e virgola, non con una virgola (ancora una volta OOo non fa una piega cambiando questo &#8220;default&#8221; &#8211; si limita a dire &#8220;Oh, OK.&#8221;; giuro che l&#8217;ho sentito) [edit: come dice calca nei commenti questo comportamento <em>potrebbe</em> essere una impostazione del locale... boh]</li>
<li>il problema più grave, però, è che per Excel un CSV può essere soltanto in LATIN1 e niente altro. Avete codificato il CSV in UTF8? Tempo perso. No way. Niente da fare. Da qualche parte si legge che aggiungendo il dovuto <a href="http://en.wikipedia.org/wiki/Byte-order_mark">BOM</a> all&#8217;inizio del file il signorino dovrebbe onorarlo&#8230; a me non è sembrato.</li>
</ul>
<p>La cosa curiosa, per quanto riguarda quest&#8217;ultimo punto, è che se da Excel stesso esporti uno sheet in fomato CSV contenente dei caratteri non ASCII, il CSV che ottieni è appunto non in formato UTF8, e dunque avrai le famose <em>accentate sminchiate</em>. Va da sé che non esiste opzione per modificare questo comportamento.</p>
<p>Se sei stato più fortunato di me, fammelo sapere e te ne sarò grato.</p>
]]></content:encoded>
			<wfw:commentRss>http://claudio.cicali.name/post/2009/07/esportare-csv-per-ms-excel-sembra-facile/feed/</wfw:commentRss>
		<slash:comments>14</slash:comments>
		</item>
	</channel>
</rss>

