comments-formats

From Microformats Wiki
Jump to navigation Jump to search

Current Comments Formats

There have been several efforts to define data formats for posting "comments" on the Web.

This page serves to document the current list of comment schemas, formats, and efforts as background for the design of a simple comments MicroFormat.

Blogging software comment fields

WordPress

    • comment_ID
    • comment_author
    • comment_author_IP
    • comment_author_email
    • comment_author_link
    • comment_type
    • comment_text
    • comment_excerpt
    • comment_date
    • comment_time

pMachine

    • body
    • date
    • name
    • location
    • url
    • email
    • profile_link
    • member_total_comments

Expression Engine

    • {author_id}
    • {comment}
    • {comment_id}
    • {interests}
    • {ip_address}
    • {location}
    • {member_search_path}
    • {occupation}
    • {name}
    • {permalink}
    • {url}
    • {url_or_email}
    • {url_or_email_as_author}
    • {url_or_email_as_link}
    • {url_title_path=weblog/comments}

Expression Engine includes many additional comments templates tags, but I have excluded these tags: tags used to display user data (instant message handles, etc.), tags which are used for navigation within EE-based blogs or websites, tags which deal with comment presentation (alternating background colors between comments), and custom member tags (which are defined by individual sites.)

Examples from the wild

<code>
<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="http://www.brianstorms.com/mt/mt-comments.cgi?__mode=red&id=3826">Chris</a> at June 21, 2005 08:53 PM</span>
</div>
</code>