mf2-spec-template-brainstorming: Difference between revisions

From Microformats Wiki
Jump to navigation Jump to search
(Initial braindump of individual mf2 spec page brainstorming)
 
m (→‎Properties: Fixed entities)
Line 18: Line 18:


* '''p-name''' (was <code>fn</code>): The name of the example
* '''p-name''' (was <code>fn</code>): The name of the example
** E.G. <code><span class="p-name">Banana #1</span></code>
** E.G. <code>&lt;span class="p-name">Banana #1&lt;/span></code>


TODO: how to handle properties which probably should be a nested microformat but can also be a plain value? E.G. author:
TODO: how to handle properties which probably should be a nested microformat but can also be a plain value? E.G. author:

Revision as of 16:14, 6 June 2013

h-example is a microformats-2 schema (?) for representing Examples. It builds upon the classic hExample microformat.

Translations: link to each translation as hCard does

TODO: properties first or examples first? returning viewers are most likely to want quick reference to properties, first time viewers are most likely to want an example. Perhaps do as hCard does with the property list => markup 1:1 thing, unless that ends up looking too noisy?

Properties

For each property, give:

  • classname e.g. p-name
  • legacy BC classname
  • meaning e.g. The name of the example
  • example value e.g. “An example of an artisanal banana-peeling pattern”
    • full element

Example:

  • p-name (was fn): The name of the example
    • E.G. <span class="p-name">Banana #1</span>

TODO: how to handle properties which probably should be a nested microformat but can also be a plain value? E.G. author:

  • p-author (was author): The author of the example. Optionally an h-card

Examples

Minimal sane example:

TODO

Meatier example

TODO

Outlier/edge case example?

TODO