[microformats-discuss] hCard Help

Greg Falken gfalken at webdancers.com
Thu Sep 22 15:48:59 PDT 2005


Thanks Brian, for the quick response. One other question on the same hCard.
The URL in the vCard looks correct but Outlook doesn't show it under Web
Page Address. My own vCard, exported from Outlook, contains the following:

URL;WORK:http://www.webdancers.com

I didn't see WORK as an attribute of URL in the vCard spec. Did I miss
something or is this a peculiarity of Outlook?

Thanks.

-Greg

-----Original Message-----
From: microformats-discuss-bounces at microformats.org
[mailto:microformats-discuss-bounces at microformats.org] On Behalf Of brian
suda
Sent: Thursday, September 22, 2005 3:02 PM
To: Microformats Discuss
Subject: Re: [microformats-discuss] hCard Help

Thanks Greg, that was actually a problem with X2V. It was NOT
normalizing the space in the text string... In your code there were no
returns, but somewhere they were being introduced. I added an XSLT
function to clean up the string (it is on all the other templates, i
just managed to miss ORG), so it is working just fine now. You shouldn't
have to do anything to your HTML.

If anyone else finds problems please feel free to let me know.

With the hCard parsing page being finished-up there are a few sizable
changes to the hCard spec, namely singularization of some properties.[1]

The next version of X2V will parse things even better and conform to the
parsing spec, so be aware you might have to make minor changes to your
hCards.

For all developers and people who use hCards in their sites, please add
them to the Wiki[2] and when we make any changes i will try to test
against your hCards and let you know if there are any problems, but i
can't do that unless you list your sites.

thanks,
-brian

[1] - http://www.microformats.org/wiki/hcard-parsing
[2] - http://www.microformats.org/wiki/hcard#More_Examples

Greg Falken wrote:

>Hello,
>
>I have a situation that I don't understand (not an unusual state of
affairs)
>and could use some advice.
>
>I have added an hCard to the page at http://207.212.194.15/contact.aspx and
>am using Suda's X2V link to render it. The problem is with the organization
>name, Emerson & Associates. The returned .xcf file looks like this:
>
>BEGIN:VCARD
>PRODID:-//suda.co.uk//X2V 0.6.18 (BETA)//EN
>SOURCE:http://207.212.194.15/contact.aspx
>NAME: Contact Emerson & Associates
>VERSION:3.0
>N:Emerson;Linda;;;;
>FN:Linda Emerson
>EMAIL:info at emerson4biz.com
>ORG:Emerson &
>Associates
>ADR:;;P.O. Box 44;Twain Harte;CA;95383;;
>TEL:(209) 586-4464
>URL:http://www.emerson4biz.com
>END:VCARD
>
>See the line break after the ampersand? This is causing the organization
>name to truncate when imported into MS Outlook. Any ideas on how this can
be
>prevented?
>
>Thanks in advance,
>
>Greg Falken
>
>_______________________________________________
>microformats-discuss mailing list
>microformats-discuss at microformats.org
>http://microformats.org/mailman/listinfo/microformats-discuss
>
>  
>

_______________________________________________
microformats-discuss mailing list
microformats-discuss at microformats.org
http://microformats.org/mailman/listinfo/microformats-discuss



More information about the microformats-discuss mailing list