birthday-examples: Difference between revisions

From Microformats Wiki
Jump to navigation Jump to search
(specific requests for help with documenting examples, change bday year example to be older to look more like a bday than a recent event)
m (Replace <entry-title> with {{DISPLAYTITLE:}})
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
<entry-title>birthday examples</entry-title>
{{DISPLAYTITLE:birthday examples}}


Examples of birthday publishing practices.
Examples of birthday publishing practices.
Line 36: Line 36:
== month and day only ==
== month and day only ==
'''MMDD'''
'''MMDD'''
Real world use cases:
* [http://qmpeople.com qmpeople] - e.g. http://www.qmpeople.com/users/laserion
* [http://qmpeople.com qmpeople] - e.g. http://www.qmpeople.com/users/laserion
** only month and day
** only month and day
* [http://levels4you.com levels4you] - e.g. http://www.levels4you.com/forum.l4y?do=view&t=6847&viewfrom=30
* [http://levels4you.com levels4you] - e.g. http://www.levels4you.com/forum.l4y?do=view&t=6847&viewfrom=30
** only month and day - it announces people's birthdays (but not their ages) on the day of (search for "The following member has a birthday today!"), and is thus equivalent to month and day.
** only month and day - it announces people's birthdays (but not their ages) on the day of (search for "The following member has a birthday today!"), and is thus equivalent to month and day.
* [http://livejournal.com LiveJournal] - e.g. http://tantek.livejournal.com/profile
** permits user-specified preference of only month and day
* ... please add more examples/links
* ... please add more examples/links


Theoretical use cases (please note URLs if you know of any for these and then move to above section on real world use cases):
* "radiz" is asking for month and day with the use case question: "How to use &lt;time&gt; with a date in astrology?" in the article http://html5doctor.com/your-questions-answered-6/ , specifically for dates like: "13 Apr – 14 May"


support status:
support status:
Line 50: Line 55:
* example using ISO8601 --MM-DD format and [[value-class-pattern]] value-title: <source lang=html4strict><span class="bday"><span class="value-title" title="--06-08"> </span>6/8</span></source>
* example using ISO8601 --MM-DD format and [[value-class-pattern]] value-title: <source lang=html4strict><span class="bday"><span class="value-title" title="--06-08"> </span>6/8</span></source>
* example using ISO8601 --MM-DD format and [[HTML5]] &lt;time&gt; element (how it could work) : <source lang=xml><time class="bday" datetime="--06-08">6/8</time></source>
* example using ISO8601 --MM-DD format and [[HTML5]] &lt;time&gt; element (how it could work) : <source lang=xml><time class="bday" datetime="--06-08">6/8</time></source>


== related ==
== related ==

Latest revision as of 16:21, 18 July 2020


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 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 - 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