Re: [uf-discuss] Multiple hCards on one page
On Sep 10, 2007, at 2:29 PM, Martin McEvoy wrote: On Mon, 2007-09-10 at 22:20 +0100, Martin McEvoy wrote: .. 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 oops sorry Brian's service doesn't understand "#" replace with "%23" http://suda.co.uk/projects/microformats/hcard/get-contact.php? uri=http://exhale.daisyinteractive.com/locations/%23card1 It's not that X2V doesn't understand it, the fragment identifier is never sent to the server. -ryan ___ microformats-discuss mailing list microformats-discuss@microformats.org http://microformats.org/mailman/listinfo/microformats-discuss
[uf-discuss] Multiple hCards on one page
Martin - Scott - Guys thanks so much - this is awesome. Thanks!! ... Matt Warnock matt at daisyinteractive.com ___ microformats-discuss mailing list microformats-discuss@microformats.org http://microformats.org/mailman/listinfo/microformats-discuss
Re: [uf-discuss] Multiple hCards on one page
On Sep 10, 2007, at 2:17 PM, Matt Warnock wrote: I's it possible to have 2 hCards on one page? Yes, by default they'll all be exported to a single .vcf file, as they are here: http://feeds.technorati.com/contacts/http:// exhale.daisyinteractive.com/locations/ But you can also specify individual hCards with fragment URLs, as you've discovered: 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. You need id attributes on your hCards to do that, e.g. class="vcard" id="santa-monica"> and then this should export only one vCard: http://feeds.technorati.com/contacts/http:// exhale.daisyinteractive.com/locations/%23santa-monica Peace, Scott ___ microformats-discuss mailing list microformats-discuss@microformats.org http://microformats.org/mailman/listinfo/microformats-discuss
Re: [uf-discuss] Multiple hCards on one page
On Mon, 2007-09-10 at 22:20 +0100, Martin McEvoy wrote: > .. > > > > 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 oops sorry Brian's service doesn't understand "#" replace with "%23" http://suda.co.uk/projects/microformats/hcard/get-contact.php?uri=http://exhale.daisyinteractive.com/locations/%23card1 sorry Martin ___ microformats-discuss mailing list microformats-discuss@microformats.org http://microformats.org/mailman/listinfo/microformats-discuss
Re: [uf-discuss] Multiple hCards on one page
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.. 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@microformats.org > http://microformats.org/mailman/listinfo/microformats-discuss ___ microformats-discuss mailing list microformats-discuss@microformats.org http://microformats.org/mailman/listinfo/microformats-discuss
[uf-discuss] Multiple hCards on one page
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@microformats.org http://microformats.org/mailman/listinfo/microformats-discuss