[uf-discuss] URL confusion with hCard inside hCal & Tails-Export

brian suda brian.suda at gmail.com
Mon Sep 11 05:15:40 PDT 2006


Andy Mabbett wrote:
> Some of my events, for example that for Wednesday 11 October,
> 10:00am–12:30pm, on:
>
>         http://www.westmidlandbirdclub.com/diary/2006-10.htm
>
> have an included hCard, with a URL for the venue and a different URL for
> the event itself.
>
> FireFox's "Tails Export" extension gives the venue URL as the URL for
> the exported event, rather than the URL for the event itself, Is my
> markup at fault, or is it the extension which is wrong? If the former,
> how should I fix it?
>   
I had a look, and i am pretty sure the extension is in error.

Because you have nested an hCard inside an hCalendar, you have two URLs,
one for each. (un)fortunatly, iCalendar can only accept one URL, so
according to the wiki, if you have multiple properties of a property
that can only appear once, you should take the first value. I think
Tails is taking the LAST instance - which is incorrect.

-brian


More information about the microformats-discuss mailing list