emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Titus von der Malsburg <malsburg@posteo.de>
To: emacs-orgmode@gnu.org
Subject: Basic vcard-to-org-contacts converter
Date: Mon, 24 Mar 2014 19:25:01 +0000	[thread overview]
Message-ID: <8761n39z76.fsf@posteo.de> (raw)


Hi list!

I decided to give org-contacts a try.  Since there doesn't seem to be a
facility for importing contacts in vcard format, I wrote a little Python
script for that.  Perhaps someone on this list finds it useful.

  https://gist.github.com/tmalsburg/9747104

The script uses the Python package vobject for parsing vcard files.  On
Debian-like systems this package is available as python-vobject.  I
tested the script with contacts exported from Apple's iCloud service and
that worked well.  However, the vcard format is somewhat messy and I
don't know what happens with vcard files generated in other contact
managers.  Use at your own risk.

If there's interest, I might migrate the script to a proper Github
repository and develop it further, i.e., merge your pull-requests ;-)

  Titus

             reply	other threads:[~2014-03-24 19:25 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-24 19:25 Titus von der Malsburg [this message]
2014-03-25  0:07 ` Basic vcard-to-org-contacts converter Feng Shu
2014-03-25  0:52   ` Ken Mankoff

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=8761n39z76.fsf@posteo.de \
    --to=malsburg@posteo.de \
    --cc=emacs-orgmode@gnu.org \
    /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).