[uf-discuss] Fragment identifiers in hCard links

Ryan King ryan at theryanking.com
Mon Feb 11 10:04:57 PST 2008

On Feb 11, 2008, at 6:33 AM, Rickards, Julian (NDM) wrote:
>> -----Original Message-----
>> Please make sure your page is at least well-formed:
>> http://validator.w3.org/check?uri=http%3A//www.mndm.gov.on.ca/
> mndm/mines/lands/pro/contact_e.asp%23devosst
> Ryan:
> I fixed the page and now it is valid. However, that doesn't change the
> result. Having done a bit of testing, it appears that in the URI link
> where I use a fragment identifier (which would normally use the # as  
> in
> index.html#fragment), I have tried both # and %23 (where that comes
> from, I don't know)

'%23' is the url-encoded version of '#'.

> but neither work properly. When I use #, only the
> first contact is downloaded no matter which contact link I click.
> However, when I use %23 in the URI, the only response I get is "No
> vCards found" which is obviously not true because the hCard code meets
> the specs.
> Maybe Brian Suda has changed the code on his server because a test  
> page
> of mine that used to work doesn't work any longer.
> Does anyone have any ideas as to how to put multiple hCards on one  
> page
> and have individual links download individual vCards to the client's
> address book?

You're doing it correctly, it appears to be a problem with X2V. Please  
document this issue on http://microformats.org/wiki/xfn-issues .


More information about the microformats-discuss mailing list