Talk:vCard
![]() | This article is rated Start-class on Wikipedia's content assessment scale. It is of interest to the following WikiProjects: | ||||||||||||||||||||
|
import vcf
- Create a VCF writer object.
vcf_writer = vcf.VCFWriter(open('contacts.vcf', 'w'))
- Define a list of contact numbers.
contact_numbers = [
'+92 318 6118869', '+92 310 2209253', '+92 324 3085627', '+967 739 497 157', '+92 347 5991764', '+967 736 480 725', '+92 304 6627165', '+93 70 300 3235', '+92 302 1219438', '+92 346 1165428', '+91 98179 18687', '+92 317 2022393', '+92 342 3159024', '+92 318 1610209', '+92 303 5856786', '+92 317 8033842', '+92 328 7566291', '+92 314 1145806', '+92 305 6668710', '+92 304 7859994', '+92 305 5160073', '+92 319 7372374', '+92 340 0537074', '+92 319 0211407', '+92 302 7458506', '+92 348 3344183', '+92 348 3680212', '+92 346 3609408', '+92 346 9022628', '+92 300 4472800', '+92 333 7730855', '+351 936 680 129', '+92 313 2017120', '+92 326 1084160', '+92 309 6171728', '+92 306 6948592', '+92 317 1743672', '+92 318 5269418', '+92 312 2300586', '+92 341 5933223', '+233 25 787 0557', '+92 306 3762748', '+92 349 9696708', '+92 328 4490095', '+92 326 1985883', '+92 302 7342923', '+92 318 0908346', '+92 349 2902235', '+92 349 4988549', '+92 327 4293976', '+967 701 015 577', '+92 305 3183527', '+92 301 7303503', '+92 311 0765517', '+98 937 259 8347', '+92 348 1598786', '+92 326 1566298', '+92 300 7350971', '+92 304 1839885', '+92 305 6844100', '+92 314 4072688', '+92 327 0551536', '+212 609-020706', '+92 347 8094187', '+92 340 5495804', '+92 309 9719646', '+92 328 9868391', '+92 301 9631706', '+92 304 5213407', '+92 300 1878809', '+92 347 3778900', '+92 340 1527367', '+92 307 8007864', '+92 349 1450334', '+92 332 3697926', '+92 326 7607426', '+92 314 9627088', '+92 341 8873379', '+92 348 7642930', '+967 775 828 017', '+92 303 6506002', '+92 301 0164992', '+92 317 9616931', '+92 304 3586912', '+92 325 3554820', '+92 322 3217190', '+92 318 9475944', '+92 323 9731404', '+92 315 0580522', '+92 327 0428729', '+93 70 119 6320', '+92 319 6891232', '+92 342 6889791', '+92 313 6342303', '+92 335 4026153', '+92 341 3226720', '+92 300 0266588', '+92 306 4118189', '+92 300 6744965', '+92 328 6507223', '+92 332 2020481', '+92 311 9947413', '+92 301 2256203', '+92 327 2336602', '+92 312 0766299', '+92 341 5585978', '+92 303 5459800', '+92 348 8142486', '+92 317 0318708', '+92 343 3114984
.v card extension? source?
[edit]Hello! The information box specifies .vcf and ".v card" with a space as a file extension. Please link the source where this is actually done because it seems a bit odd. 188.230.129.18 (talk) 00:53, 27 October 2020 (UTC)
Request for enhancement: Multiple cellphone types
[edit]I have a request for enhancement to the editors of the vCard and similar standards:
I know many people who have two cellular phone numbers: one business and one private. Many nations have more active cellular phones than inhabitants.
It is not possible to express this in vCard: there is HOME and WORK for phone numbers but just CELL for both cases of cellular phone numbers. So please introduce two types of cellular phone numbers.
(I don't require any intellectual properties for this idea, just do it, please ;-)
Gerd Castan
- It's already part of the standard. There can be multiple 'type' parameters on a single 'type:value' statement, eg
tel;type=work,voice,msg:+1 313 747-4454
- or
tel;type=work,voice,msg,cell:+1 234 456-8901
- See RFC 2425, Section 8 Examples
- --Bob 22:51, 10 September 2006 (UTC)
.vcf, Virtual Card Format
[edit]Shouldn't we mention either in the " Redirected from .vcf " or in the vCard article that .vcf stands for Virtual Card Format ? —Preceding unsigned comment added by SvenAERTS (talk • contribs) 10:05, 21 November 2009 (UTC)
Device pairing?
[edit]What's that? No explanation or link in the text. 86.136.250.200 00:26, 20 January 2007 (UTC)
- Bluetooth#Pairing I just added the link. Good catch. Awg1010 (talk) 03:07, 31 May 2009 (UTC)
Name: Number: +60138080970 Content: BEGIN:VCARD VERSION:2.1 N;CHARSET=UTF-8;ENCODING=QUOTED-PRINTABLE:=E8=80=81=E5=A9=86=E5=A4=A7=E4=BA=BA TEL:0138080970 END:VCARD I removed the vCard examples. They are my parents. Who put this there? Why? Please don't revert. I think it is supremely improper to put private information of unknown people on wikipedia. —Preceding unsigned comment added by 24.84.24.141 (talk) 00:33, 27 November 2007 (UTC)
- I have emailed the Oversight administrators on your behalf and FloNight deleted all the personal information from the history log. So it is no longer available even if someone looks at the edit history. (As a side note, we should include an example VCard with fake information.) Ariel. (talk) 00:34, 16 January 2008 (UTC)
What vCard specification do the examples conform? The vCard 3.0 object MUST contain the FN, N and VERSION types [RFC 2426]. Some of these properties are also mandatory in vCard 2.1 ... but there may be another variant I'm not aware. (Rjgodoy 02:24, 22 February 2007 (UTC))
- In addition, version 3.0 specifies CELL as a value for TYPE (as a TEL parameter). I will make all the changes at once if no one thinks different (anyway, the current examples give a clue about what a vCard is...) —The preceding unsigned comment was added by Rjgodoy (talk • contribs) 05:21, 22 February 2007 (UTC).
Willem Vos from the example is a real person. — Preceding unsigned comment added by 146.107.217.91 (talk)
If you think the example should refer to a fictional person, I do not oppose the change. The following example could be used instead:
BEGIN:VCARD FN:Mr. John Q. Public\, Esq. N:Public;John;Quinlan;Mr.;Esq. VERSION:3.0 END:VCARD
(It is from the RFC itself)
Rjgodoy 04:10, 16 June 2007 (UTC)
vCards and wikiengine
[edit]What if wikiengine would be able to show vCards as html and make vCard reference link to entries that being showed. By pressing reference link contact information would then go into personal address book of "what ever is your organizer software". —The preceding unsigned comment was added by Sami Kerola (talk • contribs) 16:20, 17 March 2007 (UTC).
Programs
[edit]which programs besides outlook open vcard files? —Preceding unsigned comment added by 72.208.96.44 (talk) 19:54, 20 November 2007 (UTC)
- While by no means an exhaustive list, some programs that can open them are listed here at fileinfo.net. —lensovet–talk – 08:34, 17 February 2008 (UTC)
vCard Extensions
[edit]There have been a number of discussions in developer mailing lists about having a place to record vCard extensions that are in use - X- properties, so that reuse is possible. It might be better as a separate page. Dgc03052 (talk) 00:21, 15 May 2008 (UTC)
- Such record is part of the proposal for vCard 4.0 [1]. However, this mechanism is intended for properties in the VND- (vendor) namespace. On the other hand, names that begin with X- are reserved for experimental use and not intended for released products. Rjgodoy (talk) 03:11, 15 May 2008 (UTC)
Full vCard 2.1 and/or 3.0 examples
[edit]Hi, I think it would make sense to bring a full example of a 2.1 or 3.0 vCard. Meaning valid and with all standard and maybe one or two X-* properties. --85.127.103.67 (talk) 18:00, 30 August 2008 (UTC)
Definition
[edit]Hmmmm. I thought a "V-card" was something entirely different. Oh well. Jack Meihoffer (talk) 01:06, 25 January 2011 (UTC)
- Ha yeah... I was thinking the same thing... ONEder Boy (talk) 20:39, 21 September 2011 (UTC)
- Haha, wow, that's awkward. Someone had previously added a note saying that "V-card" has a different meaning, but I reverted their changes because I thought they were trolling. xD Mangst (talk) 01:45, 12 December 2012 (UTC)
vCard 1.0 and 2.0
[edit]Can we point to vCard 1.0 and 2.0 specifications? And, more important, where are they? I didn't manage to find one of these two on the Net. — Preceding unsigned comment added by Yevstifeyev (talk • contribs) 04:34, 17 September 2011 (UTC)
- There is no version 1.0 or 2.0. The only versions are 2.1, 3.0, and 4.0. Mangst (talk) 01:43, 12 December 2012 (UTC)
xCard removed or explained Please
[edit]I wanted to learn about the vCard standard and xCard is in here as though it's the latest in the progression of versions. Wanting to be cutting edge I started looking into it, but I found out that xCard is only a few months old, it's only a proposed standard (albeit maybe in the same way that HTML5 is still a draft), and I haven't really seen any evidence of people adopting it and using it. I'm usually decent at sniffing out documentation, but there isn't much beyond the IETF's proposal for the standard.
So, maybe it should be noted that xCard is new, or maybe it should get its own page? Brendinooo (talk) 18:48, 22 December 2011 (UTC)
xCard text tag
[edit]In the example given of a vCard, it has for example <fn><text>Forrest Gump</text></fn>
. I don't see any reference to this <text>
tag in the standard. Why is it there ? --Martvefun (talk) 21:05, 4 April 2012 (UTC)
- Never mind, I found this example --Martvefun (talk) 14:52, 7 April 2012 (UTC)
- In xCard, a property's value is usually enclosed within an XML element which defines the data type of the value (there are a few exceptions to this rule, like the N and ADR properties). Since the FN property accepts a free-form text value, its value is enclosed in a "<text>" element. Another example is the URL property, which encloses its value in a "<uri>" element. The idea is that parsers can look at these elements to better determine how to handle the data. Mangst (talk) 01:44, 12 December 2012 (UTC)
Check marks
[edit]Can we come up with a method other than green and blue check marks for the table? It's not easy to parse for the color blind. Thanks! Plastikspork ―Œ(talk) 01:42, 13 March 2014 (UTC)
Please change the checkmarks. Yellow, light green, green and dark green check marks are very difficult to distinguish for someone with reduced vision. Using unique shapes to indicate the values would be very helpful. — Preceding unsigned comment added by Graystrickland (talk • contribs) 01:52, 8 May 2015 (UTC)
- I've replaced them with letters, is this better to read? -- Evilninja (talk) 02:01, 8 May 2015 (UTC)
Detailed list of changes in an edit
[edit]I made the following changes to this edit:
- Made all vCard examples consistent so they store the same exact information. For example, the 3.0 example had a "Mr." prefix, but the 2.1 and 4.0 examples did not.
- Used consistent line folding.
- Quoted-printable folded lines should end with "=".
- Property values that are encoded in quoted-printable should have a CHARSET parameter to define the character set that the encoded string is in.
- Removed the parameters from the EMAIL property--they didn't really add anything important and just made things confusing IMO. Note that the PREF parameter is used to specify the preferred method of contact amongst the same contact type (e.g. if you have 2 email addresses), not amongst all contact types.
- Added a PREF parameter to the work ADR property to demonstrate the different ways the versions handle this (i.e. "TYPE=PREF" (2.1 and 3.0) vs "PREF=1" (4.0)).
- Used the 3.0 values of the TEL property in the hCard example because hCard adheres to version 3.0.
--Mangst (talk) 14:50, 22 June 2016 (UTC)
Examples of formats other than vCard
[edit]Why are there examples of xCard, jCard, and hCard on this page? These are separate file formats or adaptations of vCard for special purposes. They are not "the new version of" vCard, which is alive and well as is. hCard even has its own WP page.
You wouldn't have examples of GIF and JPEG formats on the PNG page; this is no different.
I propose moving these examples of alternative formats off the vCard page and onto their own pages (creating them if necessary) and making sure there are links between them. Doug Ewell (talk) 21:40, 22 October 2016 (UTC)
- Make sense but is not the case: all are "vCard variants" (and must to preserve vCard VERSION attribute). The article need some explanation about "usefull intermediary formats", because TXT data is not usefull... --Krauss (talk) 23:36, 7 January 2017 (UTC)
jCard is not first-class JSON, article need to show alternatives
[edit]jCard is not a standard, and have strong rejection because not enconde all information into "first-class JSON objects". Example:
- jCard format:
[["version", {}, "text", "4.0"],["fn", {}, "text", "Forrest Gump"]]
- First-class JSON format:
{"version":"4.0","fn":"Forrest Gump"}
To be encyclopedic, is interesting to show other "standards" for JSON vCard. --Krauss (talk) 23:32, 7 January 2017 (UTC)
Complete example
[edit]BEGIN:VCARD VERSION:3.0 FN:Forrest Gump ORG:Bubba Gump Shrimp Co. TITLE:Shrimp Man TEL;TYPE=WORK,VOICE:(111) 555-1212 ADR;TYPE=WORK,PREF:;;100 Waters Edge;Baytown;LA;30314;United States of America END:VCARD
This simplifyed algorithm produce first-class JSON:
{
"version": "3.0",
"fn": "Forrest Gump",
"org": "Bubba Gump Shrimp Co.",
"title": "Shrimp Man",
"tel": [
{
"meta": {"TYPE": "WORK"},
"value": ["(111) 555-1212"]
}
],
"adr": [
{
"meta": {"TYPE": "HOME"},
"value": ["","","42 Plantation St.","Baytown","LA","30314","United States of America"]
}
]
}
It seems to be still wrong - at vCard4.0
[edit]Acording to RFC6350,
The NAME, MAILER, LABEL, and CLASS properties are no more.
LABEL types is DEPRECATED in vCard4.0, So
At vCard4.0
ADR;TYPE=WORK,PREF:;;100 Waters Edge;Baytown;LA;30314;United States of Amer ica LABEL;TYPE=WORK,PREF:100 Waters Edge\nBaytown\, LA 30314\nUnited States of America ADR;TYPE=HOME:;;42 Plantation St.;Baytown;LA;30314;United States of America LABEL;TYPE=HOME:42 Plantation St.\nBaytown\, LA 30314\nUnited States of Ame rica
It should be like bellow:
ADR;TYPE=“WORK”;PREF=1;LABEL="Waters Edge\nBaytown, LA 30314\nUnited States of America”:;;100 Waters Edge;Baytown;LA;30314;United States of Amer ica ADR;TYPE=HOME;LABEL="42 Plantation St.\nBaytown, LA 30314\nUnited States of America":;;42 Plantation St.;Baytown;LA;30314;United States of America
isn’t it? — Preceding unsigned comment added by 110.132.66.186 (talk • contribs) 06:24, January 16, 2017 (UTC)
RFCs are not "standards"
[edit]The article confuses the terms "RFC", which stands for "Request For Comment", with "standard". Some RFCs eventually evolve to become published standards by organizations such as IEEE, ISO, ANSI, etc., while others never progress beyond the RFC stage, so the two terms should be distinguished. As far as I can tell, vCard is not a standard in any of its versions to-date, just a series of RFCs. — Quicksilver (Hydrargyrum)T @ 17:12, 25 April 2019 (UTC)
Why does the page have a distinguish template for "Virginity"?
[edit]https://www.urbandictionary.com/define.php?term=V-Card says:
V-Card Term used to define one's virginity. All virgins have a "V-Card" until they "cash it in" for sex.
AndrewA (talk) 14:13, 13 September 2020 (UTC)
Restore massive deletion of long-standing useful content
[edit]On 29 April 2021, user "Smuckola" single-handedly deleted almost all the substantive content for this article with only the comment, "delete a mountain of wholesale unencyclopedic tome WP:RS WP:NOTMANUAL WP:NOTHOWTO WP:NOTDIR WP:ELNO WP:LINKFARM; as it stands, this article probably needs to be merged elsewhere."
I profoundly disagree with this change. It removed almost all technically interesting content and no longer serves to educate the reader about the various formats. This one user wiped away almost all of the years of work spent on this article. Perhaps it was a "principled" change, but it bordered on vandalism and was at odds with the actions of all previous maintainers of this article.
This stands in contrast to articles on JSON, XML, and RSS all of which have concrete examples.
- I agree that the examples were too lengthy, but I restored the properties table as it provides a good comparison between versions. A well crafted (small) example of the most recent vCard version (4) might be a useful addition, but I as I am unsure, I did not restore it. Nuretok (talk) 19:43, 30 September 2021 (UTC)
Terminology
[edit]Many articles on vcards, including this one, are incomprehensible because of terminology. The various versions of vcard rfc's certainly don't help with this. Early versions of rfc's speak of "contentlines", "properties", "parametes" and "values". Latter versions, rfc 6350, seem to redefine these terms. For example 6350 seems to say "BEGIN:VCARD" is not a "contentline" consisting of the "property" BEGIN and "value" VCARD, As previously described in ABNF but is a unique token. Perhaps the terminolgy can be clarified here. 2601:18A:180:A5D0:3DB8:FF05:3A5D:4FD2 (talk) 02:50, 11 March 2022 (UTC)
This article is "generally notable"
[edit]I have to profoundly disagree with the assertion in "This article has multiple issues" that "The topic of this article may not meet Wikipedia's general notability guideline". It is just the sort of reference that Wikipedia should include.
Can someone with the knowledge to do so please remove that? BMJ-pdx (talk) 19:03, 21 June 2022 (UTC)
- I agree that this article meets the notability guideline, also considering that the page has been updated to include more general non-technical information since that issue was raised in April 2021, and your call has remained uncontested for two months. I have removed the template from the page. If anyone disagrees, please reply here so we can discuss this further to see what needs to be done concretely to fix issues on this page (and please also leave a message on my personal talk page, otherwise I might not get a notification. Thank you!) FWDekker (talk) 12:58, 18 August 2022 (UTC)
Photo URLs are problematic
[edit]If you have a VCard embedded in a QR code (eg for a business card), then one might want a photo, but to include the URL rather than the base64-encoded image, so as to keep the QR code itself small. The Android contacts app will not import this photo into contacts - presumably because loading an external URL is considered untrusted? Can someone give a definitive explanation here, and add it to the article? Thanks.
BDAY syntax
[edit]Following reference https://datatracker.ietf.org/doc/html/rfc2426#section-3.1.5 the correct syntax for BDAY is of the form BDAY:1996-04-15 Ismael F. F. dos Santos (talk) 00:40, 2 May 2023 (UTC)
Boss
[edit]Bat hindi ma log in acc ko ok naman ang password ko Nirejohn123 po ang pangalan 2001:4454:406:3E00:2D57:7697:869A:6A7E (talk) 16:48, 22 June 2023 (UTC)
- Na hack bayan 2001:4454:406:3E00:2D57:7697:869A:6A7E (talk) 16:49, 22 June 2023 (UTC)
Contact
[edit]import vcf
- Create a VCF writer object.
vcf_writer = vcf.VCFWriter(open('contacts.vcf', 'w'))
- Define a list of contact numbers.
contact_numbers = [
'+92 318 6118869', '+92 310 2209253', '+92 324 3085627', '+967 739 497 157', '+92 347 5991764', '+967 736 480 725', '+92 304 6627165', '+93 70 300 3235', '+92 302 1219438', '+92 346 1165428', '+91 98179 18687', '+92 317 2022393', '+92 342 3159024', '+92 318 1610209', '+92 303 5856786', '+92 317 8033842', '+92 328 7566291', '+92 314 1145806', '+92 305 6668710', '+92 304 7859994', '+92 305 5160073', '+92 319 7372374', '+92 340 0537074', '+92 319 0211407', '+92 302 7458506', '+92 348 3344183', '+92 348 3680212', '+92 346 3609408', '+92 346 9022628', '+92 300 4472800', '+92 333 7730855', '+351 936 680 129', '+92 313 2017120', '+92 326 1084160', '+92 309 6171728', '+92 306 6948592', '+92 317 1743672', '+92 318 5269418', '+92 312 2300586', '+92 341 5933223', '+233 25 787 0557', '+92 306 3762748', '+92 349 9696708', '+92 328 4490095', '+92 326 1985883', '+92 302 7342923', '+92 318 0908346', '+92 349 2902235', '+92 349 4988549', '+92 327 4293976', '+967 701 015 577', '+92 305 3183527', '+92 301 7303503', '+92 311 0765517', '+98 937 259 8347', '+92 348 1598786', '+92 326 1566298', '+92 300 7350971', '+92 304 1839885', '+92 305 6844100', '+92 314 4072688', '+92 327 0551536', '+212 609-020706', '+92 347 8094187', '+92 340 5495804', '+92 309 9719646', '+92 328 9868391', '+92 301 9631706', '+92 304 5213407', '+92 300 1878809', '+92 347 3778900', '+92 340 1527367', '+92 307 8007864', '+92 349 1450334', '+92 332 3697926', '+92 326 7607426', '+92 314 9627088', '+92 341 8873379', '+92 348 7642930', '+967 775 828 017', '+92 303 6506002', '+92 301 0164992', '+92 317 9616931', '+92 304 3586912', '+92 325 3554820', '+92 322 3217190', '+92 318 9475944', '+92 323 9731404', '+92 315 0580522', '+92 327 0428729', '+93 70 119 6320', '+92 319 6891232', '+92 342 6889791', '+92 313 6342303', '+92 335 4026153', '+92 341 3226720', '+92 300 0266588', '+92 306 4118189', '+92 300 6744965', '+92 328 6507223', '+92 332 2020481', '+92 311 9947413', '+92 301 2256203', '+92 327 2336602', '+92 312 0766299', '+92 341 5585978', '+92 303 5459800', '+92 348 8142486', '+92 317 0318708', '+92 343 3114984 37.111.172.46 (talk) 03:25, 6 August 2024 (UTC)