<?xml version="1.0" encoding="utf-8"?><?xml-stylesheet title="XSL formatting" type="text/xsl" href="http://blog.vosinformations.com/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>blog - vosinformations.com - DotClear</title>
  <link>http://blog.vosinformations.com/</link>
  <description></description>
  <language>fr</language>
  <pubDate>Sat, 16 Feb 2008 07:37:00 +0000</pubDate>
  <copyright>vosinformations.com</copyright>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Dotclear</generator>
  
    
  <item>
    <title>url propres</title>
    <link>http://blog.vosinformations.com/post/2008/01/14/url-propres</link>
    <guid isPermaLink="false">urn:md5:7d798f097ba5a323f4de0461af03b2e1</guid>
    <pubDate>Mon, 14 Jan 2008 07:16:00 +0000</pubDate>
    <dc:creator>cobra</dc:creator>
        <category>DotClear</category>
        <category>Directory</category><category>PATH_INFO</category><category>QUERY_STRING</category><category>url</category><category>url_scan</category>    
    <description>&lt;p&gt;DotClear 2 permet la publication de belles url, après une petite manipulation&lt;/p&gt;    &lt;ul&gt;
&lt;li&gt;Ouvrez le tableau de bord à &lt;em&gt;Paramètres du blog&lt;/em&gt;&lt;/li&gt;
&lt;li&gt;Repérez la ligne &lt;em&gt;Méthode de lecture de l'URL&lt;/em&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
&lt;li&gt;crééez ou modifier votre fichier .htaccess en racine du blog (&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Insérez:&lt;/p&gt;


&lt;pre&gt;RewriteEngine On
RewriteBase /&lt;/pre&gt;


&lt;pre&gt;RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule (.*) /index.php/$1
RewriteRule ^index.php$ index.php/
RewriteCond %{QUERY_STRING} ^type=co$
RewriteRule ^rss\.php$ /feed/rss2/comments [NC,L,R=301]
RewriteRule ^atom\.php$ /feed/atom/comments [NC,L,R=301]
RewriteRule ^atom\.php /feed/atom [NC,L,R=301]
RewriteRule ^rss\.php /feed/rss2 [NC,L,R=301]
RewriteCond %{QUERY_STRING} ^([0-9]{4}/[0-9]{2}/[0-9]{2}/[0-9]+.*)$
RewriteRule ^index.php /post/%1? [R,L]
RewriteCond %{QUERY_STRING} ^([A-Z][a-z]+.*)$
RewriteRule ^index.php /category/%1? [R,L]
RewriteCond %{QUERY_STRING} ^(tag/.*)$
RewriteRule ^index.php /%1? [R,L]&lt;/pre&gt;


&lt;p&gt;L'insertion est également possible au niveau de la configuration du serveur, dans une balise &amp;lt;Directory&amp;gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;une fois le fichier .htaccess (ou le serveur) modifié basculez la méthode de lecture de QUERY_STRING vers PATH_INFO&lt;/li&gt;
&lt;li&gt;Modifier l'Url du blog (case du dessus) en ôtant le index.php?, il doit rester http://blog.vosinformations.com/&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Si votre DotClear est hébergé dans un sous répertoire, actualisez la fonction &lt;strong&gt;RewriteBase /&lt;/strong&gt; en RewriteBase /&lt;em&gt;repertoire&lt;/em&gt;/ &lt;br /&gt;
Prêtez également attention à la configuration dans about:config, la ligne url_scan qui existe à la fois dans &lt;em&gt;paramètres du blog&lt;/em&gt; et &quot;paramètres globaux&quot; doit indiquer &lt;strong&gt;path_info&lt;/strong&gt;. Rectifiez si nécessaire.&lt;/p&gt;</description>
    
    
    
          <comments>http://blog.vosinformations.com/post/2008/01/14/url-propres#comment-form</comments>
      <wfw:comment>http://blog.vosinformations.com/post/2008/01/14/url-propres#comment-form</wfw:comment>
      <wfw:commentRss>http://blog.vosinformations.com/feed/rss2/comments/42</wfw:commentRss>
      </item>
    
  <item>
    <title>Ajouter des meta description</title>
    <link>http://blog.vosinformations.com/post/2008/01/14/Ajouter-des-meta-description</link>
    <guid isPermaLink="false">urn:md5:66bb60e35d853af33d05c16d5bd3ea78</guid>
    <pubDate>Mon, 14 Jan 2008 07:06:00 +0000</pubDate>
    <dc:creator>cobra</dc:creator>
        <category>DotClear</category>
        <category>meta description</category>    
    <description>&lt;p&gt;Par défaut Dotclear 2 ne mets pas de meta description.
Pour pallier ce manque, il est possible de les rajouter manuellement&lt;/p&gt;    &lt;p&gt;Dans les fichiers archive.html et home.html&amp;nbsp;:&lt;/p&gt;


&lt;p&gt;&lt;strong&gt;&amp;lt;meta name=&quot;description&quot; content=&quot;&lt;q&gt;tpl:BlogDescription remove_html=&quot;1&quot;&lt;/q&gt;&quot; /&amp;gt;&lt;/strong&gt;&lt;/p&gt;


&lt;p&gt;Dans le fichier archive_month.html&amp;nbsp;:&lt;/p&gt;


&lt;p&gt;&lt;strong&gt;&amp;lt;meta name=&quot;description&quot; content=&quot;&amp;lt;tpl:Entries no_content=&quot;1&quot;&amp;gt;&lt;q&gt;tpl:EntryTitle remove_html=&quot;1&quot;&lt;/q&gt;. &amp;lt;/tpl:Entries&amp;gt;&quot; /&amp;gt;&lt;/strong&gt;&lt;/p&gt;


&lt;p&gt;Dans le fichier category.html&amp;nbsp;:&lt;/p&gt;


&lt;p&gt;&lt;strong&gt;&amp;lt;meta name=&quot;description&quot; content=&quot;&lt;q&gt;tpl:CategoryDescription remove_html=&quot;1&quot;&lt;/q&gt;&quot; /&amp;gt;&lt;/strong&gt;&lt;/p&gt;


&lt;p&gt;Dans le fichier post.html&amp;nbsp;:&lt;/p&gt;


&lt;p&gt;&lt;strong&gt;&amp;lt;meta name=&quot;description&quot; content=&quot;&lt;q&gt;tpl:EntryTitle remove_html=&quot;1&quot;&lt;/q&gt;. &amp;lt;tpl:EntryIf has_category=&quot;1&quot;&amp;gt;&lt;q&gt;tpl:EntryCategory remove_html=&quot;1&quot;&lt;/q&gt;&amp;lt;/tpl:EntryIf&amp;gt;&quot; /&amp;gt;&lt;/strong&gt;&lt;/p&gt;</description>
    
    
    
          <comments>http://blog.vosinformations.com/post/2008/01/14/Ajouter-des-meta-description#comment-form</comments>
      <wfw:comment>http://blog.vosinformations.com/post/2008/01/14/Ajouter-des-meta-description#comment-form</wfw:comment>
      <wfw:commentRss>http://blog.vosinformations.com/feed/rss2/comments/41</wfw:commentRss>
      </item>
    
  <item>
    <title>Syntaxe wiki DotClear</title>
    <link>http://blog.vosinformations.com/post/2007/10/29/Syntaxe-wiki-DotClear</link>
    <guid isPermaLink="false">urn:md5:44893afb2b1ccc1ee67bf505df58ae13</guid>
    <pubDate>Mon, 29 Oct 2007 05:33:00 +0000</pubDate>
    <dc:creator>cobra</dc:creator>
        <category>DotClear</category>
        <category>dotclear</category><category>dotclear 2</category><category>syntaxe</category><category>wiki</category>    
    <description>&lt;p&gt;Les marques de formatage Wiki peuvent être insérées dans le texte en les protégeant par un anti-slash  ____ , la marque suivant ce caractère ne sera pas interpétée. &lt;br /&gt;
(le caractère slash &lt;strong&gt;/&lt;/strong&gt; n'a aucun effet)&lt;/p&gt;    &lt;h2&gt;Blocs&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Laisser une ligne vide entre chaque bloc de même nature&lt;/li&gt;
&lt;li&gt;Paragraphe: du texte et une ligne vide&lt;/li&gt;
&lt;li&gt;Titre: !!!, !!,&amp;nbsp;! pour des titres plus ou moins importants (le titre Blocs s'écrit !!!Blocs)&lt;/li&gt;
&lt;li&gt;Trait horizontal: ---- au minimum 4 traits&lt;/li&gt;
&lt;li&gt;Liste: ligne débutant par * ou #&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Il est possible de mélanger les listes (*#*) pour faire des listes de plusieurs niveaux &lt;br /&gt;
Respecter le style de chaque niveau&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Texte préformaté: espace devant chaque ligne de texte&lt;/li&gt;
&lt;li&gt;Bloc de citation: &amp;gt; ou ;: devant chaque ligne de texte&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;Éléments en ligne&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;La correction de ponctuation est active. Un espace insécable remplacera automatiquement tout espace précédant les marques&amp;nbsp;; ?&amp;nbsp;: et&amp;nbsp;!&lt;/li&gt;
&lt;li&gt;Emphase (italique): deux apostrophes ''emphase&quot; = &lt;em&gt;emphase&lt;/em&gt;&lt;/li&gt;
&lt;li&gt;Forte emphase (gras): deux soulignés  __forte emphase__ = &lt;strong&gt;forte emphase&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;Retour forcé à la ligne: %%%&lt;/li&gt;
&lt;li&gt;Insertion (souligné)&amp;nbsp;: deux plus ++texte à souligner++ = &lt;ins&gt;texte à souligner&lt;/ins&gt;&lt;/li&gt;
&lt;li&gt;Suppression: deux moins --texte à supprimer-- = &lt;del&gt;texte à supprimer&lt;/del&gt;&lt;/li&gt;
&lt;li&gt;Lien:&lt;/li&gt;
&lt;/ul&gt;
&lt;pre&gt;         o [url] = &lt;a href=&quot;http://blog.vosinformations.com/post/2007/10/29/url&quot; title=&quot;url&quot;&gt;url&lt;/a&gt;
         o [nom|url] = &lt;a href=&quot;http://blog.vosinformations.com/post/2007/10/29/#&quot;&gt;nom&lt;/a&gt;
         o [nom|url|langue] = &lt;a href=&quot;http://blog.vosinformations.com/post/2007/10/29/#&quot; hreflang=&quot;fr&quot;&gt;nom&lt;/a&gt;
         o [nom|url|langue|titre] = &lt;a href=&quot;http://blog.vosinformations.com/post/2007/10/29/#&quot; hreflang=&quot;fr&quot; title=&quot;titre&quot;&gt;nom&lt;/a&gt;&lt;/pre&gt;

&lt;p&gt;Pour insérer un lien vers une ancre dans la même page, remplacez url par #nom-de-votre-ancre&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Image:&lt;/li&gt;
&lt;/ul&gt;
&lt;pre&gt;         o ((url|texte alternatif))
         o ((url|texte alternatif|position))
         o ((url|texte alternatif|position|description longue))
               + --&amp;gt; la position peut prendre les valeurs
                     # L ou G (gauche)
                     # R ou D (droite)
                     # C (centré)&lt;/pre&gt;

&lt;ul&gt;
&lt;li&gt;Ancre: ~ancre~&lt;/li&gt;
&lt;li&gt;Acronyme: ??acronyme?? ou ??acronyme|titre??&lt;/li&gt;
&lt;li&gt;Citation:&lt;/li&gt;
&lt;/ul&gt;
&lt;pre&gt;         o {{citation}} = &lt;q&gt;citation&lt;/q&gt;
         o {{citation|langue}} = &lt;q lang=&quot;fr&quot;&gt;citation&lt;/q&gt;
         o {{citation|langue|url}} = &lt;q lang=&quot;fr&quot; cite=&quot;http://blog.vosinformations.com/post/2007/10/29/#&quot;&gt;citation&lt;/q&gt;&lt;/pre&gt;

&lt;ul&gt;
&lt;li&gt;Code: @@code ici@@ = &lt;code&gt;code ici&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Note de bas de page: $$Corps de la note$$ = &lt;sup&gt;[&lt;a href=&quot;http://blog.vosinformations.com/post/2007/10/29/#pnote-20-1&quot; id=&quot;rev-pnote-20-1&quot;&gt;1&lt;/a&gt;]&lt;/sup&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;Combiner wiki2xhtml et xhtml&lt;/h2&gt;


&lt;p&gt;Saisie en wiki comme à l'habitude&lt;/p&gt;


&lt;pre&gt;///html
&amp;lt;p&amp;gt;Saisie en html.&amp;lt;/p&amp;gt;
&amp;lt;p&amp;gt;Ne pas oublier de bien saisir toutes les balises utiles.&amp;lt;/p&amp;gt;
///&lt;/pre&gt;


&lt;p&gt;=&lt;/p&gt;

&lt;p&gt;Saisie en html.&lt;/p&gt;
&lt;p&gt;Ne pas oublier de bien saisir toutes les balises utiles.&lt;/p&gt;

&lt;div class=&quot;footnotes&quot;&gt;&lt;h4&gt;Notes&lt;/h4&gt;
&lt;p&gt;[&lt;a href=&quot;http://blog.vosinformations.com/post/2007/10/29/#rev-pnote-20-1&quot; id=&quot;pnote-20-1&quot;&gt;1&lt;/a&gt;] Corps de la note&lt;/p&gt;&lt;/div&gt;
</description>
    
    
    
          <comments>http://blog.vosinformations.com/post/2007/10/29/Syntaxe-wiki-DotClear#comment-form</comments>
      <wfw:comment>http://blog.vosinformations.com/post/2007/10/29/Syntaxe-wiki-DotClear#comment-form</wfw:comment>
      <wfw:commentRss>http://blog.vosinformations.com/feed/rss2/comments/20</wfw:commentRss>
      </item>
    
  <item>
    <title>Insérer le tag CrawlTrack dans DotClear 2</title>
    <link>http://blog.vosinformations.com/post/2007/10/28/Inserer-le-tag-CrawlTrack-dans-DotClear-2</link>
    <guid isPermaLink="false">urn:md5:aa36e44ccee3ac585ce307666be60db9</guid>
    <pubDate>Sun, 28 Oct 2007 05:19:00 +0000</pubDate>
    <dc:creator>cobra</dc:creator>
        <category>DotClear</category>
        <category>crawltrack</category><category>dotclear 2</category><category>marqeur</category><category>tag</category>    
    <description>&lt;p&gt;Dans DotClear 1, les tags CrawlTrack s'inséraient aisément dans le template, car ce dernier était en PHP. &lt;br /&gt;
Avec DotClear 2, c'est chose moins facile, car il est devenu impossible d'insérer du PHP dans le template.... enfin presque.&lt;/p&gt;    &lt;p&gt;Dans le dossier &lt;strong&gt;themes/default&lt;/strong&gt; se trouve un fichier &lt;strong&gt;_pulic.php&lt;/strong&gt; qui est exécuté par DotClear 2 lors de chaque affichage. &lt;br /&gt;
C'est dans ce fichier que le marqueur va être inséré.&lt;/p&gt;


&lt;p&gt;Voici le contenu original de _public.php:&lt;/p&gt;


&lt;pre&gt;&amp;lt;?php
# ***** BEGIN LICENSE BLOCK *****
# This file is part of DotClear.
# Copyright (c) 2003-2006 Olivier Meunier and contributors. All rights
# reserved.
#
# DotClear is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# DotClear is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with DotClear; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
#
# ***** END LICENSE BLOCK *****&lt;/pre&gt;


&lt;pre&gt;$core-&amp;gt;tpl-&amp;gt;addValue('CustomCSS',array('tplCustomTheme','CustomCSS'));&lt;/pre&gt;


&lt;pre&gt;class tplCustomTheme
{
public static function CustomCSS($attr)
{
$f = $GLOBALS&lt;a href=&quot;http://blog.vosinformations.com/post/2007/10/28/&amp;#039;core&amp;#039;&quot; title=&quot;&amp;#039;core&amp;#039;&quot;&gt;'core'&lt;/a&gt;-&amp;gt;tpl-&amp;gt;getFilters($attr);
return '&amp;lt;?php echo  '.sprintf($f,'$core-&amp;gt;blog-&amp;gt;settings-&amp;gt;public_url.&quot;/custom_style.css&quot;').'; ?&amp;gt;';
}
}&lt;/pre&gt;


&lt;pre&gt;?&amp;gt;&lt;/pre&gt;


&lt;p&gt;Le tag sera inséré à l'avant dernière ligne, la ligne précédent: &lt;strong&gt;?&amp;gt;&lt;/strong&gt; , pour obtenir:&lt;/p&gt;


&lt;pre&gt;&amp;lt;?php
# ***** BEGIN LICENSE BLOCK *****
# This file is part of DotClear.
# Copyright (c) 2003-2006 Olivier Meunier and contributors. All rights
# reserved.
#
# DotClear is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# DotClear is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with DotClear; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
#
# ***** END LICENSE BLOCK *****&lt;/pre&gt;


&lt;pre&gt;$core-&amp;gt;tpl-&amp;gt;addValue('CustomCSS',array('tplCustomTheme','CustomCSS'));&lt;/pre&gt;


&lt;pre&gt;class tplCustomTheme
{
public static function CustomCSS($attr)
{
$f = $GLOBALS&lt;a href=&quot;http://blog.vosinformations.com/post/2007/10/28/&amp;#039;core&amp;#039;&quot; title=&quot;&amp;#039;core&amp;#039;&quot;&gt;'core'&lt;/a&gt;-&amp;gt;tpl-&amp;gt;getFilters($attr);
return '&amp;lt;?php echo  '.sprintf($f,'$core-&amp;gt;blog-&amp;gt;settings-&amp;gt;public_url.&quot;/custom_style.css&quot;').'; ?&amp;gt;';
}
}&lt;/pre&gt;


&lt;pre&gt;$crawltsite=1;
require_once(&quot;/chemin/vers/le/repertoire/crawltrack.php&quot;);&lt;/pre&gt;


&lt;pre&gt;?&amp;gt;&lt;/pre&gt;


&lt;p&gt;L'exemple montre l'insertion du tag utilisé quand le site est hébergé sur le même serveur que CrawlTrack, si tel n'en était pas le cas, il suffira de le remplacer à l'identique par celui prévu pour un site à distance.&lt;/p&gt;


&lt;p&gt;Recopiez (/écrasez) ce fichier dans tous vos thèmes et pensez à le faire au fur et à mesure des rajouts de nouveaux thèmes.&lt;/p&gt;</description>
    
    
    
          <comments>http://blog.vosinformations.com/post/2007/10/28/Inserer-le-tag-CrawlTrack-dans-DotClear-2#comment-form</comments>
      <wfw:comment>http://blog.vosinformations.com/post/2007/10/28/Inserer-le-tag-CrawlTrack-dans-DotClear-2#comment-form</wfw:comment>
      <wfw:commentRss>http://blog.vosinformations.com/feed/rss2/comments/16</wfw:commentRss>
      </item>
    
</channel>
</rss>