#microformats 2011-06-25

2011-06-25 UTC
tantek, Prometheus, Askarii, aux, chiui, KevinMarks, chiui_, nonge, hadleybeeman and voxpelli joined the channel
#
sandbags
singpolyma: is there significance to the # at the end of that vcard NS URL?
#
sandbags
looking at the list of namespaces supported by the RSS validator I see some have # and some don't
#
sandbags
seems a bit odd to me to have a # in there
#
singpolyma
I just copied the NS URI from the spec :)
#
singpolyma
so I assume it needs the #
#
sandbags
singpolyma: fair enough
#
sandbags
my recollection was that # in a URL was never actually sent to a server
#
sandbags
and so, in principle, is not actually part of the locator
#
singpolyma
true, but for NS the URI isn't about fetching anything
#
singpolyma
it's just a string
#
sandbags
agreed
#
sandbags
i just found it unusual to put such a thing in there
#
sandbags
but as you say
#
sandbags
treat is as an opaque string and move on with your life ;-)
#
manu1
The "#" is significant for machines that process the VCard markup.
#
manu1
For example:
#
manu1
the VCard URL is this: http://www.w3.org/2006/vcard/ns#
#
manu1
and the property for "formatted name" is this: fn
#
manu1
The full URL for VCard, for the formatted name property is this: http://www.w3.org/2006/vcard/ns#fn
#
manu1
If you didn't put the "#" in there, then the "fn" URL would become this: http://www.w3.org/2006/vcard/nsfn (note the last bit of the URL - it doesn't exist)
#
manu1
That is, if a machine tried to go to the 2nd (incorrect) URL, a machine would get a 404 and wouldn't be able to discover anything more about the "fn" property.
#
manu1
Does that make sense?
#
sandbags
there is a URL per property?
#
sandbags
i see
#
sandbags
yes that makes sense (although given this is based on inference I think you could as easily infer the '#' but there we go)
#
sandbags
thanks
#
manu1
sandbags, there are cases where you can't infer it - for example, the latest Dublin Core vocabulary is: http://purl.org/dc/terms/ - which results in the following url for the "title" property: http://purl.org/dc/terms/title
#
manu1
automatically adding a "#" would blow up in that case. I say this understanding that it would have been nice if there were one way to create vocabulary URLs.
#
sandbags
ah yes i see
#
sandbags
yes it's always afterwards that we're left to contemplate what could have been ;-)
Askarii, DanC, pere, csarven, benward, adactio, quiron, tantek, hadleybeeman, sandbags and Morphous_ joined the channel