[uf-discuss] [hReview] Excerpt in blog post

Riddle riddlu at gmail.com
Sun Feb 25 03:18:17 PST 2007


Hello

I was digging into hReview specification because I'm about setting up
blog with movie reviews.

The only thing that bothers me is excerpt of my review.

I want to present little poster + short description of review on main
page of my blog and then put link "continue reading" to whole blog
post.

The only problem is that I can't slice entry inside <div
class="hreview">, because my blog system will cut it which will result
in XHTML error - <div> without closing </div>.

So, I thought about following construction. On main page:

==========================

<div class="hreview">
	<div class="description">
		<img src="poster.jpg" class="photo" alt="Poster of..."/>
		<p>Short text.</p>
	</div>
	<div><a href="http://blog.com/entry/#review-1" class="include"></a></div>
</div>

==========================

On entry page:

==========================

<div class="hreview">
	<div class="description">
		<img src="poster.jpg" class="photo" alt="Poster of..."/>
		<p>Short text.</p>
	</div>
	<div><a href="http://blog.com/entry/#review-1" class="include"></a></div>
</div>

<div class="hreview" id="review-1">
	<div class="item">
		<a lang="en" class="url fn" href="http://www.imdb.com/title/tt0455590/">
			The Last King of Scotland (<span lang="pl">...</span>)
		</a>
	</div>
	<div class="description">
		<p>
			Review text.
		</p>
	</div>
	<abbr class="dtreviewed" title="20070225T1034">25 Feb 2007</abbr> by
	<span class="reviewer vcard">
		<span class="fn">riddle</span>
	</span>
	<div class="rating">Rating: <span class="value">4</span> / <span
class="best">5</span></div>
</div>

==========================

Is my code ok?

I can remove first part (excerpt) from entry page, but is it necessary?

If it is necessary to remove it, can I duplicate poster photo in
second part of hreview?

I'd rather not duplicate anything, because of appearance of full content in RSS.

What I should do?

-- 
Riddle


More information about the microformats-discuss mailing list