List Info

Thread: hCard uid




hCard uid
user name
2008-04-24 22:16:46
Most parsers I encounter take this code (fragment from
inside a
complete hCard that I'm parsing) :

<a class="url uid" rel="me"
href="http://singp
olyma.net/"><span
class="family-name">Weber</span>,
<span
class="given-name">Stephen</span>
<span
class="additional-name">Paul</span>
</a>

and give me a value of Weber, Stephen Paul for uid - the
intended
value was definitely http://singpolyma.net/  -
which is the correct
value under the standard, and what must I do to change my
code to make
it right if my code is what's wrong ?

-- 
 - Stephen Paul Weber (Singpolyma)

Web: http://singpolyma.net/
Twitter: http://twitter.com/sing
polyma
IM: singpolymagmail.com
_______________________________________________
microformats-discuss mailing list
microformats-discussmicroformats.org
http://microformats.org/mailman/listinfo/microforma
ts-discuss

Re: hCard uid
country flaguser name
United Kingdom
2008-04-25 05:25:25
Hi Stephen

On Thu, 2008-04-24 at 23:16 -0400, Stephen Paul Weber
wrote:
> Most parsers I encounter take this code (fragment from
inside a
> complete hCard that I'm parsing) :
> 
> <a class="url uid" rel="me"
href="http://singp
olyma.net/"><span
> class="family-name">Weber</span>,
> <span
class="given-name">Stephen</span>
> <span
class="additional-name">Paul</span>
> </a>
> 
> and give me a value of Weber, Stephen Paul for uid -
the intended
> value was definitely http://singpolyma.net/  -
which is the correct
> value under the standard, and what must I do to change
my code to make
> it right if my code is what's wrong ?
> 

this caused me a little concern because nothing seems to be
wrong the
UID value is most definitely http://singpolyma.net/,

So a tested it for you using 6 common hcard parsers most of
which use
X2V but different versions ranging from 0.8 - 0.11 here is
the output:

Source: http://weborganics.co.
uk/test/

<div class="vcard">
<a class="url uid" rel="me"
href="http://singpolyma.ne
t/">
<span class="fn">
<span
class="family-name">Weber</span>,
<span
class="given-name">Stephen</span>
<span
class="additional-name">Paul</span>
</span>
</a>
</div>

http://suda.co.uk/pro
jects/X2V/

BEGIN:VCARD
PRODID:-//suda.co.uk//X2V 0.11 (BETA)//EN
SOURCE:http://weborganics.co.
uk/test/
NAME:Test 
VERSION:3.0
FN;CHARSET=utf-8:Weber, Stephen Paul
UID:http://singpolyma.net/
URL:http://singpolyma.net/
END:VCARD

http://technorati.com
/contacts/

BEGIN:VCARD
PRODID:-//suda.co.uk//X2V 0.8.4.1 (BETA)//EN
SOURCE:http://weborganics.co.u
k/test
NAME:Test 
VERSION:3.0
N;CHARSET=UTF-8:Weber;Stephen;Paul;;
FN;CHARSET=UTF-8:Weber, Stephen Paul
UID:http://singpolyma.net/
URL:http://singpolyma.net/
END:VCARD

http://tools.weborgan
ics.co.uk/

BEGIN:VCARD
PRODID:-//suda.co.uk//X2V 0.9 (BETA)//EN
SOURCE:http://weborganics.co.
uk/test/
NAME:Test
VERSION:3.0
FN;CHARSET=UTF-8:Weber, Stephen Paul
UID:http://singpolyma.net/
URL:http://singpolyma.net/
END:VCARD

Tails version 0.3.8
No output but confirmed
UID:http://singpolyma.net/

Operator
BEGIN:VCARD
PRODID:-//kaply.com//Operator 0.8//EN
SOURCE:http://weborganics.co.
uk/test/
NAME:Test
VERSION:3.0
N:;;;;
FN;CHARSET=UTF-8:Weber, Stephen Paul
UID:http://singpolyma.net/
URL:http://singpolyma.net/
END:VCARD


AS you can see everything is as expected so this only leaves
me to think
that If the parser wasn't one of the above maybe its the
parser that has
the problem and not you.

Thanks

Martin McEvoy



_______________________________________________
microformats-discuss mailing list
microformats-discussmicroformats.org
http://microformats.org/mailman/listinfo/microforma
ts-discuss

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )