## Time-stamp: <2013-11-25 17:03:41 vk> ## -*- coding: utf-8 -*- ## This file is best viewed with GNU Emacs Org-mode: http://orgmode.org/
- target group: users of Org-mode org-contacts who want to get their
contact information to Android 4.4 (only) including:
- First name
- Last name
- email addresses
- phone numbers
- user images
- Note: the way contact images are referred to is personalized for me (see below). Therefore, you have to adopt either the script to your needs or you adopt my image method to your Org-mode :-)
My org-contacts-template is more elaborated than the one in org-contacts.el. For example, I am using three separated properties for addresses (CITY, POSTALCODE, STREET) instead of one. If you are using different properties for certain entries, you might want to customize in your set-up.
As an example, here are my customizations:
(require 'org-contacts) (custom-set-variables '(org-contacts-files "~/share/all/org-mode/contacts.org") '(org-contacts-address-property "CITY") '(org-contacts-birthday-property "BORN") '(org-contacts-icon-property "PHOTOGRAPH") )
You can have a look on my current Emacs configuration on github.
Please take a look at the example org-contact file testdata/testcontacts.org
The file example_invocation.sh gives you some impression on how to invoke this script.
In testdata/testcontacts.org you will notice contact photographs are included like this:
(setq org-link-abbrev-alist '( [...] ("photo" . "file:~/people/all_photographs/%s") [...] ))
As you can see, I linked it to files in the folder
If you use a similar definition, you are able to use my script without changes.
I am looking for your ideas:
If you want to contribute to this cool project, please fork and contribute!