From Microformats Wiki
Revision as of 10:22, 12 October 2005 by DavidJanes (talk | contribs) (Moved examples from blog-post-formats to blog-post-examples)
Jump to navigation Jump to search


Discussion Participants



Interested Folks

Specific Examples from the Wild

Entry Container

Entries are within a container

All entries are within an enclosing 'div'. This is common with weblog home pages (example) or archive with multiple entries.

Entries are not within a container

There are multiple entries on a single page but there is no explicit container element (example). This is also a common use case for weblogs and archives also.

Multiple groups of entries

There may be multiple groups of entries on a single page that are tenously connected (example-1 example-2).

Single entry on a page

This is common with weblogs that archive on a per entry basis (example).

Individual Entry

Individual entries are within a container


Individual entries are not within a container


Disjointed entries

That is, not all sub-elements of an individual entry are in the container (for example, the author and date may follow in a separate block)


Title enclosed in <h#> block element

<div class="entry single">
 <h2 id="post-59">Web Essentials Audio</h2>

Title enclosed in a <div> block element

I've seen this but I can't find an example, hopefully implying this is somewhat rare.

Title enclosed in an inline presentation element, such as <b>

<a name="112877372228959075"> </a>
 <strong>Just one problem, Minister.</strong> Last week, Bill Rammell, 

Title enclosed in a <span> (inline element)

<a name="112897777851715476"> </a>
<SPAN CLASS="inc_subtitle">EMAIL OF THE DAY II: </SPAN>"After years ...

No title


  • entry with no content present -- that is, just a link and the title pointing to a different URI which may actually have content
  • entry with summary content only ([example])
  • entry with complete content
  • entry with complete content, but the content is broken into multiple sections ([example] - look for "Read More" sections)


Datetimes are rarely expressed in consistent formats on weblogs. Weblogs generally express the creation date of the posting, not the modified time.

Date between weblog entries

This is a common pattern but by no means universal pattern seen on weblogs -- a header or div inserted between weblog entries indicating that the date has changed. I cannot find an example where this header is systematically linked to the entries using that data (i.e. a common enclosing div)

<div class="post">
 <h3 class="storytitle" id="post-3151"><a href="">...</a></h3> 

<div class="date">2005-10-07</div>	

<div class="post">
 <h3 class="storytitle" id="post-3150"><a href="">...</a></h3>

Date or Datetime in weblog footer

Most weblogs follow this pattern. Dates or datetimes are in human readable format in varying fashions. Often only the time is indicated, as the date is implied. The date or datetime is sometimes also used an indication of the 'permalink' for a post.

<div class="entry single">
 <h2 id="post-59">Web Essentials Audio</h2>

 <ul class="post-info">
  <li><a href="...">Friday, September 30th, 2005 at 12:31 pm</a></li>


Note that not only do some examples fit multiple categories, sometimes weblog posts place the multiple links to the permalink within a single post (for example, in the header and footer).

Permalink is around or inside title

see immediate following example

Permalink is in header of post

see immediate following example

Permalink uses absolute URI

<div class="entry">
 <h3 id="post-45">
   title="Permanent Link to FooBar Microformats">FooBar Microformats</a>

Permalink is in footer of post

<p>Today's news: Neuticles win ... award.</p>
<p class="posted">
Posted by judi on October  7, 2005 at 05:00 PM |
<a href="">Permalink</a>

Permalink uses relative URI

see immediate following example

Permalink includes fragment

This is used when a weblog archives posts as a group (say, by month or week) rather than as individual posts. This is very common on older blogspot weblogs.

<a name="112876103554732697"> </a><br>
<strong>The ceremony of Explaining the Joke</strong> 
<span class="byline">posted by Natalie at 
<a href="2005_10_02_nataliesolent_archive.html#112876103554732697">8:18 AM</a></span>

No permalink

This is common on single article archive pages, some social weblogs (example) and most big media webpages (i.e. non-blogs)

 <a name="026056"></a>
 <p>ACCORDING TO THE WHITE HOUSE, ... hadn't we?</p>
 <div class="footer">posted at 11:35 PM by <b>Glenn Reynolds</b></div>

Other Stock Examples

Example of blog posts in unmodified weblog software installations.

Stock Wordpress 1.5 Installation

<div class="post">
    <h2 id="post-237">
        <a href=""
        rel="bookmark" title="Permanent Link to More election maps">More
        election maps</a>
    <small>November 9th, 2004 <!-- by site admin --></small>
    <div class="entry">
        <p>via <a href="">John Dowdell of JD on MX:</a></p>
            <p>More election maps: Ben Metcalfe, a software engineer at
            the BBC, has his own list here… includes some not in
            that “Flash the only winner” item from The
            Inquirer, which Kevin also elaborated upon. Additionally,
            Andrew Lucking pointed to the…</p>
    <p class="postmetadata">
        Posted in <a
        title="View all posts in General" rel="category tag">General</a>
        <strong>|</strong> <a
        No Comments »</a>
    <rdf:RDF xmlns:rdf="" 
        <rdf:Description rdf:about=""
            dc:title="More election maps"
            trackback:ping="" />

Stock MoveableType 3.15 Installation

<h3 id="a000002">Example Entry</h3>
<p>This is the entry body.</p>
<p class="extended"><a href="http://localhost/archives/2005/08/example_entry_1.html#more">Continue reading "Example Entry"</a></p>
<p class="posted">Posted by migurski at <a href="http://localhost/archives/2005/08/example_entry_1.html">03:49 </a> | <a href="http://localhost/archives/2005/08/example_entry_1.html#comments">Comments (0)</a></p>

Stock Blosxom Installation, with "Blosxom Flavour Sampler"

    <a name="post-identifier"><b>Post Title</b></a>
    <br />
    Post body text.
<p align="right">
    <i>[<a href="/permalink/post-identifier">post-identifier</a>] 
    <a href="/permalink/2005/08/15#post-identifier">permanent link</a></i>

See Also