← Back to team overview

wikipbx-dev team mailing list archive

Re: address book application

 

Yes, vCards use CRLF line terminators, UNIX uses just LF. The trick is
to switch to DOS line terminators for those two templates. In emacs this
can be done by entering C-x RET f dos RET . Test if it works now!

And as a bonus I've added CSV export. Perhapse we could add CSV import
as well, so that it would be possible to migrate all or some of your
contacts to another server.


On 05.11.2010 20:24, Riccardo Magliocchetti wrote:
> Il 05/11/2010 14:13, Stas Shtin ha scritto:
>> 8. Export templates should be stored in django templates (i.e.
>> contacts/templates/vcard_2_1.vcf). Unset entries should be skipped when
>> generating exported data to keep file size down.
>
> Do you mean to use it as standard django template or just store the
> skeleton vcf file there? I've tried the first method but does not work
> because of missing \r. See attached patch.
>




References