Andy Mabbett wrote:
Tantek Çelik writes
Andy Mabbett wrote:
How would folks mark up an hCard for the singer Alvin Stardust, born
Bernard William Jewry, also known under the stage name Shane Fenton?
What's his passport look like?
Oddly enough, he's never sent it to me.

That would answer the given-name, family-name questions, and perhaps even the additional-name and nickname questions.
And otherwise?

And otherwise, like this.

Start with what you know.

<p>singer Alvin Stardust, Bernard William Jewry, also known under the stage name Shane Fenton.</p>

Markup what you can, like the persons name
<p class="vcard">singer Alvin Stardust,
  <span class="fn">Bernard William Jewry</span>,
  also known under the stage name Shane Fenton.</p>

Then you move on to nicknames

The cheatsheet on the wiki at http://microformats.org/wiki/hcard-cheatsheet says nicknames can match 0 or more times, and just to make sure, RFC2426 which defined the vCard spec says about Nicknames:
Type value: One or more text values separated by a COMMA character

So if multiple nicknames are listed, they'll end up being comma separated.

<p class="vcard">singer
  <span class="nickname">Alvin Stardust</span>,
  <span class="fn">Bernard William Jewry</span>,
  also known under the stage name
  <span class="nickname">Shane Fenton</span>.</p>

And finally you can sprinkle other things, like his role and stagename

<p class="vcard">
  <span class="role">singer</span>
  <span class="nickname">Alvin Stardust</span>,
  <span class="fn">Bernard William Jewry</span>,
  also known under the
  <span class="note">stage name
    <span class="nickname">Shane Fenton</span>
  </span>.</p>


--
Paul Wilkins
_______________________________________________
microformats-discuss mailing list
[email protected]
http://microformats.org/mailman/listinfo/microformats-discuss

Reply via email to