From Microformats Wiki
Revision as of 19:00, 19 July 2006 by ChristopheDucamp (talk | contribs) ([fr:comments-formats translation - to be checked by "bunny" ? ;)])
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Discussion des Participants


(traduction en cours User:ChristopheDucamp happy to see Stephanie here which could hopefully correct my mistakes !)

Formats Actuels des Commentaires

Il y a eu plusieurs tentatives de définir les formats de données pour poster des "commentaires" sur le Web.

Cette page sert à documenter la liste actuelle des shémas de commentaires et efforts pour contextualiser le design d'un simple microformat pour les commentaires.

Exemples venant de la jungle

<div class="comments-body">
<p>Congratulations!  Any list that includes Molly Holzschlag and Wil Wheaton is certainly something... 
and that's just the Honorable Mentions.</p>

<p>Now to scrape the links of all the rest of those "people you may not know but probably should"...</p>
<span class="comments-post">Posted by: 
<a href="">Chris</a> 
at June 21, 2005 08:53 PM</span>
  • mfComment "petit" exemple :
 <div class="mfcomment">
    <a class="url" rel="target" href=">
    <span class="commenter">anonymous</span>
    <abbr class="dtcommented" title="20050612T21:30-0700">June 12th, 2005</abbr>
    <div class="description">
        <p>Gosh, this is neat.</p>
    <a class="url" rel="self bookmark" href="">link to this comment</a>
  • CommentAPI ça va de soit, ce n'est pas du XHTML, mais ce devrait être encore utile comme un exemple pour exprimer des commentaires structurellement.

 <ul class="xoxo comments">
    <li id="c836428">
       Posted on <a href="COMMENT PERMALINK" title="COMMENT TIMESTAMP (unix timestamp in seconds or nanoseconds)">COMMENT DATE POSTED</a>
   by <a href="AUTHOR URL">AUTHOR NAME</a>
            <dd>COMMENT BODY</dd>

extrait de [1]

	<ol id="commentlist">
		<li class="alt" id="comment-1143">
		<h3 class="commenttitle"><a href='' rel='external nofollow'>virginie</a> said,</h3>
		<p class="commentmeta">June 6, 2006 @ <a href="#comment-1143" title="Permanent link to this comment">9:02 pm</a></p>
		<p>Nice hairdo! I really think it suits you! And the colour is different from the last times, isn’t it?</p>