[uf-discuss] URL encoding (Was: H2VX combines multiple fragment
identifiers)
Scott Reynen
scott at randomchaos.com
Mon Nov 9 17:41:20 PST 2009
On Nov 9, 2009, at 4:26 PM, Julian Rickards wrote:
> I don't know if it is the same thing but when I have multiple hCards
> on a page, I use fragment identifiers too but the URL used %23 instead
> of #.
%23 is the URL encoding of #. All query parameters should be URL-
encoded. Technorati's former microformats service accepted unencoded
URLs, but that was (in my opinion, anyway) a mistake, and shouldn't be
expected elsewhere.
On Nov 9, 2009, at 5:58 PM, Bob Jonkman wrote:
> It's the same escaped URL, appended with &subscribe=Subscribe :
>
> http://h2vx.com/ics/get-cal.php?uri=http%3A%2F%2Fexample.com%2F%23meeting1&subscribe=Subscribe
That URL has two parameters:
uri : http://example.com/#meeting1 (as it will be unencoded)
subscribe : Subscribe
It looks like you want subscribe as part of the uri parameter, so you
need to encode it.
Peace,
Scott
More information about the microformats-discuss
mailing list