[microformats-discuss] hCard Help
brian.suda at gmail.com
Thu Sep 22 15:01:51 PDT 2005
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.
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
For all developers and people who use hCards in their sites, please add
them to the Wiki 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.
 - http://www.microformats.org/wiki/hcard-parsing
 - http://www.microformats.org/wiki/hcard#More_Examples
Greg Falken wrote:
>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://18.104.22.168/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:
>PRODID:-//suda.co.uk//X2V 0.6.18 (BETA)//EN
>NAME: Contact Emerson & Associates
>EMAIL:info at emerson4biz.com
>ADR:;;P.O. Box 44;Twain Harte;CA;95383;;
>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
>Thanks in advance,
>microformats-discuss mailing list
>microformats-discuss at microformats.org
More information about the microformats-discuss