<?xml version="1.0" encoding="utf-8"?><?xml-stylesheet title="XSL formatting" type="text/xsl" href="http://blog.photozite.info/index.php/feed/rss2/xslt" ?><rss version="2.0"
  xmlns:dc="http://purl.org/dc/elements/1.1/"
  xmlns:wfw="http://wellformedweb.org/CommentAPI/"
  xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
  <title>Un peu de tout et surtout rien - javascript</title>
  <link>http://blog.photozite.info/index.php/</link>
  <description>Parcque je le vaut bien !</description>
  <language>fr</language>
  <pubDate>Sun, 08 May 2011 16:24:37 +0200</pubDate>
  <copyright>ARISTODEMO Damien</copyright>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Dotclear</generator>
  
    
  <item>
    <title>Générer un squelette de page xHTML façilement</title>
    <link>http://blog.photozite.info/index.php/post/2007/12/28/Generer-un-squelette-de-page-xHTML-facilement</link>
    <guid isPermaLink="false">urn:md5:65f30dd44a6dae310b9b966448bd4464</guid>
    <pubDate>Fri, 28 Dec 2007 20:32:00 +0100</pubDate>
    <dc:creator>knoodrake</dc:creator>
        <category>Linux</category>
        <category>javascript</category><category>linux</category><category>php</category><category>tidy</category><category>web</category>    
    <description>    &lt;p&gt;Une petite astuce que j'ai trouvé lorsque je créé une nouvelle page ( sous &lt;ins&gt;Linux&lt;/ins&gt; ) avec &lt;a hreflang=&quot;en&quot; href=&quot;http://www.w3.org/People/Raggett/tidy/&quot;&gt;tidy&lt;/a&gt; .&lt;/p&gt;
&lt;p&gt;Dans une console :&amp;nbsp; --------------------------------------------------------------&lt;/p&gt;
&lt;p&gt;&lt;code&gt;$ tidy -i -asxhtml /dev/null &amp;gt;&amp;nbsp; monFichier.html&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;qui donnera&amp;nbsp;&lt;/p&gt;
&lt;p&gt;$ cat monFichier.html &lt;/p&gt;
&lt;pre&gt;&lt;code class=&quot;jsh:html&quot;&gt;

&amp;lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD XHTML 1.0 Strict//EN&quot;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd&quot;&amp;gt;

&amp;lt;html xmlns=&quot;http://www.w3.org/1999/xhtml&quot;&amp;gt;
&amp;lt;head&amp;gt;
&amp;nbsp; &amp;lt;meta name=&quot;generator&quot; content=
&amp;nbsp; &quot;HTML Tidy for Linux/x86 (vers 1 September 2005), see www.w3.org&quot; /&amp;gt;

&amp;nbsp; &amp;lt;title&amp;gt;&amp;lt;/title&amp;gt;
&amp;lt;/head&amp;gt;

&amp;lt;body&amp;gt;
&amp;lt;/body&amp;gt;
&amp;lt;/html&amp;gt;

&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;l'option &lt;strong&gt;-i &lt;/strong&gt;permet de demander à tidy d'identer le code, et l'option &lt;strong&gt;&lt;em&gt;-asxhtml &lt;/em&gt;&lt;/strong&gt;précise que l'on souhaite avoir du code xhtml ( on aurait pu utiliser -ashtml pour avoir du html )&lt;/p&gt;
&lt;p&gt;Pour plus d'informations: &lt;em&gt;$ man tidy&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;&lt;br /&gt;&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Pour installer tidy &lt;/strong&gt;, simplement &lt;em&gt;$ sudo apt-get install tidy&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;Notez que tidy est un formidable outil qui vous servira à moultes choses comme la &quot;réparation&quot; d'un fichier mal écrit, plein d'erreur.&lt;/p&gt;</description>
    
    
    
      </item>
    
</channel>
</rss>
