Lambda on the Move

A (non-)personal blog about programming, Symbian, and little else.
newest · all · tags · dates · titles · feedRSS feed · author

older · newer

Another PIM Data Exporter

My little SMS Exporter utility app has probably been downloaded quite a few times by virtue of it having been available for many years. Now it's time to introduce another PIM data exporter application: Anyxporter. This new application is capable of exporting contact data, and supports both MeeGo Harmattan and (some versions of) Symbian.

One of the shortcomings of SMS Exporter is that its export data format is not as machine readable as it could be. This has been fixed in Anyxporter, which exports as XML by default, and also allows for customization of the export format.

A different export format can be defined in Lua. This must be done in a single Lua file that defines the globals preamble_string, postamble_string, and entry_to_string; see the default export format definition for an example.

The user interface is even more primitive than that of SMS Exporter:

The implementation is fairly inefficient, so expect the program to take some time to run if you have more than a few contacts.

The XML output is not particularly readable. It is not nicely formatted, nor are the entries sorted (by name, or anything else) by the application. To make the output more pleasant to read, you'd probably want to sort and pretty print the output text using a separate tool. Basic postprocessing should not take much effort to implement; XML processing libraries at least are widely available. In addition to being more pleasant to read, normalized, text-based, line-oriented data is also amenable to tracking changes using common version-control tools such as Git.

A post-processing script written in Racket, for instance, might be something like the following:

Both Harmattan and Symbian installers for Anyxporter version 0.01 are available for download on GitHub. For the software to run you require compatible versions of both Qt and Qt Mobility libraries; I don't know exactly which versions are compatible, but at least Qt 4.7.4 and Qt Mobility 1.2.1 would appear to be fine.

Written on Thursday, 22 August 2013, 16:16:20 UTC by Tero Hasu.
You may send comments by e-mail.
Tagged as Anyxporter, BLDL, contacts, Harmattan, Lua, PIM, Qt, Racket, S60, SMS Exporter, software, Symbian, XML.
Related posts: Nokia's Products Are Error (Message) Free, SMS Exporter v1.10 Released, SMS Exporter v1.09 Released.