[uf-discuss] Multiple hCards on one page

Martin McEvoy martin at weborganics.co.uk
Mon Sep 10 14:20:26 PDT 2007


Hello Matt welcome aboard

Firstly I find Brian Suda's X2V easier to work with

http://suda.co.uk/projects/microformats/hcard/get-contact.php?uri=

Second I had a look at your markup, if you create unique id's for your
vcard's by doing something like..

<div class="vcard" id="card1">

you should be able to grab individual vCard's by simply

http://suda.co.uk/projects/microformats/hcard/get-contact.php?uri=http://exhale.daisyinteractive.com/locations/#card1

I created an example here to show you it in action

http://weborganics.co.uk/files/test.html

Have Fun

Martin

On Mon, 2007-09-10 at 13:17 -0700, 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/
> 
> .......................................................
> Matt Warnock
> matt at daisyinteractive.com
> 
> _______________________________________________
> microformats-discuss mailing list
> microformats-discuss at microformats.org
> http://microformats.org/mailman/listinfo/microformats-discuss



More information about the microformats-discuss mailing list