[uf-discuss] hreview using include pattern

Brian Miller bmiller at compumentor.org
Mon Oct 8 12:59:37 PDT 2007


I'm attempting to implement hreview on our directory of free software
downloads.  The page is structured with the software information (item)
separate from the listing of the reviews. The specs say that you should
wrap the product information and the 1st review in hreview and then
include the item information in each subsequent review using include
pattern. My page separates the item information from the first review so
I'm unable to wrap both in an hreview class. I assume you can specify
the item info and then use include pattern to include it in the first
and subsequent reviews. Although I'm wondering if I need to wrap the
item information in hreview or just the reviews themselves.
 
Simplified html:
 
<!--Item Information-->
<div class="hreview">
    <div class="item" id="review-item">
            <h1 class="title fn">AROUNDMe</h1>
            <a class="internal url button"
href="http://www.barnraiser.org/"> Get It Here </a>
    </div>
</div>
<!--Review 1-->
<div class="hreview">
    <object data="#review-item" class="include" >
    </object>
    <dl class="vertical-data">
        <dt>Rating:</dt>
        <dd><abbr class="rating" title="3.0"><img
src="/images/star_three.gif" width="54" height="15" alt="Star Rating -
3" /></abbr></dd>
    </dl>
    <p class="description">test Final</p>
    <p><abbr class="dtreviewed" title="2007-03-10">October 03,
2007</abbr> - <span class="reviewer">bmiller_test12</span></p>
</div>
<!--Review 2-->
<div class="hreview">
    <object data="#review-item" class="include" >
    </object>
    <dl class="vertical-data">
        <dt>Rating:</dt>
        <dd><abbr class="rating" title="2.0"><img
src="/images/star_two.gif" width="54" height="15" alt="Star Rating - 2"
/></abbr></dd>
    </dl>
    <p><abbr class="dtreviewed" title="2007-10-09">September 10,
2007</abbr> - <span class="reviewer">bmiller_test12</span></p>
</div>
 
Full html example:
 
http://dev.techsoup.org/learningcenter/Downloads/Database/page7400.cfm
 
Also, are there any tools I can use to test or validate this?
 
Brian Miller
Web Application Developer
CompuMentor, home of TechSoup.org
415-633-9463 office
415-676-1458 mobile
415-633-9400 fax
brian at compumentor.org <mailto:brian at compumentor.org> 



More information about the microformats-discuss mailing list