Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Specify phone type #24
Most of my contacts have multiple phone numbers. I need some way to keep straight which is which. Currently I'm adding them like this:
This works fine, but the vCard specification does include telephone types. As seen in the Wikipedia example:
It would be nice if ppl supported this. It could be achieved like this:
referenced this issue
Apr 13, 2013
I've been playing around with using ppl's vcards to build the contacts on my phone. Unfortunately, it doesn't work too well because I have a bunch of phone numbers like
added a commit
Apr 20, 2013
This is in
I mentioned RFC compliance earlier in this thread. In fact, I learned today that RFC 2426 is pretty strict about which values it considers valid in the TYPE field.
This came up because the gem I'm using for vCard encoding & decoding made me jump through some hoops to decode standard and non-standard values simultaneously.
The upshot of this is that ppl is perfectly happy to help you create vCards that aren't RFC-compliant. It seems that pretty much all address book software does this, though. Personally, I don't think it's worth worrying about, and I'm pretty much only even writing this as a means of going on record to say "I know this allows non-standard vCards to be created, and I don't mind".