[uf-discuss] haudio contributor

Michael Smethurst Michael.Smethurst at bbc.co.uk
Thu Feb 7 09:21:55 PST 2008

On 7/2/08 15:30, "Andy Mabbett" <andy at pigsonthewing.org.uk> wrote:

> On Thu, February 7, 2008 14:33, Michael Smethurst wrote:

>> Not sure I follow. The hcard wiki page says nickname optimisation
>> happens when " "FN" and "ORG" are not the same, and the value of the "FN"
>> property is exactly one word. What would: <span class="fn">Madonna Louise
>> Ciccone Ritchie</span>
>> Result in?
> No nickname; unlike the more comprehensive:
> <span class="fn"><span class="nickname">Madonna</span> Louise Ciccone
> Ritchie</span>

The problem for my work is I'm taking artist names out of musicbrainz.
Musicbrainz does differentiate between artists singular and groups but the
name field is a single string. So there's no differentiation between:

Madonna Louise Ciccone Ritchie

Madonna Ciccone


Plastic Bertram

So I can use:

<span class="fn nickname">Madonna Louise Ciccone Ritchie</span>

And treat all artist names as nicknames


<span class="fn org">Madonna Louise Ciccone Ritchie</span>

And treat all artists as organisations

Both of which seem wrong

It's a commonish problem I've found with ufs. If you're handcrafting html
they can be made to work fine - if you're generating pages dynamically from
a db it gets trickier

This e-mail (and any attachments) is confidential and may contain personal views which are not the views of the BBC unless specifically stated.
If you have received it in error, please delete it from your system.
Do not use, copy or disclose the information in any way nor act in reliance on it and notify the sender immediately.
Please note that the BBC monitors e-mails sent or received.
Further communication will signify your consent to this.

More information about the microformats-discuss mailing list