hcard-implied: Difference between revisions

From Microformats Wiki
Jump to navigation Jump to search
(replace overly-contrived example)
(clarify proposal)
Line 9: Line 9:
== Why? ==
== Why? ==


As microformats grow and emerge, the barrier to entry for writing them increases. Already, compound microformats such as hAtom, hResume and hReview are comprised of data from hCard, hCal, and rel-tag, and writing to the former requires knowledge of the latter even if the constructs used are quite simple. In addition, adding microformats to a Web page often requires adding a significant amount of tags to code, which often have to be added (time-consumingly) by hand. For example:
As microformats grow and emerge, the barrier to entry for writing them increases. Already, compound microformats such as hAtom, hResume and hReview are comprised of data from hCard, hCal, and rel-tag, and writing to the former requires knowledge of the latter even if the constructs used are quite simple. In addition, adding microformats to a Web page often requires adding a significant amount of tags to code, which often have to be added (time-consumingly) by hand. For example, a simple name:


<pre><nowiki>
<pre><nowiki>
Line 22: Line 22:


with 52 extra characters:
with 52 extra characters:
== Proposal ==
To find a way that the above transformation can be achieved (or "implied") with a single span and a single class.


* For more examples, see [[hcard-implied-examples]]
* For more examples, see [[hcard-implied-examples]]
* For ideas refer to [[hcard-implied-brainstorming]]
* For ideas refer to [[hcard-implied-brainstorming]]

Revision as of 12:11, 5 January 2008

Implied hCard

It is proposed to extend the hCard specification to include "Implied hCards", in order to streamline creation and mark-up for simple hCards by assuming information from common design patterns.

Authors

Why?

As microformats grow and emerge, the barrier to entry for writing them increases. Already, compound microformats such as hAtom, hResume and hReview are comprised of data from hCard, hCal, and rel-tag, and writing to the former requires knowledge of the latter even if the constructs used are quite simple. In addition, adding microformats to a Web page often requires adding a significant amount of tags to code, which often have to be added (time-consumingly) by hand. For example, a simple name:

John Doe

can become:

<span class="vcard"><span class="fn">John Doe</span></span>

with 52 extra characters:

Proposal

To find a way that the above transformation can be achieved (or "implied") with a single span and a single class.