[uf-discuss] My hCard comments
chris.messina at gmail.com
Wed Apr 19 22:33:12 PDT 2006
Looks pretty good from here. Standard practice is to use "fn" rather
than the more specific classes for general use where, as you pointed
out, user input is involved. I would make one change:
<div id="vcard-1" class="comment_meta"><cite class="vcard"><a class="url fn"
href="http://cdevroe.com">Colin D. Devroe</cite> on <a
href="#comment-135" title="">April 19th, 2006 at 11:01 am</a></div>
It's not a big deal, but moving the vcard class to the <cite> tag
moves the microformat delimiter closer to the content that you're
calling out, especially since the <div> encompasses the post-date.
Also, take a look at hAtom for marking up your themes... You're
missing an opportunity to make your XHTML pages subscribable.
On 4/20/06, Colin D. Devroe <cdevroe at theubergeeks.net> wrote:
> I just wanted to be sure that my simple implementation of hCard into
> my personal blog's comments are accurate. Here is the syntax I
> <div id="vcard-1" class="comment_meta vcard"><cite><a class="url fn"
> href="http://cdevroe.com">Colin D. Devroe</cite> on <a
> href="#comment-135" title="">April 19th, 2006 at 11:01 am</a></div>
> The only problem I will end up seeing, as above, is if people decide
> to add their middle initial to the comment form. I could split up
> each part of the name up for family name, given name, etc - but most
> typical web log installs and their default themes do not do this, so
> I wanted to stay away from it. Any advice here would be appreciated.
> There was also some talk of giving each hCard an ID, so that they can
> not only be targeted directly, but be easily separated from any other
> hCards on the same document. So I made sure to do that, for when/if
> something comes of those discussions.
> Please let me know if this is a proper implementation, thank you.
> hCard: http://cdevroe.com/about/#contact
> microformats-discuss mailing list
> microformats-discuss at microformats.org
More information about the microformats-discuss