[uf-discuss] A couple of real-world usage problems

Ryan King ryan at technorati.com
Tue Jul 11 14:15:07 PDT 2006

On Jul 11, 2006, at 5:46 AM, Mike Rumble wrote:

> Hello,
> I'm working on a redesign of a website for one of the UK's main  
> package holiday operators, and having been following the  
> Microformats scene for the past few months, I feel that this is  
> going to be a perfect opportunity to fold in a few Microformats.

Very cool.

> ...

Ok I'm gonna jump straight to conclusion - two events with the same  
UID are considered the same event and the best way to make this work  
on the web is to have the permalinks and UIDs be the same.

> Using hCalendar I'd mark it up looking something like this :

You could make an equivalent permlink and UID like this:

> <div class="vevent">
>    <span class="uid">20070602-1 at url.com</span>

Change the above to:

<a class="bookmark uid" href="permanent url for this cruise">...</a>

then do the same for the other version of the event and consuming  
applications can treat them as one item and you also get the benefit  
of human-usable permalinks.

>    <abbr class="dtstart" title="20070602">Sunday 2nd</abbr> to  
> <abbr class="dtend" title="20070609">Sunday 9th June 2007</abbr>
>    <span class="summary">Cruise Title</span>
>    <span class="location">Cruise Location</span>
>    <a class="url" href="http://www.url.com">Book now</a>
> </div>


More information about the microformats-discuss mailing list