vcard-suggestions: Difference between revisions
AndyMabbett (talk | contribs) m (fmt) |
AndyMabbett (talk | contribs) (→Date of Death evidence: artist attributions; more; fmt) |
||
Line 62: | Line 62: | ||
====Date of Death evidence==== | ====Date of Death evidence==== | ||
*All 56,000+ entries in the [http://www.oxforddnb.com/public/lotw/ Oxford Dictionary of National Biography] | *All 56,000+ entries in the [http://www.oxforddnb.com/public/lotw/ Oxford Dictionary of National Biography] | ||
*Most Wikipedia biographies of dead people | *Most Wikipedia biographies of dead people (most of those on Wikipedia-EN already use hCard): | ||
* | **[http://en.wikipedia.org/wiki/Walt_Disney Walt Disney] | ||
*Used in obituaries | **[http://en.wikipedia.org/wiki/John_Bonham John Bonham] | ||
*Used on war memorial pages | *Used on cemetery records: | ||
*Used in biographies | **[http://www.findagrave.com/cgi-bin/fg.cgi?page=gr&GRid=680 Find-a-Grave's Karl Marx] | ||
**[http://www.findagrave.com/cgi-bin/fg.cgi?page=gr&GRid=676 Find-a-Grave's Chico Marx] | |||
*Used in obituaries: | |||
**[http://www.westmidlandbirdclub.com/obituaries/norris.htm Tony Norris (West Midland Bird Club)] | |||
**[http://www.guardian.co.uk/obituaries/story/0,,1725211,00.html Ivor Cutler (Guardian)] | |||
**[http://www.britarch.ac.uk/BA/ba8/ba8obit.html Grahame Clark (British Archaeology)] | |||
*Used on war memorial pages: | |||
**[http://tinyurl.com/2ddlvq Captain Ronald Wilkinson] | |||
*Used in biographies: | |||
**[http://www.biography.com/ Biography.com]'s ([http://www.biography.com/impressionists/monet-bio.jsp Camille Monet]) | |||
**[http://www.imdb.com/name/nm0491048/ IMDb's Stan Laurel] | |||
**[http://www.last.fm/music/Jimi+Hendrix LastFM's Jimi Hendrix] | |||
**[http://pianosociety.com/cms/index.php?section=152 Piano Society's Debussy]; [http://www.npg.org.uk/live/search/portrait.asp?search=ss&sText=churchill&LinkID=mp00879&rNo=0&role=sit National Portrait Gallery's Winston Churchill] | |||
*Used in artist attributions: | |||
** [http://www.npg.org.uk/live/search/person.asp?LinkID=mp07047&role=art National Portrait Gallery's Edward Grey (1862-1933), by Sir James Guthrie (1859-1930)] | |||
** [http://www.tate.org.uk/servlet/ViewWork?cgroupid=999999961&workid=21897&searchid=8912 The Tate's Figures in a Garden by Francis Bacon (1909-1992)] | |||
*[http://en.wikipedia.org/wiki/List_of_saints List of saints on Wikipedia] | *[http://en.wikipedia.org/wiki/List_of_saints List of saints on Wikipedia] | ||
Revision as of 15:11, 24 August 2007
vCard suggestions
As a result of experience using hCard to markup people, organizations, and contact information in general on real world websites, we have discovered a few aspects of RFC 2426 vCard that could be improved. Thus we are documenting suggestions for improving vCard here as we find them, organized by RFC 2426 section number for improvements to current properties, and a "new" section for new properties.
- Authors
- Tantek Çelik
- Andy Mabbett
Suggestions for Existing Properties
Suggestions for improvement could include new features and other such more major changes to the specification, organized under headings that reflect RFC 2426 vCard section numbers and heading. For documentation of errors, corrections, errata for vCard, please see vcard-errata.
3.3.1 TEL Type Definition
- The "type" for "TEL" lacks a "textphone" option (for the devices used by, e.g., people who are deaf or have speech difficulties. Example: Birmingham City Council (303 1119). It may be good to consider adding a "textphone" value to the "type" for "TEL".
- +0 Tantek: I think a rethinking of the taxonomy of TEL types is merited, but I am uncertain whether it is worth growing the existing limited taxonomy or instead permitting user defined TEL types and thus allowing for natural evolution of a folksonomy of TEL types.
- +1 Andy Mabbett: There are a limited number of types. Note also the cell vs. mobile issue.
- The "type" for "TEL" lacks a "freephone" option. It may be good to consider adding a "freephone" value to the "type" for "TEL". Usually freephone numbers are not accessible from outside the country so it could help parsers with something?
3.3.2 EMAIL Type Definition
- The "type" for "EMAIL" lacks distinction for various types of email, e.g. work or home.
- The "type" for "EMAIL" lacks dinstinction for give an alternative to the e-mail like a contact form.
3.3.3 Suggestion for Types Definition
We can't have a generic type name cause we have to localize in french. so, for us, hCard work phone number is : <div class="tel"> <span class="type">Travail</span> : <span class="value">0321596224</span> </div>
How will a bot recognize that type ? We cannot specify every types in every languages in the specification. That's why i think something like this would be better : Travail : <span class="telwork">0321596224</span>
Please, use class and id attributes ONLY for micro formats specifications ! XML #cdata and #data are localized ! Thanks !
Suggestions for New Properties
Gender
- There is no Card property for gender. A workaround: add the tag/category "male", "female", etc. See also earlier discussion and genealogy-brainstorming#Gender.
- -1 Tantek: I think tags/categories are good enough for now.
- +1 Andy Mabbett:Tags are often not appropriate, as per the cited discussion.
Gender evidence
- social network sites (see profile-examples) typically publish the gender of the individual. Note that most social network sites force an arbitrary binary male/female choice upon the user which does not reflect the identity of non-trivial numbers of individuals (though the 80/20 rule almost certainly applies). See:
- Because gender isn't binary
- Social networking sites & gender identity
- Pownce settings page (login required) is the exception from most social network sites, as it allows for numerous choices (similar to a taxonomy of keywords) like: Guy Girl Dude Chicky-poo Bloke Bird Lady Gentleman Male Female Transgender and of course "None of the Above".
- Many pages publish implicit gender information, not easily machine parsable - using names (Andrew, Andrea), titles (Mr, Mrs, Miss), relationships (husband, brother), pronouns (he, she), etc. See also genealogy-brainstorming
Deceased
- There is no way to mark up a person as being deceased - either by a "deceased" flag or date-of-death. A workaround: add the tag/category "deceased". See also mailing list post on tagging for 'deceased'
- -1 Tantek: I think tags/categories are good enough for now.
- +1 Andy Mabbett: Tags are often not appropriate, as per the cited e-mail. DoD is more specific (and often used in real life biographies and obituaries e.g van Gogh on Wikipedia). Note also Wikipedia's Persondata which aligns very closely with hCard, but has additional date and place of birth & death fields. Andy Mabbett 13:06, 28 Jan 2007 (PST)
- +1 for date-of-death Ciaran McNulty: Date-of-death is useful information in some applications (specifically genealogy).
- -1 for 'deceased' flag Ciaran McNulty: Tagging can cover this sort of binary flag.
Date of Death evidence
- All 56,000+ entries in the Oxford Dictionary of National Biography
- Most Wikipedia biographies of dead people (most of those on Wikipedia-EN already use hCard):
- Used on cemetery records:
- Used in obituaries:
- Used on war memorial pages:
- Used in biographies:
- Used in artist attributions:
- List of saints on Wikipedia
Instant Messaging
- See RFC 4770.
Subject differentiator
The use of "fn" and "fn org" differentiate between hCards for people and for other entities, but we perhaps need some further differentiator, between, say, organisations and venues (including buildings, governmental divisions, waypoints, etc.) at a level of granularity to be determined. Andy Mabbett 14:30, 11 Jul 2007 (PDT)
Elevation
Suggestions for handling encodings
The vCard standard specifies that US-ASCII is assumed to be the encoding in the absence of a MIME content type header or a CHARSET parameter that indicates otherwise. This was an unfortunate choice. vCard .vcf files stored on a local filesystem do not contain a MIME header and the only way to reliably use an encoding other than ASCII is to tag each field with the "CHARSET=" label. This makes the vCard stream more complicated than necessary. This could be simplified by a revision of the standard that specifies UTF-8 as the default encoding. This could work safely with existing vCard .vcf files, which do not contain a MIME content header. The first vCard VERSION field would be the same encoded as either ASCII or UTF-8, so readers could easily determine which encoding to default to.
Furthermore, those creating vCard readers should be encouraged to support vCard .vcf files that begin with a UTF-8 BOM sequence. If the first three bytes of the file are 0xEF 0xBB 0xBF, the text file is UTF-8 encoded, and the vCard reader should assume UTF-8 is the default. Unfortunately many readers today fail to recognize the UTF-8 BOM and view the file as a corrupt vCard.
Suggestions made elsewhere
WebDAV
vCard Extensions to WebDAV (CardDAV)
defines extensions to the Web Distributed Authoring and Versioning (WebDAV) protocol to specify a standard way of accessing, managing, and sharing contact information based on the vCard format. This document defines the "addressbook-access" feature of CardDAV.
Note
On 2006-11-24, Paul Hoffman of the Internet Mail Consortium, responsible for the development and promotion the vCard standard, wrote in response to an e-mail from Andy Mabbett informing him of this web page:
There has been almost no interest in revising the vCard standard. This is due to lack of momentum, not the lack of good suggestions.
However, see events/2007-09-18-calconnect-vcard-workshop for an event with vCard modification on the agenda.
See Also
- vCard errata
- vcard-implementations
- hCard
- hcard-brainstorming#Post_vCard_additions
- vCard mailing list - a place to raise these issues, and where similar issues can be found.
- events/2007-09-18-calconnect-vcard-workshop