Index of /ics2qtcal/v0.4
Name Last modified Size Description
Parent Directory 10-Feb-2013 19:28 -
changelog.txt 18-Nov-2010 17:44 1k
deleteqtcalappointme..> 18-Nov-2010 17:44 1k
ics2qtcal.pl 18-Nov-2010 17:44 15k
ics2qtcal.sh 18-Nov-2010 17:44 1k
install_dependencies.sh 18-Nov-2010 17:44 1k
remotesync4ics2openm..> 18-Nov-2010 17:44 1k
sync4ics2openmoko.sh 18-Nov-2010 17:44 1k
This program transfers the content of an ical file (.ics) into the calendar application of QtMoko
It currently does not have any user-interface, and is written with a mix of Perl and shell script.
I'm not an expert in those languages : the code can probably be improved (suggestions and help are welcome!)
It can run on a standard computer, or on the phone itself
In current version, it downloads one ore several .ics files through HTTP, and stores their content into the SQLite database (/home/root/Applications/Qtopia/qtopia_db.sqlite , replacing existing appointments).
It also creates the Note files for each appointment description, in the directory where they are expected : /home/root/Applications/Annotator/
Usage on QtMoko (tested on v26):
- Copy all the files in a directory of your phone
- Install the necessary Perl packages by running install_dependencies.sh on the phone
- Run the script sync4ics2openmoko.sh [-u user] [-p password] fileurl1 fileurl2 ...
The optional user/password is given to the HTTP server if it needs authentication
Example : sync4ics2openmoko.sh -u myuser -p mypassword https://myserver/mypath/myfile1 https://myserver/mypath/myfile2 https://myserver/mypath/myfile3
Usage on a standard computer (tested on Ubuntu 10.04) : same steps, except that you need to use remotesync4ics2openmoko.sh instead
ics2qtcal.pl is where the hard job is done. This script has several options and you can use it alone
sync4ics2openmoko.sh and remotesync4ics2openmoko.sh automate the operations described above. They are targeted on my own usage, but you can modify them if you wish.
Idea and guidelines taken from http://wiki.openmoko.org/wiki/PIM_Storage#Import.2FExport_of_Calendar_Data_for_PIM-Storage by Niebert.
Some code inspired or copied from http://cpansearch.perl.org/src/BSDZ/Tie-iCal-0.14/samples/outlooksync.pl .
The iCal RFC implementation (http://www.faqs.org/rfcs/rfc2445.html) is quite incomplete in this script, but it covers the most common options
Please send any suggestion/bug report to firstname.lastname@example.org
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, version 3 of the License.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.