From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?ISO-8859-1?Q?R=FCdiger?= Sonderfeld Subject: Re: Converting org-mode/org-contacts to VCard (importing to Android) Date: Sat, 23 Nov 2013 01:00:56 +0100 Message-ID: <81482742.cUeHUGJmrV@descartes> References: <2013-11-22T17-28-29@devnull.Karl-Voit.at> <3414130.xOGDSAomuL@descartes> <2013-11-22T17-57-08@devnull.Karl-Voit.at> Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:39031) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vk0ez-0001h9-V8 for emacs-orgmode@gnu.org; Fri, 22 Nov 2013 19:01:25 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Vk0es-0004Vw-Ks for emacs-orgmode@gnu.org; Fri, 22 Nov 2013 19:01:17 -0500 Received: from ptmx.org ([178.63.28.110]:46033) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vk0es-0004Vi-F0 for emacs-orgmode@gnu.org; Fri, 22 Nov 2013 19:01:10 -0500 In-Reply-To: <2013-11-22T17-57-08@devnull.Karl-Voit.at> 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, news1142@karl-voit.at On Friday 22 November 2013 18:09:42 Karl Voit wrote: > I have to admit that I don't know the feature-set of the Org-mode > export. I would be very surprised, if the Org-mode export method is > able to follow my custom "photo:" link I am using, grab the image > file, test if it has a image format that works with VCard > 2.1 on Android, and encodes it in base64 accordingly. Org-contacts has an :ICON: property and supports Gravatar. It doesn't = seem to=20 be handled in the VCard export though. =20 > You see: I want to have ways to tweak the export process. And as > long as I don't know ELISP that well, I stick to the tools I know. I understand that and it solved your problem for now. But having an ex= ternal=20 tool in a different programming language is usually not a good idea to = solve=20 the problem in the long run. The code base of org-contacts and your to= ol is=20 under the risk of diverting quickly. If it's in org-contacts then it i= s=20 maintained in one piece and easily accessible to other users. So my point is you should take a look at elisp. It's a lot of fun to u= se and=20 if you are using org-mode and Emacs then you will have to learn it soon= er or=20 later. > A side remark of mine: a couple of months ago I tried to find out > how to store address information, phone numbers, and so on in > org-contact properties. AFAIR I could not find anything except the >=20 > :EMAIL: property. Is there a standard out there that answers >=20 > questions like "separate street from house number?", "how to cope > with multiple addresses for one contact?", and so forth? I created > something on my own as you can see on [1]. I have to admit the org-contacts format is pretty much ad-hoc and not r= eally=20 well designed. It is documented a bit in the file itself=20 (contrib/lisp/contacts.el). M-x customize-group RET org-contacts RET s= hould=20 also tell you more about the options. Your format choice is not fully compatible with the existing org-contac= ts. =20 Right now multiple entries are separated by space (which sadly breaks f= or=20 addresses) and different entry names are used. However I'd look forward to some new ideas and improvements. Right now= it's=20 not ideal solution. Regards, R=C3=BCdiger