From mboxrd@z Thu Jan 1 00:00:00 1970 From: Karl Voit Subject: Converting org-mode/org-contacts to VCard (importing to Android) Date: Fri, 22 Nov 2013 17:37:01 +0100 Message-ID: <2013-11-22T17-28-29@devnull.Karl-Voit.at> Reply-To: news1142@Karl-Voit.at Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:41608) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vjtjt-00065Q-G0 for emacs-orgmode@gnu.org; Fri, 22 Nov 2013 11:38:31 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VjtjF-0007PW-5Z for emacs-orgmode@gnu.org; Fri, 22 Nov 2013 11:37:53 -0500 Received: from plane.gmane.org ([80.91.229.3]:42685) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VjtjE-0007PJ-VN for emacs-orgmode@gnu.org; Fri, 22 Nov 2013 11:37:13 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1VjtjD-0004Ul-MP for emacs-orgmode@gnu.org; Fri, 22 Nov 2013 17:37:11 +0100 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 ; Fri, 22 Nov 2013 17:37:11 +0100 Received: from news1142 by mail.michael-prokop.at with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 22 Nov 2013 17:37:11 +0100 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! I wrote a Python script that parses an Org-mode file in order to generate a VCard 2.1 compatible output file I am using to import to my Android 4.4 device: https://github.com/novoid/org-contacts2vcard The reason I wrote it in Python is that I don't know ELISP well enough. The reason I wrote the script instead of using existing export methods: I only want to export a small sub-set (names, phone numbers, email addresses, contact image) due to privacy reasons. So far, it is a one-direction approach and no synchronization solution. By the way: does somebody know of any somewhat intelligent tool that is able to compare two different VCard files? The main issue here is the fact that VCard order and property order within a single VCard can be different but the VCard file could still contain the same information. So line-by-line comparisons like diff do not work here. -- 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