[uf-discuss] hreview item question

Chris Casciano chris at placenamehere.com
Sat Jun 24 08:20:36 PDT 2006


I'm trying to pull together the ui for hreview creation in my 
textpattern plugin and need to balance some flexibility vs complexity 
issues ... without hitting those concerns (because they're primarily 
txp issues and not mf related) I had a question on allowable locations 
of item data (hcard, hcalendar, simple item types)

i see an example in the wiki with the merged <div class="description 
item vcard"> ... but can item be a child of description .. for example

<span class="type">business</span>
<div class="description item">
	<div class="vcard"></div>
	<p>some description</p>
</div>

or

<span class="type">website</span>
<div class="description item">
	<a class="fn url" href="http://microformats.org/">Microformats.org</a>
	<p>some description</p>
</div>

I've done some derivation of the second case already on my own blog[1] 
but I wanted to be clear on the legality of this style of nesting the 
elements before I codified it and distributed it in a plugin.


[1] http://placenamehere.com/article/211/TechnoratisNewToys

-- 
[ Chris Casciano ]
[ chris at placenamehere.com ] [ http://placenamehere.com ]



More information about the microformats-discuss mailing list