Permalink
697476c Mar 23, 2014
@awieser @geekinthesticks @novoid
39 lines (28 sloc) 1.83 KB

## Time-stamp: <2014-03-23 17:12:08 vk> ## This file is best viewed with GNU Emacs Org-mode: http://orgmode.org/

memacs-sms

Current status

Done, if you find any errors do not hesitate to contact us.

Data Source

This memacs module will parse SMS - XML Backups. You make SMS Backups using SMS Backup and Restore .

example sms xml backup file:

<?xml version='1.0' encoding='UTF-8' standalone='yes' ?>
<smses count="4">
<sms protocol="0" address="+436812314123" date="1312452353000" type="1" subject="null" body="did you see the new sms memacs module?" toa="145" sc_toa="0" service_center="+436990008999" read="1" status="-1" locked="0" />
<sms protocol="0" address="+43612341234" date="1312473895759" type="2" subject="null" body="Memacs FTW!" toa="0" sc_toa="0" service_center="null" read="1" status="-1" locked="0" />
<sms protocol="0" address="+43612341238" date="1312489550928" type="2" subject="null" body="i like memacs" toa="0" sc_toa="0" service_center="null" read="1" status="-1" locked="0" />
"<sms protocol="0" address="+4312341234" date="1312569121554" type="2" subject="null" body="http://google.at" toa="0" sc_toa="0" service_center="null" read="1" status="-1" locked="0" />
</smses>

Example Invocation

/path/to/Memacs/bin/memacs_sms.py -f /path/to/sms-xml-file.xml -o /home/user/orgmode/memacs/sms-foo.org_archive

For more options see the help page (<memacs_sms.py -h>)

Example Orgmode entries

** <2011-08-04 Thu 10:05:53> SMS from +436812314123: did you see the new sms memacs module?
   :PROPERTIES:
   :ID:         da39a3ee5e6b4b0d3255bfef95601890afd80709
   :END:
** <2011-08-04 Thu 16:04:55> SMS to +43612341234: Memacs FTW!
   :PROPERTIES:
   :ID:         da39a3ee5e6b4b0d3255bfef95601890afd80709
   :END: