jkphl/micrometa

View on GitHub
src/Micrometa/Tests/Fixture/microformats-v2/h-product/aggregate.html

Summary

Maintainability
Test Coverage
<meta charset="utf-8">
<div class="h-product">
    <h2 class="p-name">Raspberry Pi</h2>
    <img class="u-photo" src="http://upload.wikimedia.org/wikipedia/commons/thumb/3/3d/RaspberryPi.jpg/320px-RaspberryPi.jpg" />
    <p class="e-description">The Raspberry Pi is a credit-card sized computer that plugs into your TV and a keyboard. It’s a capable little PC which can be used for many of the things that your desktop PC does, like spreadsheets, word-processing and games. It also plays high-definition video. We want to see it being used by kids all over the world to learn programming.</p>
    <a class="u-url" href="http://www.raspberrypi.org/">More info about the Raspberry Pi</a>
    <p class="p-price">£29.95</p>
    <p class="p-review h-review-aggregate">
        <span class="p-rating h-rating">
            <span class="p-average">9.2</span> out of
            <span class="p-best">10</span>
            based on <span class="p-count">178</span> reviews
        </span>
    </p>
    <p>Categories: <span class="p-category">Computer</span>, <span class="p-category">Education</span></p>
    <p class="p-brand h-card">From:
        <span class="p-name p-org">The Raspberry Pi Foundation</span> -
        <span class="p-locality">Cambridge</span>
        <span class="p-country-name">UK</span>
    </p>
</div>