<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Opensource on Marcello Barnaba</title>
    <link>https://sindro.me/it/tags/opensource/</link>
    <description>Recent content in Opensource on Marcello Barnaba</description>
    <generator>Hugo</generator>
    <language>it</language>
    <lastBuildDate>Tue, 10 Feb 2009 18:08:34 +0000</lastBuildDate>
    <atom:link href="https://sindro.me/it/tags/opensource/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Come creare un mirror statico del sito opensource.org</title>
      <link>https://sindro.me/it/posts/2009-02-10-how-to-mirror-a-static-copy-of-the-opensource-org-website/</link>
      <pubDate>Tue, 10 Feb 2009 18:08:34 +0000</pubDate>
      <guid>https://sindro.me/it/posts/2009-02-10-how-to-mirror-a-static-copy-of-the-opensource-org-website/</guid>
      <description>&lt;p&gt;Attualmente mantengo il &lt;a href=&#34;http://opensource.antifork.org/&#34; target=&#34;_blank&#34;&gt;mirror italiano&lt;/a&gt; del&#xA;sito web della &lt;a href=&#34;http://opensource.org/&#34; target=&#34;_blank&#34;&gt;Open Source Initiative&lt;/a&gt;, e oggi mi sono&#xA;reso conto che lo script che avevo scritto qualche mese fa non stava facendo&#xA;bene il suo lavoro&amp;hellip; perche&amp;rsquo; i file CSS non venivano scaricati affatto,&#xA;causando un rendering del sito piuttosto sgradevole.&lt;/p&gt;&#xA;&lt;p&gt;Per fare il mirror di opensource.org sto usando il caro vecchio &lt;a href=&#34;http://www.gnu.org/software/wget/&#34; target=&#34;_blank&#34;&gt;GNU&#xA;Wget&lt;/a&gt; con -r &amp;ndash;mirror e compagnia bella.&#xA;Mentre il buon vecchio &lt;strong&gt;wget&lt;/strong&gt; scarica tutti i prerequisiti di ogni pagina&#xA;definiti nel sorgente HTML, non supporta le regole CSS @import e non scarica le&#xA;immagini referenziate nei CSS con le regole url().&lt;/p&gt;&#xA;&lt;p&gt;Comunque, niente che non si possa risolvere con un po&amp;rsquo; di regex-fu: ecco&#xA;perche&amp;rsquo; &lt;a href=&#34;http://gist.github.com/61474&#34; target=&#34;_blank&#34;&gt;condivido lo script&lt;/a&gt; che sto usando&#xA;attualmente per fare il mirror del sito opensource.org, sperando che generi un&#xA;nuovo mirror o qualche spunto su come fare meglio questo lavoro :).&lt;/p&gt;&#xA;&lt;p&gt;Lo script: &lt;a href=&#34;http://gist.github.com/61474&#34; target=&#34;_blank&#34;&gt;&lt;code&gt;update_opensource_mirror.sh&lt;/code&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;Buon divertimento! :)&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
