[uf-dev] Multiple hCards on one page

Ryan King ryan at technorati.com
Tue Sep 11 10:57:10 PDT 2007

On Sep 10, 2007, at 12:59 PM, Matt Warnock wrote:

> Hello - This is my first time posting to a list like this so please  
> excuse the errors if there are any.
> I have just gotten the microformats book and I am having a real  
> problem getting this to work across several platforms.  I am trying  
> to get the "add to address book" link working for users to add the  
> particular address to their address book .app, outlook or entourage.
> I am using the:
> http://feeds.technorati.com/contacts/(my absolute path here)
> link because hopefully we will be able to get this working in  
> production and might get a couple links a day so I don't want to  
> overload the Suda server.
> I's it possible to have 2 hCards on one page?  I searched and found  
> a posting where someone used a target of #santa-monica vs. #boston  
> and they said that worked when you escaped the # with %23, but I  
> haven't been able to get it going.
> If someone has an answer it would get 3 days of being off track on  
> the project back up and moving forward again.
> My implementation is here: http://exhale.daisyinteractive.com/ 
> locations/

You're using this:

  <a id="new-york" name="new-york"></a>

Which means that when the service goes to extract http:// 
exhale.daisyinteractive.com/locations/#new-york, it will only look at  
that node of the document. To reference a specific hCard, put the id  
on the root element of that hCard.


More information about the microformats-dev mailing list