From mboxrd@z Thu Jan 1 00:00:00 1970 From: Karl Voit Subject: Org-contacts standardization (was: org-contacts development) Date: Sat, 24 May 2014 11:00:40 +0200 Message-ID: <2014-05-24T10-50-46@devnull.Karl-Voit.at> References: <8761kxnno5.fsf@gmail.com> Reply-To: Karl Voit Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:42383) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wo7p8-0000og-Po for emacs-orgmode@gnu.org; Sat, 24 May 2014 05:01:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Wo7p3-0000ff-UY for emacs-orgmode@gnu.org; Sat, 24 May 2014 05:01:02 -0400 Received: from plane.gmane.org ([80.91.229.3]:46156) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wo7p3-0000fY-Nr for emacs-orgmode@gnu.org; Sat, 24 May 2014 05:00:57 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Wo7p0-0003E5-5K for emacs-orgmode@gnu.org; Sat, 24 May 2014 11:00:54 +0200 Received: from mail.michael-prokop.at ([88.198.6.110]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 24 May 2014 11:00:54 +0200 Received: from news1142 by mail.michael-prokop.at with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 24 May 2014 11:00:54 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Hi Alexis! * Alexis wrote: > > Hi all, > > i use org-contacts as my primary system for contact > management. Consequently, i'd love to be able to make use of my > org-contacts data on my Android phone. Agreed! > What would be useful would be an 'official', fleshed-out spec for > org-contacts data, which handles a greater range of contact-related > info. At the moment, for example, my org-contacts file makes use of the > properties: > > #+PROPERTY: LANDLINE > #+PROPERTY: MOBILE > #+PROPERTY: POST > #+PROPERTY: RESIDENCE > > A search of this list's archives for references to 'org-contacts': > > https://lists.gnu.org/archive/cgi-bin/namazu.cgi?query=org-contacts&submit=Search!&idxname=emacs-orgmode&max=20&result=normal&sort=date%3Alate > > suggests that org-contacts is something people are using heavily enough > that they're writing code, ad-hoc, to provide functionality they > require, e.g. > > http://lists.gnu.org/archive/html/emacs-orgmode/2013-11/msg00869.html And I also posted a suggestion how to name properties: https://lists.gnu.org/archive/html/emacs-orgmode/2011-10/msg00144.html ... which was meanwhile extended by me to: ,----[ my current yasnippet template for contacts ] | # name : Org-contacts template for a person | # -- | ** $1 $2 :$1$2: | :PROPERTIES: | :TYPE: ${3:$$(yas/choose-value '("person" "company"))} | :TITLE: | :EMAIL: $4 | :URL: | :MOBILE: 0043/ | :HOMEPHONE: | :WORKPHONE: | :PHONE: | :COMPANY: | :STREET: | :POSTALCODE: | :CITY: | :COUNTRY: Österreich | :PHOTOGRAPH: [[photo:$1$2.jpg]] | :BORN: | :ITOLDTHEM_EMAIL: | :ITOLDTHEM_ADDRESS: | :ITOLDTHEM_PHONE: | :ADDRESS_CHANGE_METHOD: | :END: | | - first contact: $0 `---- I invested quite some time to come up with this approach. For example, I am generating my procmail filter by scanning all :EMAIL: entries and :ITOLDTHEM_EMAIL: (whitelisting). With [1] I convert my contacts.org to the VCard format for Android 4.4. I did this using Python because I wanted full control to filter out (most) data and also to provide a sanity check on all entries (mistyped email address format, mistyped property names, ...). However, I currently do have an issue here where only few items do not get imported on Android. I did not have time to nail down the issue any further yet since there was no obvious common pattern to identify missing contacts and Android does not throw any error at all. > i'm wondering if it might now be appropriate for org-contacts to become > part of org-mode proper, rather than simply a contrib, to reduce > unnecessary duplication of efforts. i suspect that, at the moment, a > number of people interested in making use of org-contacts might be > reluctant to do so (or do so more heavily) because it's not an > 'official' part of org-mode. Yet contacts management seems to me to be > functionality well within org-mode's remit. In my opinion, the most important first step would be to standardize all important property names or enhance any kind of mapping scheme. 1. https://github.com/novoid/org-contacts2vcard -- mail|git|SVN|photos|postings|SMS|phonecalls|RSS|CSV|XML to Org-mode: > get Memacs from https://github.com/novoid/Memacs < https://github.com/novoid/extract_pdf_annotations_to_orgmode + more on github