hReview Microformats in Markdown

In the process of migrating this blog, I’ve been thinking about 50 Words. Every post on 50 Words since January 2006 has been in hReview microformats. Since I never had a tool to make it work with Wordpress, I always just modified an HTML template to post a review.

Here's an example (originally here):

<div class="hreview">
    <div style="display: none">
        <abbr class="dtreviewed" 
            title="20100301T0302-0800">Mar 02, 2010</abbr><br />
        by <span class="fn reviewer vcard">Mr. Nau</span>
    </div>
    <p class="description">
        Rosamund and Benjamin Zander collaborate in this
        insightful self-improvement book that outlines
        overcoming obstacles and increasing motivation
        with simple, effective tips.  Whether the reader
        is trying to improve their productivity at work
        or struggling to create a masterpiece artistic
        work, many of the principles here will inspire
        consistent action.
    </p>
    <p class="rating">
        <strong>Grade</strong>:
        <abbr title="5" class="rating">A</abbr>.
    </p>
    <div class="item">
        <p><strong>Amazon</strong>: 
            <em>
                <a class="fn url"
                    href="http://www.amazon.com/dp/0142001104/">
                    Rosamund Stone Zander &amp; Benjamin Zander — 
                    The Art of Possibility: Transforming Personal
                    and Professional Life</a>
            </em>.
        </p>
    </div>
    <p class="version" style="display: none;">0.3</p>
</div>

I suppose in Markdown, we'd have to do all that with meta data:

Title: Rosamund & Benjamin Zander - The Art of Possibility (2002)
Author: Mr. Nau
Date: 2010-03-01 03:02
Category: Reviews
Tags: Books
Version: hReview 0.3
hR_full_title: Rosamund Stone Zander & Benjamin Zander - The Art\ 
    of Possibility: Transforming Personal and Professional Life
hR_url: http://www.amazon.com/dp/01420001104/
hR_rating: 5
hR_grade: A

Rosamund and Benjamin Zander collaborate in this insightful
self-improvement book that outlines overcoming obstacles
and increasing motivation with simple, effective tips.  Whether
the reader is trying to improve their productivity at work or
struggling to create a masterpiece artistic work, many of the
principles here will inspire consistent action.

Thankfully, it’s not particularly difficult to use Jinja to flow those into a template, but I wonder about the logistics and testing of 1,024 posts. As I was writing this post, I noticed that h-review is the new version, included in microformats2. This’ll make migration even more fun.

Comments !