<?xml version="1.0" encoding="utf-8"?><?xml-stylesheet title="XSL formatting" type="text/xsl" href="http://www.morefnu.org/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/"
  xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
  <title>Dyslexics have more fnu! - Tag - visitor</title>
  <link>http://www.morefnu.org/</link>
  <atom:link href="http://www.morefnu.org/feed/tag/visitor/rss2" rel="self" type="application/rss+xml"/>
  <description>...</description>
  <language>fr</language>
  <pubDate>Tue, 18 Nov 2008 18:30:53 +0100</pubDate>
  <copyright></copyright>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Dotclear</generator>
  
    
  <item>
    <title>Plugin HighlightVisitor v1.0 pour dotclear2</title>
    <link>http://www.morefnu.org/post/2007/05/22/Plugin-HighlightVisitor-v10-pour-dotclear2</link>
    <guid isPermaLink="false">urn:md5:f025c4be6458c75ca518a834ebb46a6f</guid>
    <pubDate>Tue, 22 May 2007 11:58:00 +0000</pubDate>
    <dc:creator>Dsls</dc:creator>
        <category>Highlight Visitor</category>
        <category>dotclear</category><category>dotclear2</category><category>highlight</category><category>plugin</category><category>visitor</category>    
    <description>    &lt;p&gt;Et hop, un tout petit plugin pour dotclear2.
Il permet d'avoir une nouvelle fonction template {{tpl::CommentIfVisitor}}, similaire à {{tpl::CommentIfMe}}.&lt;/p&gt;


&lt;p&gt;Pour résumer, cela permet à un visiteur du blog de voir ses propres commentaires mis en valeur, pour peu qu'il ait mémorisé ses informations (nom, mail et site) lorsqu'il a posté les commentaires en question.&lt;/p&gt;


&lt;p&gt;Téléchargements&amp;nbsp;:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;http://www.morefnu.org/public/archives/dotclear2/plugins/plugin-highlightVisitor-1.0.pkg.gz&quot;&gt;le package&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://www.morefnu.org/public/archives/dotclear2/plugins/plugin-highlightVisitor-1.0.tar.gz&quot;&gt;L'archive&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Pour la mise en oeuvre de l'installation, outre l'installation du plugin, il faut modifier le fichier post.html du thème utilisé, et ajouter les appels à &lt;q&gt;tpl:CommentIfVisitor&lt;/q&gt; juste à côté des appels à &lt;q&gt;tpl::CommentIfMe&lt;/q&gt;.
En pratique, dans le thème par défaut, rechercher les lignes suivantes&amp;nbsp;:&lt;/p&gt;

&lt;pre&gt;&amp;lt;dt id=&quot;c{{tpl:CommentID}}&quot; class=&quot;{{tpl:CommentIfMe}} {{tpl:CommentIfOdd}} {{tpl:CommentIfFirst}}&quot;&amp;gt;&amp;lt;a&lt;/pre&gt;

&lt;p&gt;et&amp;nbsp;:&lt;/p&gt;

&lt;pre&gt;&amp;lt;dd class=&quot;{{tpl:CommentIfMe}} {{tpl:CommentIfVisitor}} {{tpl:CommentIfOdd}} {{tpl:CommentIfFirst}}&quot;&amp;gt;{{tpl:CommentContent}}&amp;lt;/dd&amp;gt;&lt;/pre&gt;


&lt;p&gt;et les remplacer respectivement par&amp;nbsp;:&lt;/p&gt;

&lt;pre&gt;&amp;lt;dt id=&quot;c{{tpl:CommentID}}&quot; class=&quot;{{tpl:CommentIfMe}} {{tpl:CommentIfVisitor}} {{tpl:CommentIfOdd}} {{tpl:CommentIfFirst}}&quot;&amp;gt;&amp;lt;a&lt;/pre&gt;

&lt;p&gt;et&amp;nbsp;:&lt;/p&gt;

&lt;pre&gt;&amp;lt;dd class=&quot;{{tpl:CommentIfMe}} {{tpl:CommentIfVisitor}} {{tpl:CommentIfOdd}} {{tpl:CommentIfFirst}}&quot;&amp;gt;{{tpl:CommentContent}}&amp;lt;/dd&amp;gt;&lt;/pre&gt;


&lt;p&gt;Il suffit d'ajouter ensuite les bons styles dans le style.css du thème. En pratique, dans le thème par défaut, ajouter par exemple au style.css:&lt;/p&gt;

&lt;pre&gt;#comments dt.visitor a:link, #comments dt.visitor a:visited, #comments dt.visitor a:hover { color: #ca1706; }
#comments dd.visitor { border-left: 4px solid #ca1706; }&lt;/pre&gt;



&lt;p&gt;Et voilà &lt;img src=&quot;/dc2/themes/default/smilies/wink.png&quot; alt=&quot;;)&quot; class=&quot;smiley&quot; /&gt;&lt;/p&gt;</description>
    
    
    
          <comments>http://www.morefnu.org/post/2007/05/22/Plugin-HighlightVisitor-v10-pour-dotclear2#comment-form</comments>
      <wfw:comment>http://www.morefnu.org/post/2007/05/22/Plugin-HighlightVisitor-v10-pour-dotclear2#comment-form</wfw:comment>
      <wfw:commentRss>http://www.morefnu.org/feed/atom/comments/457</wfw:commentRss>
      </item>
    
</channel>
</rss>