birthday examples

From Microformats Wiki
birthday-examples
Jump to navigation Jump to search


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 1.0 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 specifications - requires full year month day
  • can be specified using hCard 1.0, 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 Real world use cases:

Theoretical use cases (please note URLs if you know of any for these and then move to above section on real world use cases):

support status:

  • not supported by vCard specifications - requires full year month day
  • can be specified using hCard 1.0, 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 Microformats in HTML5 <time> element (how it could work) :
    <time class="bday" datetime="--06-08">6/8</time>
    

related