profile-uris

From Microformats

Table of contents

Profile URIs

In hcalendar-issues, it is ACCEPTED that each microformat should have a profile URI, like the XFN profile (http://gmpg.org/xfn/11).

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 (http://www.w3.org/TR/html401/struct/global.html#adef-profile) 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 (http://www.w3.org/1999/10/nsuri). 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 (http://www.w3.org/2006/03/hcard), and discussion: an hCard profile that seems to work with GRDDL (http://microformats.org/discuss/mail/microformats-dev/2006-March/000068.html).

Existing profile URIs

Combined Profile

The following URL covers all non-draft Microformats as of March 2008, except XMDP and XOXO. You can mix and match it with other XMDP profiles for new/draft microformats.

http://purl.org/uF/2008/03/

Individual Microformats

Specification Profile(s)
geo http://purl.org/uF/geo/0.9/
hAtom http://purl.org/uF/hAtom/0.1/
hCalendar http://purl.org/uF/hCalendar/1.0/
hCard http://www.w3.org/2006/03/hcard or http://purl.org/uF/hCard/1.0/
hResume http://microformats.org/wiki/hresume-profile
rel-license http://purl.org/uF/rel-license/1.0/
rel-nofollow http://purl.org/uF/rel-nofollow/1.0/
rel-tag http://purl.org/uF/rel-tag/1.0/
VoteLinks http://purl.org/uF/VoteLinks/1.0/
xFolk http://microformats.org/wiki/xfolk-profile
XFN http://gmpg.org/xfn/11

Validator warning

Due to inconsistent wording of the HTML specs (http://sourceforge.net/tracker/index.php?func=detail&aid=1264455&group_id=27659&atid=390963), HTMLTidy (and other tools?) give "Warning: <head> escaping malformed URI reference (http://sourceforge.net/mailarchive/forum.php?thread_name=oytAFzxaKxiFFwpx%40pigsonthewing.org.uk&forum_name=htmlvalidator-help)" 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

Personal tools