[uf-discuss] MediaWiki hResume templates
Toby A Inkster
mail at tobyinkster.co.uk
Sat Jan 10 07:01:24 PST 2009
It is my interpretation of the hResume draft spec (though it's not
very clear) that the contact hCard needs to be an <address> element
(you have a <table> element). While class="contact" is good POSH for
it, but the hResume format itself doesn't define any meaning for
class="contact", so using <address> is the only sure fire way of
indicating the contact address for the hResume. If you take a look at
the hResume field details <http://microformats.org/wiki/
hresume#Field_details>, then you'll see that unlike "summary",
"education", "experience", "skill" and "affiliation", "contact" is
not defined as a class name.
See also: http://microformats.org/wiki/hresume#Contact
Frankly, this is an area where I think hResume could do with
improvement: although <address> is a perfect fit for this information
semantically, structurally it leaves a lot to be desired. The way
<address> is defined in the HTML spec doesn't allow it to contain
block elements (e.g. <div>, <p>) or tables. Thus allowing an
alternative element for the contact info (e.g. <div class="contact">,
<table class="contact">) would be handy.
--
Toby A Inkster
<mailto:mail at tobyinkster.co.uk>
<http://tobyinkster.co.uk>
More information about the microformats-discuss
mailing list