profile-uris: Difference between revisions

From Microformats Wiki
Jump to navigation Jump to search
m (dab)
(Validator warning (& minor formatting))
Line 1: Line 1:
=Profile URIs=
In [[hcalendar-issues]], it is ACCEPTED that each microformat should have a profile URI, like [[http://gmpg.org/xfn/11 the XFN profile]].
In [[hcalendar-issues]], it is ACCEPTED that each microformat should have a profile URI, like [[http://gmpg.org/xfn/11 the XFN profile]].


Line 7: Line 9:
** www.w3.org
** www.w3.org
** xmdp.org
** xmdp.org
* what about versioning? how to keep in sync with the wiki and test materials?
* what about versioning? How to keep in sync with the wiki and test materials?
* what profile URI to use for combinations, such as [[hcard]] and [[hcalendar]]?
* what profile URI to use for combinations, such as [[hcard]] and [[hcalendar]]?
** note [http://www.w3.org/TR/html401/struct/global.html#adef-profile HTML4.01] states "that one or more meta data profiles, [are] separated by white space." Though it's simpler for authors if they can just use one profile URI.
** note [http://www.w3.org/TR/html401/struct/global.html#adef-profile HTML4.01] states "that one or more meta data profiles, [are] separated by white space"; though it's simpler for authors if they can just use one profile URI.
* More profiles are needed.
* More profiles are needed.


One proposal is: use www.w3.org, following [http://www.w3.org/1999/10/nsuri W3C namespace policy]. As to versioning, change the profile whenever the wiki changes (within some reasonable latency, say, a couple weeks or a month). For example: [http://www.w3.org/2006/03/hcard an hCard Profile at w3.org], and discussion: [http://microformats.org/discuss/mail/microformats-dev/2006-March/000068.html an hCard profile that seems to work with GRDDL].
One proposal is: use www.w3.org, following [http://www.w3.org/1999/10/nsuri W3C namespace policy]. As to versioning, change the profile whenever the wiki changes (within some reasonable latency, say, a couple weeks or a month). For example: [http://www.w3.org/2006/03/hcard an hCard Profile at w3.org], and discussion: [http://microformats.org/discuss/mail/microformats-dev/2006-March/000068.html an hCard profile that seems to work with GRDDL].


See also:
==Validator warning==
 
Due to an ambiguous wording of the HTML specs, HTMLTidy (and other tools?) give "[http://sourceforge.net/mailarchive/forum.php?thread_name=oytAFzxaKxiFFwpx%40pigsonthewing.org.uk&forum_name=htmlvalidator-help Warning: <head> escaping malformed URI reference]"
when more than one profile is used (e.g. <code><head profile="http://www.ietf.org/rfc/rfc2731.txt http://www.w3.org/2006/03/hcard">
</code>). However, this is '''''valid''''' according to the W3C HTML validator.
 
==See also==


* [[profile-uri-examples-in-wild|Profile URI examples, in the wild]]
* [[profile-uri-examples-in-wild|Profile URI examples, in the wild]]
* [[faqs-for-rdf]] for discussion of connecting microformats to URIs.
* [[faqs-for-rdf]] for discussion of connecting microformats to URIs.
* [[hcard-profile]].
* [[hcard-profile]].

Revision as of 11:57, 25 August 2007

Profile URIs

In hcalendar-issues, it is ACCEPTED that each microformat should have a profile URI, like [the XFN profile].

Some issues include:

  • what domain to use? Candidates include:
    • microformats.org
    • www.w3.org
    • xmdp.org
  • what about versioning? How to keep in sync with the wiki and test materials?
  • what profile URI to use for combinations, such as hcard and hcalendar?
    • note HTML4.01 states "that one or more meta data profiles, [are] separated by white space"; though it's simpler for authors if they can just use one profile URI.
  • More profiles are needed.

One proposal is: use www.w3.org, following W3C namespace policy. As to versioning, change the profile whenever the wiki changes (within some reasonable latency, say, a couple weeks or a month). For example: an hCard Profile at w3.org, and discussion: an hCard profile that seems to work with GRDDL.

Validator warning

Due to an ambiguous wording of the HTML specs, HTMLTidy (and other tools?) give "Warning: <head> escaping malformed URI reference" when more than one profile is used (e.g. <head profile="http://www.ietf.org/rfc/rfc2731.txt http://www.w3.org/2006/03/hcard"> ). However, this is valid according to the W3C HTML validator.

See also