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

Tantek Ç elik tantek at cs.stanford.edu
Tue Jul 11 20:41:36 PDT 2006


On 7/11/06 2:15 PM, "Ryan King" <ryan at technorati.com> wrote:

> 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>

Minor correction.  You want *rel* for bookmark, and url+uid for class.  E.g.

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

Thanks,

Tantek



More information about the microformats-discuss mailing list