Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add some informations #2

Open
bepolymathe opened this issue Oct 28, 2020 · 3 comments
Open

Add some informations #2

bepolymathe opened this issue Oct 28, 2020 · 3 comments
Assignees

Comments

@bepolymathe
Copy link

Hi,

I'm not comfortable with python but I think it could be interesting that the export allowed by this script integrates :

  • a "note" entry from :Note: in the org file.
  • a complete address as mentioned in the description (separation of street, zip code and city).

Currently, an entry like this :

image

Gives an export like this:

BEGIN:VCARD
VERSION:4.0
FN:Paul Smith
TEL:1423567654
EMAIL:toto@titi.com
EMAIL:titi@toto.com
END:VCARD
@novoid
Copy link
Owner

novoid commented Oct 30, 2020

a complete address as mentioned in the description (separation of street, zip code and city).

May I ask what do you mean by that? Should the script concatenate the already existing values or do you like to have an :address: property which then gets processed for the output?

Maybe you want to give me an example Org snippet together with an example output that reflects the situation you want to have (instead of describing the current situation)? Thanks!

@novoid novoid self-assigned this Oct 30, 2020
@bepolymathe
Copy link
Author

bepolymathe commented Oct 30, 2020

Indeed, maybe I wasn't clear. I try to keep the detail in the .org file.
One line for :STREET:
One for :POSTALCODE:
etc

But I want the addresses to be concatenated in the output .vcf file so that it is readable by the phone. I understand that's what you're doing?

Also, I find the :NOTE: field very useful, and I would also like to find it in the .vcf file.

BEGIN:VCARD
VERSION:4.0
N:Name;Firstname;;;
ORG:Company
TITLE:Fonction
ADDRESS: 20 street of love 76543 Heaven
TEL;CELL:12096754323
TEL:123 678 45 67
NOTE:Meet this person in a plane
EMAIL: toto@titi.org
END:VCARD

@novoid
Copy link
Owner

novoid commented Oct 30, 2020

Just to make sure: there are other export functions from org-contacts to vcard what deal with as many information as possible. Did you try them as well?

My tool provides a minimum set of exported data on purpose since I try to keep my level of privacy as high as possible. Therefore, I only export a minimum set of data to my phone.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants