We have moved to a new Sailfish OS Forum. Please start new discussions there.
2

Sailfish contacts file format?

asked 2018-10-16 05:18:48 +0300

depscribe gravatar image

updated 2018-10-16 13:59:19 +0300

jiit gravatar image

I have a lot of contacts in a database that I'd like to export to my phone running Sailfish X. What I can't figure out is a format that the Sailfish People application can import. I see that in the settings it's possible to import from a "Contacts File," but I don't know a format that it can import. Ideally, for my purposes, it would be a plain text file because I can easily create one of those.

Does anyone here know the structure of a contacts file that SFOS can import?

Thanks.

edit retag flag offensive close delete

Comments

2 Answers

Sort by » oldest newest most voted
3

answered 2018-10-16 06:07:35 +0300

wrm gravatar image

I first exported and then imported to other Sailfish phone as .vcf. Dont know if other formats are supported.

edit flag offensive delete publish link more

Comments

So there is no flat database the People app can import? I didn't mark this as answered because it doesn't answer my question, though thanks. So I've unchecked the checkmark because I don't accept the answer.

depscribe ( 2018-10-16 18:06:15 +0300 )edit

What do you mean by "flat" database? .vcf is your contacts file, that holds all your numbers etc. when exported. Just import one file and you're done.

wrm ( 2018-10-16 21:52:35 +0300 )edit
1

A flat database is, for instance, a comma-delimited database or any other database that isn't a relational database. I'm glad you like vcard files, but I wasn't asking about those. Instead, I was hoping to find what file formats and data structures are supported by the SFOS Settings > Apps > People > "Start import wizard" or "From contact file" configurators.

depscribe ( 2018-10-16 23:22:17 +0300 )edit
3

But vcf file is flat database - it's just a quite simple text file in vCard format. And vCard is standard plain text-based format for contact details. Also, there's no really a reason why would People app support some other/random csv file format when it already supports open standard.

igor ( 2018-10-19 00:01:39 +0300 )edit

BTW is there a way to export all contacts from my SFOS device into a .vcf file?

EDIT: I recall that I did this via backup, resulting in a fil named "all.vcf", so in way my questions is mood.

AkiBerlin ( 2018-10-30 18:07:24 +0300 )edit
1

answered 2018-10-30 13:33:44 +0300

deloptes gravatar image

Please have a look at rfc6350 which describes the latest version of the vCard format.

And BTW nagging around for something that is not standard is useless.

edit flag offensive delete publish link more

Comments

I'm not nagging around, I'm asking a question. For instance, in the Trinity Desktop Environment for Linux there is an application called KAddressBook, which does offer a couple of VCard imports, but also some other standards, such as comma-separated values, Eudora, LDIF, and the Operas addressbook format. Because there is a place in SFOS to import from a contacts file, I was seeking to find out what formats were supported by the import function, in that there are several non-VCard addressbook standards. As it happens, I gave up and entered them all manually, so the question, though not answered -- does the import wizard import anything other than VCard? -- is now moot as far as my use is concerned.

depscribe ( 2018-10-30 17:15:44 +0300 )edit
1

Hi, my second part regarding the "nagging" was related to the fact that you received a fair answer, but continue to explain that you mean csv etc. As far as I am aware (though not an expert in Sailfish) it does not work

Honestly I'm glad that even this is available as this stuff was crippled, because in the meantime everyone went crazy with Cal and CardDAV and the online sync with NSA, Google & Co.

deloptes ( 2018-10-30 19:15:59 +0300 )edit

I don't wish to draw this out. I'm glad that you saw an answer that satisfied you. I did not, because I did not receive one that answered my question. Had someone said, "The one and only file format supported is VCard," while I would have been sad I would have had the answer. Instead, what was said was "I first exported and then imported to other Sailfish phone as .vcf. Dont know if other formats are supported." I was hoping to learn whether other formats were supported. While "I don't know" is indeed a reply, it is not an answer.

depscribe ( 2018-10-30 21:08:51 +0300 )edit
Login/Signup to Answer

Question tools

Follow
3 followers

Stats

Asked: 2018-10-16 05:18:48 +0300

Seen: 1,037 times

Last updated: Oct 31 '18