RE: [uf-discuss] ContactCard DHTML Contact Info
Saw an interesting javascript demo for FOAF data based on my XFN Highlighter script. http://www.paraesthesia.com/blog/comments.php?id=1019_0_1_0_C The only thing is, he's creating the data using the equivalent of a javascript recordset. I suggested he use a microformat and thought I would post it here to generate ideas. I think this script could be a good starting point for someone writing something similar, but microformat based. Phil ___ microformats-discuss mailing list microformats-discuss@microformats.org http://microformats.org/mailman/listinfo/microformats-discuss
Re: [uf-discuss] ContactCard DHTML Contact Info
It would be interesting to extend your highlighter script to actually grab the linked page via an AJAX request and look for hcards... Here's an idea for your blogroll: a href=http://factoryjoe.com/hcard.html; rel=meChris Messina/a a href=http://factoryjoe.com/blog/#hcard; rel=friend metTantek Celik/a If you mouseover those links, the script could actually grab the hcard data, bring it back and on-the-fly create the gamercard shown in this example. *That* would be pretty sweet. Chris On 6/7/06, Phil Haack [EMAIL PROTECTED] wrote: Saw an interesting javascript demo for FOAF data based on my XFN Highlighter script. http://www.paraesthesia.com/blog/comments.php?id=1019_0_1_0_C The only thing is, he's creating the data using the equivalent of a javascript recordset. I suggested he use a microformat and thought I would post it here to generate ideas. I think this script could be a good starting point for someone writing something similar, but microformat based. Phil ___ 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
Re: [uf-discuss] ContactCard DHTML Contact Info
Can't do that without involving server side. Cross-domain security will getcha. :DG On 6/7/06, Chris Messina [EMAIL PROTECTED] wrote: It would be interesting to extend your highlighter script to actually grab the linked page via an AJAX request and look for hcards... Here's an idea for your blogroll: a href=http://factoryjoe.com/hcard.html; rel=meChris Messina/a a href=http://factoryjoe.com/blog/#hcard; rel=friend metTantek Celik/a If you mouseover those links, the script could actually grab the hcard data, bring it back and on-the-fly create the gamercard shown in this example. *That* would be pretty sweet. Chris On 6/7/06, Phil Haack [EMAIL PROTECTED] wrote: Saw an interesting javascript demo for FOAF data based on my XFN Highlighter script. http://www.paraesthesia.com/blog/comments.php?id=1019_0_1_0_C The only thing is, he's creating the data using the equivalent of a javascript recordset. I suggested he use a microformat and thought I would post it here to generate ideas. I think this script could be a good starting point for someone writing something similar, but microformat based. Phil ___ 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 ___ microformats-discuss mailing list microformats-discuss@microformats.org http://microformats.org/mailman/listinfo/microformats-discuss
Re: [uf-discuss] ContactCard DHTML Contact Info
Phil, I'd also suggest that microtemplates (http://microtemplates.org) would allow you to declaratively construct the content of these contact cards rather than doing so inside javascript as here (http://www.paraesthesia.com/js/contactcard.js) Chris Messina wrote: It would be interesting to extend your highlighter script to actually grab the linked page via an AJAX request and look for hcards... Here's an idea for your blogroll: a href=http://factoryjoe.com/hcard.html; rel=meChris Messina/a a href=http://factoryjoe.com/blog/#hcard; rel=friend metTantek Celik/a If you mouseover those links, the script could actually grab the hcard data, bring it back and on-the-fly create the gamercard shown in this example. *That* would be pretty sweet. Chris On 6/7/06, Phil Haack [EMAIL PROTECTED] wrote: Saw an interesting javascript demo for FOAF data based on my XFN Highlighter script. http://www.paraesthesia.com/blog/comments.php?id=1019_0_1_0_C The only thing is, he's creating the data using the equivalent of a javascript recordset. I suggested he use a microformat and thought I would post it here to generate ideas. I think this script could be a good starting point for someone writing something similar, but microformat based. Phil ___ 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 ___ microformats-discuss mailing list microformats-discuss@microformats.org http://microformats.org/mailman/listinfo/microformats-discuss
RE: [uf-discuss] ContactCard DHTML Contact Info
Thanks! I forwarded these suggestions to Travis. Does anyone have code for parsing hCard info in javascript to point him to? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Stephen Farrell Sent: Wednesday, June 07, 2006 12:47 PM To: Microformats Discuss Subject: Re: [uf-discuss] ContactCard DHTML Contact Info Phil, I'd also suggest that microtemplates (http://microtemplates.org) would allow you to declaratively construct the content of these contact cards rather than doing so inside javascript as here (http://www.paraesthesia.com/js/contactcard.js) Chris Messina wrote: It would be interesting to extend your highlighter script to actually grab the linked page via an AJAX request and look for hcards... Here's an idea for your blogroll: a href=http://factoryjoe.com/hcard.html; rel=meChris Messina/a a href=http://factoryjoe.com/blog/#hcard; rel=friend metTantek Celik/a If you mouseover those links, the script could actually grab the hcard data, bring it back and on-the-fly create the gamercard shown in this example. *That* would be pretty sweet. Chris On 6/7/06, Phil Haack [EMAIL PROTECTED] wrote: Saw an interesting javascript demo for FOAF data based on my XFN Highlighter script. http://www.paraesthesia.com/blog/comments.php?id=1019_0_1_0_C The only thing is, he's creating the data using the equivalent of a javascript recordset. I suggested he use a microformat and thought I would post it here to generate ideas. I think this script could be a good starting point for someone writing something similar, but microformat based. Phil ___ 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 ___ 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
Re: [uf-discuss] ContactCard DHTML Contact Info
Dimitri, You can do it cross-site if you data is available as JSON. See here for details: http://developer.yahoo.com/common/json.html Dimitri Glazkov wrote: Can't do that without involving server side. Cross-domain security will getcha. :DG On 6/7/06, Chris Messina [EMAIL PROTECTED] wrote: It would be interesting to extend your highlighter script to actually grab the linked page via an AJAX request and look for hcards... Here's an idea for your blogroll: a href=http://factoryjoe.com/hcard.html; rel=meChris Messina/a a href=http://factoryjoe.com/blog/#hcard; rel=friend metTantek Celik/a If you mouseover those links, the script could actually grab the hcard data, bring it back and on-the-fly create the gamercard shown in this example. *That* would be pretty sweet. Chris On 6/7/06, Phil Haack [EMAIL PROTECTED] wrote: Saw an interesting javascript demo for FOAF data based on my XFN Highlighter script. http://www.paraesthesia.com/blog/comments.php?id=1019_0_1_0_C The only thing is, he's creating the data using the equivalent of a javascript recordset. I suggested he use a microformat and thought I would post it here to generate ideas. I think this script could be a good starting point for someone writing something similar, but microformat based. Phil ___ 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 ___ 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