<?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>Ta vie on s'en fout! &#187; blog</title>
	<atom:link href="http://tavie.onsenfout.com/tag/blog/feed/" rel="self" type="application/rss+xml" />
	<link>http://tavie.onsenfout.com</link>
	<description>Mon bazar techno-miam</description>
	<lastBuildDate>Tue, 22 Nov 2011 11:06:05 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Adieu WP-Print, bonjour la feuille de style print.css</title>
		<link>http://tavie.onsenfout.com/2009/10/07/adieu-wp-print-bonjour-la-feuille-de-style-print-css/</link>
		<comments>http://tavie.onsenfout.com/2009/10/07/adieu-wp-print-bonjour-la-feuille-de-style-print-css/#comments</comments>
		<pubDate>Wed, 07 Oct 2009 14:39:05 +0000</pubDate>
		<dc:creator>François</dc:creator>
				<category><![CDATA[Bits]]></category>
		<category><![CDATA[blog]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[feuille de style]]></category>
		<category><![CDATA[images]]></category>
		<category><![CDATA[impression]]></category>
		<category><![CDATA[Lester Chan]]></category>
		<category><![CDATA[print.css]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[WP-Print]]></category>

		<guid isPermaLink="false">http://tavie.onsenfout.com/?p=192</guid>
		<description><![CDATA[J&#8217;ai longtemps utilisé l&#8217;excellent plugin WordPress de Lester Chan WP-Print , qui permet de supprimer les éléments indésirables à l&#8217;impression (barre de menu, pied de page, etc&#8230;). J&#8217;avais bien lu dans différentes doc que les feuilles de style CSS permettaient d&#8217;arriver au même résultat mais je n&#8217;avais pas pris le temps d&#8217;approfondir le sujet en [...]<br /><div><img src="http://tavie.onsenfout.com/wp-content/plugins/gd-star-rating/gfx.php?value=0.0" /></div><div>Rating: 0.0/<strong>5</strong> (0 votes cast)</div><br /><a target="_blank" href="http://www.gdstarrating.com/"><img src="http://tavie.onsenfout.com/wp-content/plugins/gd-star-rating/gfx/powered.png" border="0" width="80" height="15" /></a><br />]]></description>
			<content:encoded><![CDATA[<p>J&#8217;ai longtemps utilisé l&#8217;excellent plugin WordPress de Lester Chan <a href="http://wordpress.org/extend/plugins/wp-print/" target="_blank">WP-Print</a> , qui permet de supprimer les éléments indésirables à l&#8217;impression (barre de menu, pied de page, etc&#8230;). J&#8217;avais bien lu dans différentes doc que les feuilles de style CSS permettaient d&#8217;arriver au même résultat mais je n&#8217;avais pas pris le temps d&#8217;approfondir le sujet en me disant que ça allait être long et douloureux.</p>
<p>En fait c&#8217;est très simple et les impressions des billets de ce blog fonctionnent maintenant sur ce principe. Voici la marche à suivre :<span id="more-192"></span></p>
<p>Tout d&#8217;abord il faut créer dans le répertoire du thème une feuille de style <strong>print.css</strong> qui sera dédiée aux impressions. Ensuite, en reprenant les sections définies dans la feuille de style principale (<strong>style.css</strong> en général sous WordPress) on définit des instructions de formatage spécifiques à l&#8217;impression. Quelques exemples :</p>
<p>Pour exclure le menu latéral de l&#8217;impression (<strong>#sidebar</strong> ici, ça peut aussi être <strong>#menu</strong>) :</p>

<div class="wp_syntax"><div class="code"><pre class="css" style="font-family:monospace;"><span style="color: #cc00cc;">#sidebar</span> <span style="color: #00AA00;">&#123;</span> <span style="color: #000000; font-weight: bold;">display</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">none</span><span style="color: #00AA00;">;</span> <span style="color: #00AA00;">&#125;</span></pre></div></div>

<p>C&#8217;est tout! On procède de la même façon pour tous les éléments à exclure, pour le pied de page ça sera :</p>

<div class="wp_syntax"><div class="code"><pre class="css" style="font-family:monospace;"><span style="color: #cc00cc;">#footer</span> <span style="color: #00AA00;">&#123;</span> <span style="color: #000000; font-weight: bold;">display</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">none</span><span style="color: #00AA00;">;</span> <span style="color: #00AA00;">&#125;</span></pre></div></div>

<p>Certains navigateurs basés sur Gecko ont du mal à imprimer les éléments flottants et les tronquent à la fin de la première page. Le remède est là (on en profite pour redéfinir les marges) :</p>

<div class="wp_syntax"><div class="code"><pre class="css" style="font-family:monospace;"><span style="color: #cc00cc;">#content</span> <span style="color: #00AA00;">&#123;</span>
<span style="color: #000000; font-weight: bold;">display</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">block</span><span style="color: #00AA00;">;</span>
<span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">auto</span><span style="color: #00AA00;">;</span>
<span style="color: #000000; font-weight: bold;">border</span><span style="color: #00AA00;">:</span> <span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span>
<span style="color: #000000; font-weight: bold;">margin</span><span style="color: #00AA00;">:</span> <span style="color: #cc66cc;">0</span> <span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span>
<span style="color: #000000; font-weight: bold;">padding</span><span style="color: #00AA00;">:</span> <span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span>
<span style="color: #000000; font-weight: bold;">float</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">none</span> !important<span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span></pre></div></div>

<p>Pour supprimer les images et couleurs de l&#8217;arrière plan :</p>

<div class="wp_syntax"><div class="code"><pre class="css" style="font-family:monospace;">body <span style="color: #00AA00;">&#123;</span> <span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">white</span><span style="color: #00AA00;">;</span> <span style="color: #00AA00;">&#125;</span></pre></div></div>

<p>Pour ajouter l&#8217;URL des liens à la suite de leur libellé :</p>

<div class="wp_syntax"><div class="code"><pre class="css" style="font-family:monospace;"><span style="color: #cc00cc;">#content</span> a<span style="color: #3333ff;">:link</span><span style="color: #3333ff;">:after</span><span style="color: #00AA00;">,</span> <span style="color: #cc00cc;">#content</span> a<span style="color: #3333ff;">:visited</span><span style="color: #3333ff;">:after </span><span style="color: #00AA00;">&#123;</span>
<span style="color: #000000; font-weight: bold;">content</span><span style="color: #00AA00;">:</span> <span style="color: #ff0000;">&quot; (&quot;</span> attr<span style="color: #00AA00;">&#40;</span>href<span style="color: #00AA00;">&#41;</span> <span style="color: #ff0000;">&quot;) &quot;</span><span style="color: #00AA00;">;</span>
<span style="color: #000000; font-weight: bold;">font-size</span><span style="color: #00AA00;">:</span> <span style="color: #933;">90%</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span></pre></div></div>

<p>On peut améliorer à loisir cette feuille de style pour faire une mise en page &laquo;&nbsp;papier&nbsp;&raquo; aussi soignée que ce qu&#8217;on peut faire sur écran. Je n&#8217;ai écouté que mon courage, et je me suis arrêté là.</p>
<p>La dernière chose à faire (encore un effort!) est de charger cette nouvelle feuille de style. Avec WordPress, on édite le fichier header.php du thème et on ajoute la ligne suivante dans la section &lt;head&gt; :</p>

<div class="wp_syntax"><div class="code"><pre class="html" style="font-family:monospace;">&lt;link rel=&quot;stylesheet&quot; type=&quot;text/css&quot; media=&quot;print&quot; href=&quot;&lt;?php bloginfo('stylesheet_directory'); ?&gt;;/print.css&quot; /&gt;;</pre></div></div>

<p>Voici le fichier <a href="http://tavie.onsenfout.com/wp-content/themes/our-rights-fr/print.css" target="_blank">print.css</a> que j&#8217;utilise ici. Il est très basique mais si ça peut servir&#8230;</p>
<h3>Liens :</h3>
<p><a href="http://codex.wordpress.org/Styling_for_Print" target="_blank">WordPress Codex &#8211; Styling for print (en)</a></p>
<p><a href="http://www.pompage.net/pompe/impression/" target="_blank">Pompage &#8211; Faites bonne impression avec les CSS</a></p>
<br /><div><img src="http://tavie.onsenfout.com/wp-content/plugins/gd-star-rating/gfx.php?value=0.0" /></div><div>Rating: 0.0/<strong>5</strong> (0 votes cast)</div><br /><a target="_blank" href="http://www.gdstarrating.com/"><img src="http://tavie.onsenfout.com/wp-content/plugins/gd-star-rating/gfx/powered.png" border="0" width="80" height="15" /></a><br />]]></content:encoded>
			<wfw:commentRss>http://tavie.onsenfout.com/2009/10/07/adieu-wp-print-bonjour-la-feuille-de-style-print-css/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Changement de look</title>
		<link>http://tavie.onsenfout.com/2008/06/26/changement-de-look/</link>
		<comments>http://tavie.onsenfout.com/2008/06/26/changement-de-look/#comments</comments>
		<pubDate>Wed, 25 Jun 2008 23:48:10 +0000</pubDate>
		<dc:creator>François</dc:creator>
				<category><![CDATA[Bits]]></category>
		<category><![CDATA[blog]]></category>
		<category><![CDATA[thème]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://tavie.onsenfout.com/?p=76</guid>
		<description><![CDATA[Je suis tombé sous le charme de ce thème Our Rights conçu par Retno Nindya et adapté à WordPress par Hafiz Rahman. En plus de son look très sympa, il est vraiment très bien conçu, bien mieux que mon ancien thème I feel dirty, Je n&#8217;ai eu aucun mal à adapter toutes mes modifs. L&#8217;essayer [...]<br /><div><img src="http://tavie.onsenfout.com/wp-content/plugins/gd-star-rating/gfx.php?value=0.0" /></div><div>Rating: 0.0/<strong>5</strong> (0 votes cast)</div><br /><a target="_blank" href="http://www.gdstarrating.com/"><img src="http://tavie.onsenfout.com/wp-content/plugins/gd-star-rating/gfx/powered.png" border="0" width="80" height="15" /></a><br />]]></description>
			<content:encoded><![CDATA[<p>Je suis tombé sous le charme de ce thème <a href="http://wordpress-tuto.fr/theme-wordpress-our-rights-413" target="_blank">Our Rights</a> conçu par <a href="http://kappachan.blogspot.com/">Retno Nindya</a> et adapté à WordPress par <a href="http://playworkplay.com/">Hafiz Rahman</a>. En plus de son look très sympa, il est vraiment très bien conçu, bien mieux que mon ancien thème <a href="http://studio.st/i-feel-dirty/" target="_blank">I feel dirty</a>, Je n&#8217;ai eu aucun mal à adapter toutes mes modifs.</p>
<p>L&#8217;essayer c&#8217;est l&#8217;adopter, j&#8217;espère qu&#8217;il vous plaira autant qu&#8217;il m&#8217;a plu!</p>
<br /><div><img src="http://tavie.onsenfout.com/wp-content/plugins/gd-star-rating/gfx.php?value=0.0" /></div><div>Rating: 0.0/<strong>5</strong> (0 votes cast)</div><br /><a target="_blank" href="http://www.gdstarrating.com/"><img src="http://tavie.onsenfout.com/wp-content/plugins/gd-star-rating/gfx/powered.png" border="0" width="80" height="15" /></a><br />]]></content:encoded>
			<wfw:commentRss>http://tavie.onsenfout.com/2008/06/26/changement-de-look/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installation et utilisation du plugin WordPress WP-Print</title>
		<link>http://tavie.onsenfout.com/2008/06/13/installation-et-utilisation-du-plugin-wordpress-wp-print/</link>
		<comments>http://tavie.onsenfout.com/2008/06/13/installation-et-utilisation-du-plugin-wordpress-wp-print/#comments</comments>
		<pubDate>Fri, 13 Jun 2008 15:04:17 +0000</pubDate>
		<dc:creator>François</dc:creator>
				<category><![CDATA[Bits]]></category>
		<category><![CDATA[blog]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[feuille de style]]></category>
		<category><![CDATA[impression]]></category>
		<category><![CDATA[thème]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[wordpress 2.5]]></category>
		<category><![CDATA[WP-Print]]></category>

		<guid isPermaLink="false">http://tavie.onsenfout.com/?p=74</guid>
		<description><![CDATA[Un mini tuto rapidos sur l&#8217;installation et l&#8217;utilisation du plugin WordPress WP-Print. Pour rappel ce plugin permet d&#8217;afficher une jolie version imprimable de l&#8217;article ou de la page en cours, sans les menus, en-têtes et autres pieds de page disgracieux. Installation Télécharger WP-Print 2.3 en Français. (pour les versions WordPress 2.5 et supérieures) Décompresser l&#8217;archive [...]<br /><div><img src="http://tavie.onsenfout.com/wp-content/plugins/gd-star-rating/gfx.php?value=5.0" /></div><div>Rating: 5.0/<strong>5</strong> (1 vote cast)</div><br /><a target="_blank" href="http://www.gdstarrating.com/"><img src="http://tavie.onsenfout.com/wp-content/plugins/gd-star-rating/gfx/powered.png" border="0" width="80" height="15" /></a><br />]]></description>
			<content:encoded><![CDATA[<p>Un mini tuto rapidos sur l&#8217;installation et l&#8217;utilisation du plugin WordPress WP-Print. Pour rappel ce plugin permet d&#8217;afficher une jolie version imprimable de l&#8217;article ou de la page en cours, sans les menus, en-têtes et autres pieds de page disgracieux.<br />
<span id="more-74"></span></p>
<h3>Installation</h3>
<p>Télécharger <a href="/wp-content/uploads/2008/05/wp-print230.zip">WP-Print 2.3 en Français</a>. (pour les versions WordPress 2.5 et supérieures)</p>
<p>Décompresser l&#8217;archive dans le répertoire wp-content/plugins de votre blog, ce qui crée un répertoire wp-print.</p>
<p>Aller sur le tableau de bord Worpress, menu <strong>Extensions</strong> et <strong>activer</strong> le plugin</p>
<p>Régénérer les permaliens : <strong>Réglages</strong> / <strong>Permaliens</strong> et cliquer sur <strong>Enregistrer les modifications</strong></p>
<p>Pour paramétrer le plugin (facultatif) aller sur <strong>Réglages</strong> / <strong>Imprimer</strong></p>
<h3>Utilisation</h3>
<p>Voici comment faire apparaitre le lien &laquo;&nbsp;Imprimer le message&nbsp;&raquo; à l&#8217;endroit voulu, plusieurs solutions sont possibles :</p>
<h4>Lien au dessus du titre de chaque article</h4>
<p>Editer le fichier <pre>wp-content/themes/&lt;VOTRE_THEME&gt;/index.php</pre></p>
<p>Rechercher la ligne suivante :</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">while</span> <span style="color: #009900;">&#40;</span>have_posts<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">:</span> the_post<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span></pre></div></div>

<p>En dessous de cette ligne insérer :</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span><span style="color: #990000;">function_exists</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'wp_print'</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span> print_link<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #009900;">&#125;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span></pre></div></div>

<h4>Lien à l&#8217;intérieur de l&#8217;article</h4>
<p>C&#8217;est la solution que j&#8217;ai choisie pour ce blog. Il faut ouvrir l&#8217;article pour que l&#8217;option d&#8217;impression apparaisse.</p>
<p>Editer le fichier <pre>wp-content/themes/&lt;VOTRE_THEME&gt;/single.php</pre></p>
<p>Rechercher la ligne suivante :</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span>have_posts<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">:</span> <span style="color: #b1b100;">while</span> <span style="color: #009900;">&#40;</span>have_posts<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">:</span> the_post<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span></pre></div></div>

<p>En dessous de cette ligne insérer :</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span><span style="color: #990000;">function_exists</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'wp_print'</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span> print_link<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #009900;">&#125;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span></pre></div></div>

<p>de la même façon on peut insérer la ligne de code dans pages.php pour permettre l&#8217;impression des pages.</p>
<h4>Lien d&#8217;impression à la demande</h4>
<p>Si vous ne voulez pas que la fonction d&#8217;impression soit disponible pour l&#8217;ensemble des articles ou des pages, n&#8217;utilisez pas les méthodes précédentes, il y a une solution au coup par coup : Dans l&#8217;article ou la page insérez <strong>&#91;print_link&#93;</strong> à l&#8217;endroit où vous voulez  voir apparaître le lien.</p>
<h4>Personnaliser le style du lien</h4>
<p>WP-Print regarde s&#8217;il existe une feuille de style <strong>print-css.css</strong> dans le répertoire du thème actif. Si elle existe les styles de cette feuille sont chargés, sinon WP-Print charge la feuille <strong>print-css.css</strong> qui se trouve dans le répertoire du plugin. Il ne faut pas modifier cette dernière, les modifications seraient perdues lors de la mise à jour du plugin.</p>
<h3>Liens</h3>
<p><a href="http://lesterchan.net/wordpress/readme/wp-print.html" target="_blank">La homepage de WP-Print</a></p>
<br /><div><img src="http://tavie.onsenfout.com/wp-content/plugins/gd-star-rating/gfx.php?value=5.0" /></div><div>Rating: 5.0/<strong>5</strong> (1 vote cast)</div><br /><a target="_blank" href="http://www.gdstarrating.com/"><img src="http://tavie.onsenfout.com/wp-content/plugins/gd-star-rating/gfx/powered.png" border="0" width="80" height="15" /></a><br />]]></content:encoded>
			<wfw:commentRss>http://tavie.onsenfout.com/2008/06/13/installation-et-utilisation-du-plugin-wordpress-wp-print/feed/</wfw:commentRss>
		<slash:comments>13</slash:comments>
		</item>
		<item>
		<title>Mise à jour vers WordPress 2.5</title>
		<link>http://tavie.onsenfout.com/2008/04/07/mise-a-jour-vers-wordpress-25/</link>
		<comments>http://tavie.onsenfout.com/2008/04/07/mise-a-jour-vers-wordpress-25/#comments</comments>
		<pubDate>Mon, 07 Apr 2008 12:08:18 +0000</pubDate>
		<dc:creator>François</dc:creator>
				<category><![CDATA[Bits]]></category>
		<category><![CDATA[administration]]></category>
		<category><![CDATA[blog]]></category>
		<category><![CDATA[Lester Chan]]></category>
		<category><![CDATA[svn]]></category>
		<category><![CDATA[traduction]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[wordpress 2.5]]></category>
		<category><![CDATA[WP-Print]]></category>

		<guid isPermaLink="false">http://tavie.onsenfout.com/?p=45</guid>
		<description><![CDATA[J&#8217;ai mis à jour ce blog vers la version 2.5 de WordPress qui apporte un bon lot d&#8217;améliorations dans l&#8217;interface d&#8217;administration. La mise à jour s&#8217;est passée sans histoire (par svn), et tous les plugins installés fonctionnent avec la nouvelle version. WP-Print 2.2 était incompatible mais Lester Chan à développé de nouvelles versions de ses [...]<br /><div><img src="http://tavie.onsenfout.com/wp-content/plugins/gd-star-rating/gfx.php?value=0.0" /></div><div>Rating: 0.0/<strong>5</strong> (0 votes cast)</div><br /><a target="_blank" href="http://www.gdstarrating.com/"><img src="http://tavie.onsenfout.com/wp-content/plugins/gd-star-rating/gfx/powered.png" border="0" width="80" height="15" /></a><br />]]></description>
			<content:encoded><![CDATA[<p>J&#8217;ai mis à jour ce blog vers <a href="http://www.wordpress-fr.net/blog/wordpress/presentation-de-wordpress-25-par-matt" target="_blank">la version 2.5 de WordPress</a> qui apporte un bon lot d&#8217;améliorations dans l&#8217;interface d&#8217;administration. La mise à jour s&#8217;est passée sans histoire (par svn), et tous les plugins installés fonctionnent avec la nouvelle version.</p>
<p><span id="more-45"></span>WP-Print 2.2 était incompatible mais Lester Chan à développé de <a href="http://lesterchan.net/wordpress/2008/03/30/my-plugins-compatibility-with-wordpress-25/" target="_blank">nouvelles versions</a> de ses plugins compatibles avec WP 2.5. La version <a href="http://tavie.onsenfout.com/wp-content/uploads/2008/04/wp-print23b2-fr.zip">WP-Print 2.3 beta 2</a> semble bien fonctionner, à vous de le dire. J&#8217;attends la version finale pour faire la traduction, ça reste donc en anglais pour le moment. Pour les admins WordPress qui font la mise à jour WP-Print, pensez à mettre aussi à jour les permaliens sinon ça marche pas.</p>
<p>A l&#8217;usage j&#8217;ai eu quelques soucis avec la nouvelle interface de téléchargement de médias, Ajaxisée et Flashifiée à mort. Quand j&#8217;essayais d&#8217;uploader un fichier, rien ne se passait. Il y a <a href="http://wordpress.org/support/topic/164999" target="_blank">toute une page</a> (en anglais) qui recense les problèmes avec cette nouvelle interface. Pour ma part j&#8217;ai du faire les manips suivantes :</p>
<ul>
<li>Modifier le fichier .htaccess à la racine du blog et rajouter les lignes :</li>
</ul>

<div class="wp_syntax"><div class="code"><pre class="apache" style="font-family:monospace;">&lt;/<span style="color: #000000; font-weight:bold;">IfModule</span>&gt;
&lt;<span style="color: #000000; font-weight:bold;">IfModule</span> mod_security.c&gt;
&lt;<span style="color: #000000; font-weight:bold;">Files</span> async-upload.php&gt;
SecFilterEngine <span style="color: #0000ff;">Off</span>
SecFilterScanPOST <span style="color: #0000ff;">Off</span>
&lt;/<span style="color: #000000; font-weight:bold;">Files</span>&gt;
&lt;/<span style="color: #000000; font-weight:bold;">IfModule</span>&gt;</pre></div></div>

<ul>
<li>Mettre à jour le plugin Flash pour Firefox. Sous Ubuntu, c&#8217;est flashplugin-nonfree dans les dépots medibuntu.</li>
</ul>
<br /><div><img src="http://tavie.onsenfout.com/wp-content/plugins/gd-star-rating/gfx.php?value=0.0" /></div><div>Rating: 0.0/<strong>5</strong> (0 votes cast)</div><br /><a target="_blank" href="http://www.gdstarrating.com/"><img src="http://tavie.onsenfout.com/wp-content/plugins/gd-star-rating/gfx/powered.png" border="0" width="80" height="15" /></a><br />]]></content:encoded>
			<wfw:commentRss>http://tavie.onsenfout.com/2008/04/07/mise-a-jour-vers-wordpress-25/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Traduction française du plugin WordPress WP-Print 2.20</title>
		<link>http://tavie.onsenfout.com/2007/11/25/traduction-francaise-du-plugin-wordpress-wp-print-220/</link>
		<comments>http://tavie.onsenfout.com/2007/11/25/traduction-francaise-du-plugin-wordpress-wp-print-220/#comments</comments>
		<pubDate>Sat, 24 Nov 2007 23:51:53 +0000</pubDate>
		<dc:creator>François</dc:creator>
				<category><![CDATA[Bits]]></category>
		<category><![CDATA[blog]]></category>
		<category><![CDATA[Lester Chan]]></category>
		<category><![CDATA[traduction]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[wordpress 2.5]]></category>
		<category><![CDATA[WP-Print]]></category>

		<guid isPermaLink="false">http://tavie.onsenfout.com/2007/11/25/traduction-francaise-du-plugin-wordpress-wp-print-220/</guid>
		<description><![CDATA[Grâce à l&#8217;excellent tuto de Marc Charvet j&#8217;ai traduit en français le non moins excellent plugin WP-Print de Lester Chan. On peut donc maintenant imprimer proprement et en français les excellents billets de ce blog en cliquant sur la petite imprimante en haut à gauche (il faut ouvrir le billet pour que la magie opère). [...]<br /><div><img src="http://tavie.onsenfout.com/wp-content/plugins/gd-star-rating/gfx.php?value=0.0" /></div><div>Rating: 0.0/<strong>5</strong> (0 votes cast)</div><br /><a target="_blank" href="http://www.gdstarrating.com/"><img src="http://tavie.onsenfout.com/wp-content/plugins/gd-star-rating/gfx/powered.png" border="0" width="80" height="15" /></a><br />]]></description>
			<content:encoded><![CDATA[<p>Grâce à l&#8217;excellent <a title="Tuto traduction thèmes et plugins wordpress" href="http://www.la57ieme.net/wordpress/articles/internationalisation-des-themesintroduction/">tuto de Marc Charvet</a> j&#8217;ai traduit en français le non moins excellent plugin WP-Print de <a title="Lester Chan programming" href="http://lesterchan.net/portfolio/programming.php">Lester Chan</a>. On peut donc maintenant imprimer proprement et en français les excellents <img src='http://tavie.onsenfout.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' />  billets de ce blog en cliquant sur la petite imprimante en haut à gauche (il faut ouvrir le billet pour que la magie opère).</p>
<p>Pour ceux que ça intéresse, en attendant que la traduction soit accessible sur le <a title="Traductions WP-Print" href="http://dev.wp-plugins.org/browser/wp-print/i18n">repository des plugins WordPress</a> on peut toujours la télécharger <a title="Traduction française WP-Print" href="/wp-content/uploads/2007/11/wp-print-fr_fr.zip">ici</a>. Pour l&#8217;installer il suffit de décompresser l&#8217;archive dans le répertoire wp-content/plugins/print. Il n&#8217;y a que les fichiers de localisation dans l&#8217;archive, le plugin doit déja être installé (version 2.20).</p>
<p>Edit du 26/11/2007 : j&#8217;ai mis en ligne une version complète francisée <a title="WP-Print 2.20 fr" href="/wp-content/uploads/2007/11/wp-print220-fr.zip">ici</a><br />
Edit du 28/11/2007 : Bravo à l&#8217;équipe de WordPress Francophone, le plugin francisé est aussi <a title="WP-Print Français" href="http://www.wordpress-fr.net/plugins?detail-file=wp-print">chez eux </a></p>
<p>Edit du 17/7/2008 : Attention, cette version n&#8217;est pas compatible avec WordPress 2.5. Téléchargez <a href="/wp-content/uploads/2008/05/wp-print230.zip">WP-Print 2.3</a>. Il y a aussi un <a href="/2008/06/13/installation-et-utilisation-du-plugin-wordpress-wp-print/">mini tuto  d&#8217;installation.</a></p>
<br /><div><img src="http://tavie.onsenfout.com/wp-content/plugins/gd-star-rating/gfx.php?value=0.0" /></div><div>Rating: 0.0/<strong>5</strong> (0 votes cast)</div><br /><a target="_blank" href="http://www.gdstarrating.com/"><img src="http://tavie.onsenfout.com/wp-content/plugins/gd-star-rating/gfx/powered.png" border="0" width="80" height="15" /></a><br />]]></content:encoded>
			<wfw:commentRss>http://tavie.onsenfout.com/2007/11/25/traduction-francaise-du-plugin-wordpress-wp-print-220/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mise à jour WordPress avec Subversion</title>
		<link>http://tavie.onsenfout.com/2007/11/12/mise-a-jour-wordpress-avec-subversion/</link>
		<comments>http://tavie.onsenfout.com/2007/11/12/mise-a-jour-wordpress-avec-subversion/#comments</comments>
		<pubDate>Mon, 12 Nov 2007 12:38:57 +0000</pubDate>
		<dc:creator>François</dc:creator>
				<category><![CDATA[Bits]]></category>
		<category><![CDATA[administration]]></category>
		<category><![CDATA[blog]]></category>
		<category><![CDATA[sauvegarde]]></category>
		<category><![CDATA[subversion]]></category>
		<category><![CDATA[svn]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://tavie.onsenfout.com/2007/11/12/mise-a-jour-wordpress-avec-subversion/</guid>
		<description><![CDATA[Jusqu&#8217;à maintenant je faisais les mises à jour WordPress de la façon laborieuse, en recopiant les fichiers à la mimine. J&#8217;ai profité de la version 2.3.1 pour créer un &#171;&#160;checkout&#160;&#187; subversion qui devrait simplifier les futures mises à jour. J&#8217;ai suivi les instructions du Codex WordPress : Créer un répertoire de blog temporaire mkdir blognew [...]<br /><div><img src="http://tavie.onsenfout.com/wp-content/plugins/gd-star-rating/gfx.php?value=0.0" /></div><div>Rating: 0.0/<strong>5</strong> (0 votes cast)</div><br /><a target="_blank" href="http://www.gdstarrating.com/"><img src="http://tavie.onsenfout.com/wp-content/plugins/gd-star-rating/gfx/powered.png" border="0" width="80" height="15" /></a><br />]]></description>
			<content:encoded><![CDATA[<p>Jusqu&#8217;à maintenant je faisais les mises à jour WordPress de la façon laborieuse, en recopiant les fichiers à la mimine. J&#8217;ai profité de la version 2.3.1 pour créer un &laquo;&nbsp;checkout&nbsp;&raquo; subversion qui devrait simplifier les futures mises à jour. J&#8217;ai suivi les instructions du <a title="Créer un checkout subversion" href="http://codex.wordpress.org/Installing/Updating_WordPress_with_Subversion#Converting_a_.22Traditional.22_WordPress_Blog_to_a_Subversion_Checkout" target="_blank">Codex WordPress</a> :</p>
<p>Créer un répertoire de blog temporaire</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">mkdir</span> blognew</pre></div></div>

<p>Dans ce répertoire extraire la dernière version stable de WordPress (attention au point à la fin de la commande svn)</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">cd</span> blognew
<span style="color: #c20cb9; font-weight: bold;">svn</span> <span style="color: #c20cb9; font-weight: bold;">co</span> http:<span style="color: #000000; font-weight: bold;">//</span>svn.automattic.com<span style="color: #000000; font-weight: bold;">/</span>wordpress<span style="color: #000000; font-weight: bold;">/</span>trunk .</pre></div></div>

<p>Recopier à la main les éléments personnalisés (.htaccess, wp-config.php, wp-content/, etc&#8230;) du répertoire de blog actuel vers le nouveau</p>
<p>Sauvegarder la base de données</p>
<p>Renommer les répertoires :</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">mv</span> blog blog.save
<span style="color: #c20cb9; font-weight: bold;">mv</span> blognew blog</pre></div></div>

<p>Lancer le script de mise à jour (il n&#8217;y avait pas de mise à jour de la base pour cette version) :</p>

<div class="wp_syntax"><div class="code"><pre class="html" style="font-family:monospace;">http://tavie.onsenfout.com/wp-admin/upgrade.php</pre></div></div>

<p>La prochaine mise à jour (2.3.2 ?) pourra être effectuée avec la commande :</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">cd</span> blog
<span style="color: #c20cb9; font-weight: bold;">svn</span> update</pre></div></div>

<br /><div><img src="http://tavie.onsenfout.com/wp-content/plugins/gd-star-rating/gfx.php?value=0.0" /></div><div>Rating: 0.0/<strong>5</strong> (0 votes cast)</div><br /><a target="_blank" href="http://www.gdstarrating.com/"><img src="http://tavie.onsenfout.com/wp-content/plugins/gd-star-rating/gfx/powered.png" border="0" width="80" height="15" /></a><br />]]></content:encoded>
			<wfw:commentRss>http://tavie.onsenfout.com/2007/11/12/mise-a-jour-wordpress-avec-subversion/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

