birthday-examples: Difference between revisions

From Microformats Wiki
Jump to navigation Jump to search
(drafted)
 
(specific requests for help with documenting examples, change bday year example to be older to look more like a bday than a recent event)
Line 5: Line 5:
Many social network sites (e.g. those listed in [[hcard-supporting-user-profiles]]) provide users the ability to publish their birthday (or age) in some form. This page documents those various forms.  Many sites permit different forms depending on individual profile preferences.
Many social network sites (e.g. those listed in [[hcard-supporting-user-profiles]]) provide users the ability to publish their birthday (or age) in some form. This page documents those various forms.  Many sites permit different forms depending on individual profile preferences.


{{stub}}
{{stub}} Please look at more sites with [[hcard-supporting-user-profiles]] and document how they publish birthdays. Those sites in particular make sense to analyze because they've already shown the desire to use [[hCard]] mark-up, thus are likely to adopt any improved bday markup.


== date ==
== date ==
Line 31: Line 31:
* [[hcard-implementations]] support unknown (need test cases)
* [[hcard-implementations]] support unknown (need test cases)
* [[to-do]]: hCard spec could use clarification in (1.0.1 or 1.1), and how to convert to vCard.
* [[to-do]]: hCard spec could use clarification in (1.0.1 or 1.1), and how to convert to vCard.
* example, using ISO8601 YYYY format: <source lang=html4strict><span class="bday">2005</span></source>
* example, using ISO8601 YYYY format: <source lang=html4strict><span class="bday">1955</span></source>





Revision as of 17:24, 1 September 2009

<entry-title>birthday examples</entry-title>

Examples of birthday publishing practices.

Many social network sites (e.g. those listed in hcard-supporting-user-profiles) provide users the ability to publish their birthday (or age) in some form. This page documents those various forms. Many sites permit different forms depending on individual profile preferences.

This article is a stub. You can help the microformats.org wiki by expanding it. Please look at more sites with hcard-supporting-user-profiles and document how they publish birthdays. Those sites in particular make sense to analyze because they've already shown the desire to use hCard mark-up, thus are likely to adopt any improved bday markup.

date

YYYY-MM-DD


support status:


year only

YYYY or age (which implies coarse year info)


support status:

  • not supported by vCard - requires full year month day
  • can be specified using hCard, see example below.
  • hcard-implementations support unknown (need test cases)
  • to-do: hCard spec could use clarification in (1.0.1 or 1.1), and how to convert to vCard.
  • example, using ISO8601 YYYY format:
    <span class="bday">1955</span>
    


month and day only

MMDD


support status:

  • not supported by vCard - requires full year month day
  • can be specified using hCard, see example below.
  • hcard-implementations support unknown (need test cases)
  • to-do: hCard spec could use clarification in (1.0.1 or 1.1), and how to convert to vCard.
  • example using ISO8601 --MM-DD format and value-class-pattern value-title:
    <span class="bday"><span class="value-title" title="--06-08"> </span>6/8</span>
    
  • example using ISO8601 --MM-DD format and HTML5 <time> element (how it could work) :
    <time class="bday" datetime="--06-08">6/8</time>
    


related