Hi Paul,

Paul Hoffman <nkui...@nkuitse.com> writes:

> On Sun, Nov 11, 2012 at 08:00:22AM +0100, Csányi Pál wrote:
>> I have installed Mutt 1.5.21 (2010-09-15) on my Ubuntu 12.10 system.
>> 
>> I'm using mutt aliases and Abook for storing addresses.
>> 
>> Previously I used Claws Mail so now I wish to import these addresses
>> from ClawsMail into Mutt's aliases or Abook.
>> 
>> In ClawsMail I can to export addresses into html pages or into LDIF
>> format. 
>> 
>> Is there a method to import these html or ldif files into mutt aliases
>> or abook addresses? 
>
> Yes -- both -- see abook(1):

Wrong, because the html input format isn't supported, see bellow

> | OPTIONS
> |        --convert [ --informat <inputformat>  ]  [  --infile
> |        <inputfile>  ]  [ --outformat <outputformat> ] [ --outfile
> |        <outputfile> ] 
> |           Converts <inputfile> in <inputformat> to <outputfile> in
> |        <outputformat> (defaults are abook, stdin, text and stdout). 
> | 
> |           The following inputformats are supported:
> |           - abook abook native format
> |           - ldif ldif / Netscape addressbook
> |           - mutt mutt alias
> |           - pine pine addressbook
> |           - csv comma separated values
> |           - palmcsv Palm comma separated values

but the html output format is supported:

The following outputformats are supported:
- abook abook native format
- ldif ldif / Netscape addressbook (.4ld)
- mutt mutt alias
- html html document
- pine pine addressbook
- gcrd GnomeCard (VCard) addressbook
- csv comma separated values
- palmcsv Palm comma separated values
- elm elm alias
- text plain text
- spruce Spruce address book
- wl Wanderlust address book
- bsdcal BSD calendar

I can export in the ClawsMail only to ldif or to html format.

-- 
Regards from Pal

Reply via email to