From: Karl Voit <devnull@Karl-Voit.at>
To: emacs-orgmode@gnu.org
Subject: Org-contacts standardization (was: org-contacts development)
Date: Sat, 24 May 2014 11:00:40 +0200 [thread overview]
Message-ID: <2014-05-24T10-50-46@devnull.Karl-Voit.at> (raw)
In-Reply-To: 8761kxnno5.fsf@gmail.com
Hi Alexis!
* Alexis <flexibeast@gmail.com> 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
next prev parent reply other threads:[~2014-05-24 9:01 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-05-23 4:07 org-contacts development Alexis
2014-05-23 9:06 ` Rasmus
2014-05-23 10:30 ` Alexander Baier
2014-05-24 4:02 ` Xebar Saram
2014-05-24 10:27 ` Alexis
2014-05-24 10:15 ` Alexis
2014-05-24 14:18 ` Alexander Baier
2014-05-24 14:55 ` Bastien
2014-05-24 15:05 ` Alexis
2014-05-24 15:43 ` Rasmus
2014-05-24 16:10 ` Alexis
2014-05-23 12:45 ` Bastien
2014-05-23 15:46 ` Rasmus
2014-05-24 10:04 ` Alexis
2014-05-24 12:17 ` Bastien
2014-05-24 14:07 ` Alexis
2014-05-24 9:00 ` Karl Voit [this message]
[not found] ` <878ups27km.fsf@gmx.us>
2014-05-24 9:59 ` Alexis
2014-05-24 16:51 ` Daimrod
2014-05-24 17:48 ` Alexis
2014-05-26 3:21 ` Daimrod
2014-05-26 4:06 ` Alexis
2014-05-26 15:20 ` Michael Strey
2014-05-27 9:27 ` Michael Strey
2014-05-29 3:19 ` Daimrod
2014-06-03 10:23 ` Michael Strey
2014-06-05 4:26 ` Daimrod
2014-07-23 13:40 ` Karl Voit
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=2014-05-24T10-50-46@devnull.Karl-Voit.at \
--to=devnull@karl-voit.at \
--cc=emacs-orgmode@gnu.org \
--cc=news1142@Karl-Voit.at \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).