[uf-discuss] hreview - Multiple reviews for one item
brian.suda at gmail.com
Sun Feb 11 07:04:49 PST 2007
On 2/11/07, Andy Bourassa <andy.bourassa at gmail.com> wrote:
> Excuse me if this has been brought up in the past but...
> Is there a strong need and/or feasible way to have an XHTML document
> with a single item listing that is separated from a multitude of
> reviews of that item elsewhere on the page?
> Example: cork'd, epinions, yahoo tech - list the item (a product in
> this case) being reviewed at the top of the page, and then list a
> handful of reviews lower on the page.
> It seems the current solution is to simply 'hide' this extra data in
> every hreview using CSS display: none or some negative pixel offset.
--- you don't have to hide the data or repeat it at all. You can use
the include pattern to reference a section of the page and pull the
data from there.
You can write the product name and various bits of information, then
in each hReview reference back to it.
The Yahoo! Tech site does just that:
This is in each review
<a href="#prodname" class="include microformatdetail">
That refers back to;
<a href="..." class="rescentlink">Cell Phones</a>: <strong
class="item fn" id="prodname">RIM BlackBerry Pearl
 - http://microformats.org/wiki/include-pattern
More information about the microformats-discuss