profile-uris: Difference between revisions

From Microformats Wiki
Jump to navigation Jump to search
(→‎Individual Microformats: Update list of profiles.)
Line 26: Line 26:
=== Individual Microformats ===
=== Individual Microformats ===


{| border="1"
 
|-
<dl>
! Specification
<dt>adr</dt>
! Profile(s)
<dd>(Use an hCard profile.)</dd>
|-
<dd>(Or use the combined profile.)</dd>
| [[geo]]
<dt>geo</dt>
| http://purl.org/uF/geo/0.9/
<dd>http://purl.org/uF/geo/0.9/</dd>
|-
<dd>(Or use an hCard profile.)</dd>
| [[hAtom]]
<dd>(Or use the combined profile.)</dd>
| http://purl.org/uF/hAtom/0.1/
<dt>hAtom</dt>
|-
<dd>http://purl.org/uF/hAtom/0.1/</dd>
| [[hAudio]]
<dt>hAudio</dt>
| http://purl.org/uF/hAudio/0.9/
<dd>http://purl.org/uF/hAudio/0.9/ &dagger;</dd>
|-
<dt>hCalendar</dt>
| [[hCalendar]]
<dd>http://purl.org/uF/hCalendar/1.0/ &dagger;</dd>
| http://purl.org/uF/hCalendar/1.0/
<dd>http://www.w3.org/2002/12/cal/hcal &para;&dagger;</dd>
|-
<dd>http://dannyayers.com/microformats/hcalendar-profile &dagger;</dd>
| [[hCard]]
<dd>(Or use the combined profile.)</dd>
| http://www.w3.org/2006/03/hcard '''or''' http://purl.org/uF/hCard/1.0/
<dt>hCard</dt>
|-
<dd>http://purl.org/uF/hCard/1.0/ &dagger;</dd>
| [[hResume]]
<dd>http://www.w3.org/2006/03/hcard &dagger;</dd>
| http://microformats.org/wiki/hresume-profile
<dd>(Or use the combined profile.)</dd>
|-
<dt>hResume</dt>
| [[rel-license]]
<dd>http://microformats.org/wiki/hresume-profile</dd>
| http://purl.org/uF/rel-license/1.0/
<dt>rel-license</dt>
|-
<dd>http://purl.org/uF/rel-license/1.0/ &dagger;</dd>
| [[rel-nofollow]]
<dd>(Or use the combined profile.)</dd>
| http://purl.org/uF/rel-nofollow/1.0/
<dt>rel-nofollow</dt>
|-
<dd>http://purl.org/uF/rel-nofollow/1.0/</dd>
| [[rel-tag]]
<dd>(Or use the combined profile.)</dd>
| http://purl.org/uF/rel-tag/1.0/
<dt>rel-tag</dt>
|-
<dd>http://purl.org/uF/rel-tag/1.0/</dd>
| [[vote-links|VoteLinks]]
<dd>(Or use the combined profile.)</dd>
| http://purl.org/uF/VoteLinks/1.0/
<dt>VoteLinks</dt>
|-
<dd>http://purl.org/uF/VoteLinks/1.0/ &dagger;</dd>
| [[xfolk|xFolk]]
<dd>http://tommorris.org/profiles/votelinks &para;&dagger;</dd>
| http://microformats.org/wiki/xfolk-profile
<dd>(Or use the combined profile.)</dd>
|-
<dt>XFN</dt>
| [[xfn|XFN]]
<dd>http://gmpg.org/xfn/11</dd>
| http://gmpg.org/xfn/11
<dd>(Or use the combined profile.)</dd>
|}
<dt>xFolk</dt>
<dd>http://microformats.org/wiki/xfolk-profile</dd>
<dt>XOXO</dt>
<dd>(Use the combined profile.)</dd>
</dl>
&dagger; = GRDDL-enabled.<br/>
&para; = non-XMDP profile.


=== Other Interesting Profile URIs ===
=== Other Interesting Profile URIs ===

Revision as of 13:40, 2 August 2008

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.

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

adr
(Use an hCard profile.)
(Or use the combined profile.)
geo
http://purl.org/uF/geo/0.9/
(Or use an hCard profile.)
(Or use the combined profile.)
hAtom
http://purl.org/uF/hAtom/0.1/
hAudio
http://purl.org/uF/hAudio/0.9/
hCalendar
http://purl.org/uF/hCalendar/1.0/
http://www.w3.org/2002/12/cal/hcal ¶†
http://dannyayers.com/microformats/hcalendar-profile
(Or use the combined profile.)
hCard
http://purl.org/uF/hCard/1.0/
http://www.w3.org/2006/03/hcard
(Or use the combined profile.)
hResume
http://microformats.org/wiki/hresume-profile
rel-license
http://purl.org/uF/rel-license/1.0/
(Or use the combined profile.)
rel-nofollow
http://purl.org/uF/rel-nofollow/1.0/
(Or use the combined profile.)
rel-tag
http://purl.org/uF/rel-tag/1.0/
(Or use the combined profile.)
VoteLinks
http://purl.org/uF/VoteLinks/1.0/
http://tommorris.org/profiles/votelinks ¶†
(Or use the combined profile.)
XFN
http://gmpg.org/xfn/11
(Or use the combined profile.)
xFolk
http://microformats.org/wiki/xfolk-profile
XOXO
(Use the combined profile.)

† = GRDDL-enabled.
¶ = non-XMDP profile.

Other Interesting Profile URIs

Validator warning

Due to inconsistent 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">

W3C HTML validator has very poor validation of attributes and is technically unable to check this case. The HTML DTD however defines profile attribute as %URI (it's an alias for CDATA), same as <a href> attribute.

See also