[sylpheed:31434] Address book export to CSV script - sylxml2csv.pl

Celejar celejar at gmail.com
Fri Jun 15 05:15:13 JST 2007


I missed not having the ability to export my Sylpheed address books.  I
see this is a commonly requested feature [0], and it's on the Sylpheed
TODO list [1]. In the meantime, I've written sylxml2csv, a little Perl
script to do the job. It requires the XML::Parser [2] and Text::CSV_XS
[3] Perl modules.  sylxml2csv reads a sylpheed xml address book from
standard input and prints a CSV version to standard output (e.g.
'sylxml2csv < abook.xml > abook.csv').  I'm releasing it under the Perl
Artistic License [4];  it's attached to this message. Enjoy, and
provide feedback!

[0] http://www.sraoss.jp/pipermail/sylpheed/2007-February/000858.html , http://www.sraoss.jp/pipermail/sylpheed/2007-May/001296.html
[1] http://sylpheed.sraoss.jp/en/todo.html
[2] http://search.cpan.org/~msergeant/XML-Parser/Parser.pm
[3] http://search.cpan.org/~jwied/Text-CSV_XS-0.23/CSV_XS.pm
[4] http://search.cpan.org/~nwclark/perl-5.8.8/pod/perlartistic.pod

mailmin.sourceforge.net - remote access via secure (OpenPGP) email
ssuds.sourceforge.net - A Simple Sudoku Solver and Generator

-------------- next part --------------
A non-text attachment was scrubbed...
Name: sylxml2csv.pl
Type: text/x-perl
Size: 817 bytes
Desc: not available
Url : http://www.sraoss.jp/pipermail/sylpheed/attachments/20070614/c30105a3/attachment.bin 

More information about the Sylpheed mailing list