xmdp-brainstorming

(Difference between revisions)

Jump to: navigation, search
(Addressing issues)
Line 27: Line 27:
=== Linking to the XMDP ===
=== Linking to the XMDP ===
-
There are at least two additional methods besides using the profile attribute of the head element under discussion:
+
There are at least two additional methods under discussion for linking to the XMDP in addition to the current method of using the profile attribute of the head element:
* Using <nowiki><link rel="profile" href="link to XMDP"/></nowiki>.  This method can be used now and will be formalized in XHTML 2.   
* Using <nowiki><link rel="profile" href="link to XMDP"/></nowiki>.  This method can be used now and will be formalized in XHTML 2.   
** A problem with this method is that it requires access to the head element.
** A problem with this method is that it requires access to the head element.
-
* Using <nowiki><a rel="profile" href="link to XMDP">powered by microformat xyz</a></nowiki> in the body of the document
+
* Using <nowiki><a rel="profile" href="link to XMDP">powered by microformat xyz</a></nowiki> in the body of the document.
 +
** As noted by a number of people, this approach has the added benefit of creating a viral marketing opportunity for the microformats used.  For instance, developers could add badges saying they are using microformat xyz as suggested by the example.
 +
** Blog authoring environments allow you to insert links at will, so this squarely <abbr title="avoids">obviates</abbr> the need to access the head element.
 +
 
 +
It should be noted that none of these linking solutions addresses the issue of when exactly the microformat is being used in the document.  They only indicate that the microformat may be in use.
 +
 
 +
=== Resolving when microformats are actually in use ===
 +
 
 +
One solution to this issue is simply to include the <nowiki><a rel="profile" href="link to XMDP">powered by microformat xyz</a></nowiki> within the container element for the microformat.  The XMDP spec could then specify that when the <a> element is used in this way, it indicates that the microformat is used by the element containing the <a> element.
 +
 
 +
There are, however, several clear issues with this proposal:
 +
 
 +
* Not every microformat has a container element.  Consider [[reltag]] one of the most widely used microformats.
 +
* To some extent, using microformats adds to the cost of writing the document.  It's like filling in a form just to write your thoughts.  Putting <a> elements with each microformat adds unwanted links on top of that.

Revision as of 21:27, 13 July 2005

XMDP Brainstorming

This wiki page offers a location to brainstorm methods for discovering microformats.

Contents


Authors

Bud Gibson

Add your name here if you make significant contributions to this page and wish to take responsibility for them.

Introduction

Tantek Çelik has developed the <a href="http://gmpg.org/xmdp/" title="XHTML Meta-data Profile">XMDP</a> to describe the allowed class attribute values for microformats. A link to a microformat's XMDP in the profile attribute of head element indicates that that microformat may be used in the document. A parser could read the allowed attribute values from the linked XMDP and use their presence in the document to infer that that particular microformat was in use.

There are clearly issues with this approach:

Feel free to add issues here. Keep issues in this list in summary form. Save lengthy discussion and potential solutions for elaboration below.

Addressing issues

These are in no particular order, but an issue should appear in the issues list above if it is addressed here.

Linking to the XMDP

There are at least two additional methods under discussion for linking to the XMDP in addition to the current method of using the profile attribute of the head element:

It should be noted that none of these linking solutions addresses the issue of when exactly the microformat is being used in the document. They only indicate that the microformat may be in use.

Resolving when microformats are actually in use

One solution to this issue is simply to include the <a rel="profile" href="link to XMDP">powered by microformat xyz</a> within the container element for the microformat. The XMDP spec could then specify that when the <a> element is used in this way, it indicates that the microformat is used by the element containing the <a> element.

There are, however, several clear issues with this proposal:

xmdp-brainstorming was last modified: Wednesday, December 31st, 1969

Views