[uf-discuss] Marking up properties which reused pre-existing microformat

Glenn Jones glenn.jones at madgex.com
Mon Dec 14 12:27:18 PST 2009


One of the problems I am see a lot with hResume is now properties which
reused pre-existing microformat are mark-up.

A good example is "education" in hResume which is hCalendar, I believe
it should be mark-up like so:

<p class="education vevent">
	<span class="summary">Bighton Univ</span> 
	(<span class="dtstart">1985</span> - <span
class="dtend">1988</span>)
</p>

The education property is a hCalendar and as such the same class
attribute should carry both "education" and "vevent". I have built my
parser to look for this type of pattern, but quite a few authors on the
web are using mark-up like this

<div class="education">
	<p class="vevent">
		<span class="summary">Bighton Univ</span> 
		(<span class="dtstart">1985</span> - <span
class="dtend">1988</span>)
	</p>
</div>

Breaking apart the "education" and "vevent" into separate element class
attributes. Correct if I am wrong but only the first pattern should be
supported by parsers.

Either I need to update my parser or the wiki needs some good pointers
on how properties which reused pre-existing microformat are mark-up.


Glenn




 





More information about the microformats-discuss mailing list