[microformats-discuss] hCard Help

Ryan King ryan at technorati.com
Thu Sep 22 15:27:50 PDT 2005


On Sep 22, 2005, at 3:01 PM, brian suda wrote:
> 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.

You can additionally add them here:http://microformats.org/wiki/ 
selected-test-cases-from-the-web
-ryan
> 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
> htt

--
Ryan King
ryan at technorati.com


More information about the microformats-discuss mailing list

AltStyle によって変換されたページ (->オリジナル) /