[uf-discuss] hCard to vCard via JavaScript

Christian Heilmann codepo8 at gmail.com
Mon Jun 25 09:08:49 PDT 2007


> Hi:
>
> The Tails Export add-on for FF is great but if I am inserting hCard
> "data" into my contact page, I would like to find a way to put a
> JavaScript link in my page (unobtrusive JavaScript would be perfect)
> whereby a user using any recent browser (and a vcard-compatible
> application like Outlook) could click on the link to have the contact
> information added to their contact list. Somewhat like Tails Export but
> rather than an extension, the link would be right in the page and would
> not depend on FF but work in IE too.
>
> Does anyone know if something like this has been created (didn't find
> any in my Google search)?

No need for JS, just send it through the Technorati converter:

http://technorati.com/contacts/

For example: <a
href="http://technorati.com/contacts/http://wait-till-i.com">download
my vcard</a>



-- 
Chris Heilmann
Book: http://www.beginningjavascript.com
Blog: http://www.wait-till-i.com
Writing: http://icant.co.uk/


More information about the microformats-discuss mailing list