Re: qtmoko calendar

2013-02-19 Thread Adrien Dorsaz
Hi Robin,

Le lundi 11 février 2013 à 11:44 +, robin a écrit :
 Hi Adrien,
 
 thanks for this very handy tool. It works almost perfectly with my ics 
 calender
 I export from orgmode. there is just one minor thing: it fails if I have a 
 date
 on -07-31 which as far as I checked my calendar does actually exist:
 
 for the error I found the following bug [1] on the internet with the solution 
 to
 set the database datestyle like:
 
 ALTER DATABASE bugzilla SET datestyle = 'iso, dmy';
 
 is this also possible with the qtopia database?

I don't know exactly what does alter database sql request and I'd
prefer to not touch this database because it contains other informations
(like call history).

 
 
 this is the output I get 
 
 Prepare the appointment recid=248
 description=Bruno Brezinas %d. Geburtstag
 startDate=1945-07-31T00:00:00
 startDateTimeZone=
 The 'day' parameter (0) to DateTime::set did not pass the 'an integer which 
 is a possible valid day of month' callback
  at /usr/lib/perl5/DateTime.pm line 1875
 DateTime::set(undef, 'day', 0) called at /usr/lib/perl5/DateTime.pm 
 line 1886
 DateTime::set_day('DateTime=HASH(0x8f2618)', 0) called at 
 ./ics2qtcal.pl line 107
 main::extractDateFromIcalLine('ARRAY(0xa00790)', 1) called at 
 ./ics2qtcal.pl line 260
 

Ok, I've tried to work on extractDateFromIcalLine function to remove
some assumptions made by the original author.

I'm not a perl expert, as you can see in my commits (I've made a lot of
commits because I use git to transfer my modifications on my phone), but
it worked better with my calendars.

Can you download latest version and try again with this calendar ?
https://github.com/Trim/qtmoko-ics2qtcal/raw/master/downloads/ics2qtcal-0.7.2.zip


Thanks,
Adrien



signature.asc
Description: This is a digitally signed message part
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: qtmoko calendar

2013-02-11 Thread robin
Hi Adrien,

thanks for this very handy tool. It works almost perfectly with my ics calender
I export from orgmode. there is just one minor thing: it fails if I have a date
on -07-31 which as far as I checked my calendar does actually exist:

for the error I found the following bug [1] on the internet with the solution to
set the database datestyle like:

ALTER DATABASE bugzilla SET datestyle = 'iso, dmy';

is this also possible with the qtopia database?


this is the output I get 

Prepare the appointment recid=248
description=Bruno Brezinas %d. Geburtstag
startDate=1945-07-31T00:00:00
startDateTimeZone=
The 'day' parameter (0) to DateTime::set did not pass the 'an integer which 
is a possible valid day of month' callback
 at /usr/lib/perl5/DateTime.pm line 1875
DateTime::set(undef, 'day', 0) called at /usr/lib/perl5/DateTime.pm 
line 1886
DateTime::set_day('DateTime=HASH(0x8f2618)', 0) called at 
./ics2qtcal.pl line 107
main::extractDateFromIcalLine('ARRAY(0xa00790)', 1) called at 
./ics2qtcal.pl line 260


best regards

robin



[1] https://bugzilla.mozilla.org/show_bug.cgi?id=620346


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: qtmoko calendar

2013-02-10 Thread urodelo
The ics files on the server are in format 1.ics, 2.ics, 8.ics,  
27.ics43.ics... and so on. It's egroupware groupdav folder for  
calendar.


urodelo

On Sat, 09 Feb 2013 17:25:12 +0100, arne anka openm...@ginguppin.de  
wrote:



using wget with
-r -l 1
you should be able to download the whole folder without going deeper  
than that.


if you have an idea of the format of the files (ie  
eventname_-mm-dd.ics or such) you could try to create possible  
combinations with printf and append them to the base url in a loop.



tnk, i'll try

uro

On Thu, 07 Feb 2013 12:59:06 +0100, Adrien Dorsaz adr...@adorsaz.ch  
wrote:



I think you can modify the wget loop :
https://github.com/Trim/qtmoko-ics2qtcal/blob/master/sync4ics2openmoko.sh#L19
to loop on a variable from 1 to any number instead on arguments (you
should add option --tries 1 to avoid to be stucked 20 times on a file).

It should work, if names are simply number.ics, but it won't be  
really

optimized.

Otherwise, I don't really know wget/curl to retrive all files from a
server. Maybe you can find an index of files at some address (I don't
know if apache have a special address to display index) ?

Adrien

Le jeudi 07 février 2013 à 12:36 +0100, urodelo a écrit :

tnx
is it possible to retrieve more ics from remote url/server  
recursively?

For example, on remote server I have http://foobar.foo/1.ics ,
http://foobar.foo/2.ics, http://foobar.foo/8.ics ,
http://foobar.foo/43.ics... but I don't have an exactly clue about the
name/numer of ics files...
the main problem to me seems to retrieve all the ics files stored on  
the

remote server through wget/curl etc, without knowing exactly haow many
they are and especially without knowing the name of every single ics  
file


thank you
uro

On Thu, 07 Feb 2013 12:11:35 +0100, Adrien Dorsaz adr...@adorsaz.ch
wrote:

 Hello!

 Le jeudi 07 février 2013 à 11:58 +0100, urodelo a écrit :
 Hello,
 what is the executable file for the qtmoko calendar? Is it possible
 to
 import/export ics files or do other operations through the  
terminal?

 tnx
 uro

 I've just updated a small tool to import ics files written in  
shell/perl

 by Mossroy :
 https://github.com/Trim/qtmoko-ics2qtcal

 (Please note that, it removes all appointements before to import
 calendars and so there's no synchronisation with calendar server)

 As you can see, all the data of qtmoko calendar are stored in the
 database /home/root/Applications/Qtopia/qtopia_db.sqlite and  
espcially

 in the appointements table.

 So, I think you can easily export data to ics files by creating a  
qtmoko

 specific DateTime::Format builder for this database.

 HTH,
 Adrien














--
不要催我!你曾經問過梵谷畫很快嗎?


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: qtmoko calendar

2013-02-10 Thread arne anka

for i in {1..100} ; do wget http://url/$i.ics ; done

The ics files on the server are in format 1.ics, 2.ics, 8.ics,  
27.ics43.ics... and so on. It's egroupware groupdav folder for  
calendar.


urodelo

On Sat, 09 Feb 2013 17:25:12 +0100, arne anka openm...@ginguppin.de  
wrote:



using wget with
-r -l 1
you should be able to download the whole folder without going deeper  
than that.


if you have an idea of the format of the files (ie  
eventname_-mm-dd.ics or such) you could try to create possible  
combinations with printf and append them to the base url in a loop.



tnk, i'll try

uro

On Thu, 07 Feb 2013 12:59:06 +0100, Adrien Dorsaz adr...@adorsaz.ch  
wrote:



I think you can modify the wget loop :
https://github.com/Trim/qtmoko-ics2qtcal/blob/master/sync4ics2openmoko.sh#L19
to loop on a variable from 1 to any number instead on arguments (you
should add option --tries 1 to avoid to be stucked 20 times on a  
file).


It should work, if names are simply number.ics, but it won't be  
really

optimized.

Otherwise, I don't really know wget/curl to retrive all files from a
server. Maybe you can find an index of files at some address (I don't
know if apache have a special address to display index) ?

Adrien

Le jeudi 07 février 2013 à 12:36 +0100, urodelo a écrit :

tnx
is it possible to retrieve more ics from remote url/server  
recursively?

For example, on remote server I have http://foobar.foo/1.ics ,
http://foobar.foo/2.ics, http://foobar.foo/8.ics ,
http://foobar.foo/43.ics... but I don't have an exactly clue about  
the

name/numer of ics files...
the main problem to me seems to retrieve all the ics files stored on  
the
remote server through wget/curl etc, without knowing exactly haow  
many
they are and especially without knowing the name of every single ics  
file


thank you
uro

On Thu, 07 Feb 2013 12:11:35 +0100, Adrien Dorsaz adr...@adorsaz.ch
wrote:

 Hello!

 Le jeudi 07 février 2013 à 11:58 +0100, urodelo a écrit :
 Hello,
 what is the executable file for the qtmoko calendar? Is it  
possible

 to
 import/export ics files or do other operations through the  
terminal?

 tnx
 uro

 I've just updated a small tool to import ics files written in  
shell/perl

 by Mossroy :
 https://github.com/Trim/qtmoko-ics2qtcal

 (Please note that, it removes all appointements before to import
 calendars and so there's no synchronisation with calendar server)

 As you can see, all the data of qtmoko calendar are stored in the
 database /home/root/Applications/Qtopia/qtopia_db.sqlite and  
espcially

 in the appointements table.

 So, I think you can easily export data to ics files by creating a  
qtmoko

 specific DateTime::Format builder for this database.

 HTH,
 Adrien

















--
Schon vor dem Come-Back von Modern Talking wusste ich:
Dieter Bohlen ist der Preis der Freiheit.
   Heinz Rudolf Kunze

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: qtmoko calendar

2013-02-09 Thread arne anka

using wget with
-r -l 1
you should be able to download the whole folder without going deeper than  
that.


if you have an idea of the format of the files (ie  
eventname_-mm-dd.ics or such) you could try to create possible  
combinations with printf and append them to the base url in a loop.



tnk, i'll try

uro

On Thu, 07 Feb 2013 12:59:06 +0100, Adrien Dorsaz adr...@adorsaz.ch  
wrote:



I think you can modify the wget loop :
https://github.com/Trim/qtmoko-ics2qtcal/blob/master/sync4ics2openmoko.sh#L19
to loop on a variable from 1 to any number instead on arguments (you
should add option --tries 1 to avoid to be stucked 20 times on a file).

It should work, if names are simply number.ics, but it won't be really
optimized.

Otherwise, I don't really know wget/curl to retrive all files from a
server. Maybe you can find an index of files at some address (I don't
know if apache have a special address to display index) ?

Adrien

Le jeudi 07 février 2013 à 12:36 +0100, urodelo a écrit :

tnx
is it possible to retrieve more ics from remote url/server recursively?
For example, on remote server I have http://foobar.foo/1.ics ,
http://foobar.foo/2.ics, http://foobar.foo/8.ics ,
http://foobar.foo/43.ics... but I don't have an exactly clue about the
name/numer of ics files...
the main problem to me seems to retrieve all the ics files stored on  
the

remote server through wget/curl etc, without knowing exactly haow many
they are and especially without knowing the name of every single ics  
file


thank you
uro

On Thu, 07 Feb 2013 12:11:35 +0100, Adrien Dorsaz adr...@adorsaz.ch
wrote:

 Hello!

 Le jeudi 07 février 2013 à 11:58 +0100, urodelo a écrit :
 Hello,
 what is the executable file for the qtmoko calendar? Is it possible
 to
 import/export ics files or do other operations through the terminal?
 tnx
 uro

 I've just updated a small tool to import ics files written in  
shell/perl

 by Mossroy :
 https://github.com/Trim/qtmoko-ics2qtcal

 (Please note that, it removes all appointements before to import
 calendars and so there's no synchronisation with calendar server)

 As you can see, all the data of qtmoko calendar are stored in the
 database /home/root/Applications/Qtopia/qtopia_db.sqlite and  
espcially

 in the appointements table.

 So, I think you can easily export data to ics files by creating a  
qtmoko

 specific DateTime::Format builder for this database.

 HTH,
 Adrien











--
Schon vor dem Come-Back von Modern Talking wusste ich:
Dieter Bohlen ist der Preis der Freiheit.
   Heinz Rudolf Kunze

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


qtmoko calendar

2013-02-07 Thread urodelo

Hello,
what is the executable file for the qtmoko calendar? Is it possible to  
import/export ics files or do other operations through the terminal?

tnx
uro

--
不要催我!你曾經問過梵谷畫很快嗎?


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: qtmoko calendar

2013-02-07 Thread Adrien Dorsaz
Hello!

Le jeudi 07 février 2013 à 11:58 +0100, urodelo a écrit :
 Hello,
 what is the executable file for the qtmoko calendar? Is it possible
to  
 import/export ics files or do other operations through the terminal?
 tnx
 uro

I've just updated a small tool to import ics files written in shell/perl
by Mossroy :
https://github.com/Trim/qtmoko-ics2qtcal

(Please note that, it removes all appointements before to import
calendars and so there's no synchronisation with calendar server)

As you can see, all the data of qtmoko calendar are stored in the
database /home/root/Applications/Qtopia/qtopia_db.sqlite and espcially
in the appointements table.

So, I think you can easily export data to ics files by creating a qtmoko
specific DateTime::Format builder for this database.

HTH,
Adrien



signature.asc
Description: This is a digitally signed message part
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: qtmoko calendar

2013-02-07 Thread urodelo

tnx
is it possible to retrieve more ics from remote url/server recursively?
For example, on remote server I have http://foobar.foo/1.ics ,  
http://foobar.foo/2.ics, http://foobar.foo/8.ics ,  
http://foobar.foo/43.ics... but I don't have an exactly clue about the  
name/numer of ics files...
the main problem to me seems to retrieve all the ics files stored on the  
remote server through wget/curl etc, without knowing exactly haow many  
they are and especially without knowing the name of every single ics file


thank you
uro

On Thu, 07 Feb 2013 12:11:35 +0100, Adrien Dorsaz adr...@adorsaz.ch  
wrote:



Hello!

Le jeudi 07 février 2013 à 11:58 +0100, urodelo a écrit :

Hello,
what is the executable file for the qtmoko calendar? Is it possible

to

import/export ics files or do other operations through the terminal?
tnx
uro


I've just updated a small tool to import ics files written in shell/perl
by Mossroy :
https://github.com/Trim/qtmoko-ics2qtcal

(Please note that, it removes all appointements before to import
calendars and so there's no synchronisation with calendar server)

As you can see, all the data of qtmoko calendar are stored in the
database /home/root/Applications/Qtopia/qtopia_db.sqlite and espcially
in the appointements table.

So, I think you can easily export data to ics files by creating a qtmoko
specific DateTime::Format builder for this database.

HTH,
Adrien




--
不要催我!你曾經問過梵谷畫很快嗎?


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: qtmoko calendar

2013-02-07 Thread Adrien Dorsaz
I think you can modify the wget loop :
https://github.com/Trim/qtmoko-ics2qtcal/blob/master/sync4ics2openmoko.sh#L19
to loop on a variable from 1 to any number instead on arguments (you
should add option --tries 1 to avoid to be stucked 20 times on a file).

It should work, if names are simply number.ics, but it won't be really
optimized.

Otherwise, I don't really know wget/curl to retrive all files from a
server. Maybe you can find an index of files at some address (I don't
know if apache have a special address to display index) ?

Adrien

Le jeudi 07 février 2013 à 12:36 +0100, urodelo a écrit :
 tnx
 is it possible to retrieve more ics from remote url/server recursively?
 For example, on remote server I have http://foobar.foo/1.ics ,  
 http://foobar.foo/2.ics, http://foobar.foo/8.ics ,  
 http://foobar.foo/43.ics... but I don't have an exactly clue about the  
 name/numer of ics files...
 the main problem to me seems to retrieve all the ics files stored on the  
 remote server through wget/curl etc, without knowing exactly haow many  
 they are and especially without knowing the name of every single ics file
 
 thank you
 uro
 
 On Thu, 07 Feb 2013 12:11:35 +0100, Adrien Dorsaz adr...@adorsaz.ch  
 wrote:
 
  Hello!
 
  Le jeudi 07 février 2013 à 11:58 +0100, urodelo a écrit :
  Hello,
  what is the executable file for the qtmoko calendar? Is it possible
  to
  import/export ics files or do other operations through the terminal?
  tnx
  uro
 
  I've just updated a small tool to import ics files written in shell/perl
  by Mossroy :
  https://github.com/Trim/qtmoko-ics2qtcal
 
  (Please note that, it removes all appointements before to import
  calendars and so there's no synchronisation with calendar server)
 
  As you can see, all the data of qtmoko calendar are stored in the
  database /home/root/Applications/Qtopia/qtopia_db.sqlite and espcially
  in the appointements table.
 
  So, I think you can easily export data to ics files by creating a qtmoko
  specific DateTime::Format builder for this database.
 
  HTH,
  Adrien
 
 
 



signature.asc
Description: This is a digitally signed message part
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: qtmoko calendar

2013-02-07 Thread urodelo

tnk, i'll try

uro

On Thu, 07 Feb 2013 12:59:06 +0100, Adrien Dorsaz adr...@adorsaz.ch  
wrote:



I think you can modify the wget loop :
https://github.com/Trim/qtmoko-ics2qtcal/blob/master/sync4ics2openmoko.sh#L19
to loop on a variable from 1 to any number instead on arguments (you
should add option --tries 1 to avoid to be stucked 20 times on a file).

It should work, if names are simply number.ics, but it won't be really
optimized.

Otherwise, I don't really know wget/curl to retrive all files from a
server. Maybe you can find an index of files at some address (I don't
know if apache have a special address to display index) ?

Adrien

Le jeudi 07 février 2013 à 12:36 +0100, urodelo a écrit :

tnx
is it possible to retrieve more ics from remote url/server recursively?
For example, on remote server I have http://foobar.foo/1.ics ,
http://foobar.foo/2.ics, http://foobar.foo/8.ics ,
http://foobar.foo/43.ics... but I don't have an exactly clue about the
name/numer of ics files...
the main problem to me seems to retrieve all the ics files stored on the
remote server through wget/curl etc, without knowing exactly haow many
they are and especially without knowing the name of every single ics  
file


thank you
uro

On Thu, 07 Feb 2013 12:11:35 +0100, Adrien Dorsaz adr...@adorsaz.ch
wrote:

 Hello!

 Le jeudi 07 février 2013 à 11:58 +0100, urodelo a écrit :
 Hello,
 what is the executable file for the qtmoko calendar? Is it possible
 to
 import/export ics files or do other operations through the terminal?
 tnx
 uro

 I've just updated a small tool to import ics files written in  
shell/perl

 by Mossroy :
 https://github.com/Trim/qtmoko-ics2qtcal

 (Please note that, it removes all appointements before to import
 calendars and so there's no synchronisation with calendar server)

 As you can see, all the data of qtmoko calendar are stored in the
 database /home/root/Applications/Qtopia/qtopia_db.sqlite and espcially
 in the appointements table.

 So, I think you can easily export data to ics files by creating a  
qtmoko

 specific DateTime::Format builder for this database.

 HTH,
 Adrien








--
不要催我!你曾經問過梵谷畫很快嗎?


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: qtmoko calendar / google calendar

2011-04-04 Thread Wesley Frazier
Correct. I have my evil work email exchange based calendar published online
automatically. (A feature of Outlook 2007/2010) and then I have a cron job
which automatically tries to import this and my google calendar in once an
hour. Works pretty well as long as I can keep data stable. Somedays its rock
solid, someday I only seem to have cellular data for 15 minutes at a time.
Still working on that...

-- Forwarded message --
From: mossroy mossroy.moss...@gmail.com
To: community@lists.openmoko.org
Date: Sun, 03 Apr 2011 14:40:28 +0200
Subject: Re: qtmoko calendar / google calendar
I uploaded a version 0.6 of the script on http://mossroy.free.fr/ics2qtcal/
It includes small fixes and improvements, based on the feedback of Weslay
Frazier on an Office online calendar.

Hope it might be useful to some of you.

Le 23/03/2011 19:43, mossroy a écrit :

 Great!

 Keep me informed

 Le 22/03/2011 02:30, Wesley Frazier a écrit :

 All better, thanks!

 Pretty neat to have my calendar on my phone now. Thinking about
 wrapping it up in a cron job so it automatically tries to sync every
 two hours or so.

  -- Forwarded message --
 From: mossroymossroy.moss...@gmail.com
 To: List for Openmoko community discussioncommunity@lists.openmoko.org
 Date: Sat, 19 Mar 2011 12:12:17 +0100
 Subject: Re: qtmoko calendar / google calendar
 I uploaded a version 0.5 of the script on
 http://mossroy.free.fr/ics2qtcal/
 It now can handle correctly the date/times that are given in UTC format
 (which was the case in the test ics file you sent me, generated by google
 calendar)

 Please test it and let me know if it's ok for you.

 Le 18/03/2011 13:55, Wesley Frazier a écrit :

 QTMoko is set to New York for the timezone. Google Claendar is set
 to Eastern Standard. The timezones should match. It may be that
 Google Calendar does not preserve the timezone data in the ics file.
 It may present the entries in UTC or something.

 If there was a command-line option to just specify a time offset, I
 think that would be enough for me.

 If you would like a test google calendar / ics file let me know. I can
 provide one.

 Thanks!

 On Fri, Mar 18, 2011 at 5:51 AM,community-requ...@lists.openmoko.org
   wrote:

  -- Forwarded message --
 From: mossroymossroy.moss...@gmail.com
 To: community@lists.openmoko.org
 Date: Fri, 18 Mar 2011 09:51:18 +0100
 Subject: Re: qtmoko calendar / google calendar
 It's certainly a timezone issue.
 I suppose you don't use the same timezone in google calendar and in
 QtMoko.
 I'll look into it, to see if I can fix that in the code.

 Any other issues with this script?
 I'm happy to see that it might be helpful for someone else than me :-)

 Regards,
 Mossroy

 Le 18/03/2011 00:39, Wesley Frazier a écrit :

 Ive been trying to setup these scripts here:
 http://mossroy.free.fr/ics2qtcal/v0.4/ to download my google calendar
 and sync it to my phone. Via the ics / private link download in google
 calendar, with partial success.

 Its working but there seems to be a time offset. All of the
 appointments on the phone that were synced from the google calendar
 are three or four hours ahead of their actual times.

 Any advices/suggestions?


 ___
 Openmoko community mailing list
 community@lists.openmoko.org
 http://lists.openmoko.org/mailman/listinfo/community


  ___
 Openmoko community mailing list
 community@lists.openmoko.org
 http://lists.openmoko.org/mailman/listinfo/community


 ___
 Openmoko community mailing list
 community@lists.openmoko.org
 http://lists.openmoko.org/mailman/listinfo/community




-- 
Wes Frazier

*Nationalism is an infantile disease. It is the measles of mankind.*
- *Albert
Einstein*
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: qtmoko calendar / google calendar

2011-04-03 Thread mossroy

I uploaded a version 0.6 of the script on http://mossroy.free.fr/ics2qtcal/
It includes small fixes and improvements, based on the feedback of 
Weslay Frazier on an Office online calendar.


Hope it might be useful to some of you.

Le 23/03/2011 19:43, mossroy a écrit :

Great!

Keep me informed

Le 22/03/2011 02:30, Wesley Frazier a écrit :

All better, thanks!

Pretty neat to have my calendar on my phone now. Thinking about
wrapping it up in a cron job so it automatically tries to sync every
two hours or so.


-- Forwarded message --
From: mossroymossroy.moss...@gmail.com
To: List for Openmoko community 
discussioncommunity@lists.openmoko.org

Date: Sat, 19 Mar 2011 12:12:17 +0100
Subject: Re: qtmoko calendar / google calendar
I uploaded a version 0.5 of the script on 
http://mossroy.free.fr/ics2qtcal/
It now can handle correctly the date/times that are given in UTC 
format (which was the case in the test ics file you sent me, 
generated by google calendar)


Please test it and let me know if it's ok for you.

Le 18/03/2011 13:55, Wesley Frazier a écrit :

QTMoko is set to New York for the timezone. Google Claendar is set
to Eastern Standard. The timezones should match. It may be that
Google Calendar does not preserve the timezone data in the ics file.
It may present the entries in UTC or something.

If there was a command-line option to just specify a time offset, I
think that would be enough for me.

If you would like a test google calendar / ics file let me know. I can
provide one.

Thanks!

On Fri, Mar 18, 2011 at 5:51 
AM,community-requ...@lists.openmoko.org   wrote:



-- Forwarded message --
From: mossroymossroy.moss...@gmail.com
To: community@lists.openmoko.org
Date: Fri, 18 Mar 2011 09:51:18 +0100
Subject: Re: qtmoko calendar / google calendar
It's certainly a timezone issue.
I suppose you don't use the same timezone in google calendar and 
in QtMoko.

I'll look into it, to see if I can fix that in the code.

Any other issues with this script?
I'm happy to see that it might be helpful for someone else than me 
:-)


Regards,
Mossroy

Le 18/03/2011 00:39, Wesley Frazier a écrit :

Ive been trying to setup these scripts here:
http://mossroy.free.fr/ics2qtcal/v0.4/ to download my google 
calendar
and sync it to my phone. Via the ics / private link download in 
google

calendar, with partial success.

Its working but there seems to be a time offset. All of the
appointments on the phone that were synced from the google calendar
are three or four hours ahead of their actual times.

Any advices/suggestions?



___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community



___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: qtmoko calendar / google calendar

2011-03-23 Thread mossroy

Great!

Keep me informed

Le 22/03/2011 02:30, Wesley Frazier a écrit :

All better, thanks!

Pretty neat to have my calendar on my phone now. Thinking about
wrapping it up in a cron job so it automatically tries to sync every
two hours or so.


-- Forwarded message --
From: mossroymossroy.moss...@gmail.com
To: List for Openmoko community discussioncommunity@lists.openmoko.org
Date: Sat, 19 Mar 2011 12:12:17 +0100
Subject: Re: qtmoko calendar / google calendar
I uploaded a version 0.5 of the script on http://mossroy.free.fr/ics2qtcal/
It now can handle correctly the date/times that are given in UTC format (which 
was the case in the test ics file you sent me, generated by google calendar)

Please test it and let me know if it's ok for you.

Le 18/03/2011 13:55, Wesley Frazier a écrit :

QTMoko is set to New York for the timezone. Google Claendar is set
to Eastern Standard. The timezones should match. It may be that
Google Calendar does not preserve the timezone data in the ics file.
It may present the entries in UTC or something.

If there was a command-line option to just specify a time offset, I
think that would be enough for me.

If you would like a test google calendar / ics file let me know. I can
provide one.

Thanks!

On Fri, Mar 18, 2011 at 5:51 AM,community-requ...@lists.openmoko.org   wrote:


-- Forwarded message --
From: mossroymossroy.moss...@gmail.com
To: community@lists.openmoko.org
Date: Fri, 18 Mar 2011 09:51:18 +0100
Subject: Re: qtmoko calendar / google calendar
It's certainly a timezone issue.
I suppose you don't use the same timezone in google calendar and in QtMoko.
I'll look into it, to see if I can fix that in the code.

Any other issues with this script?
I'm happy to see that it might be helpful for someone else than me :-)

Regards,
Mossroy

Le 18/03/2011 00:39, Wesley Frazier a écrit :

Ive been trying to setup these scripts here:
http://mossroy.free.fr/ics2qtcal/v0.4/ to download my google calendar
and sync it to my phone. Via the ics / private link download in google
calendar, with partial success.

Its working but there seems to be a time offset. All of the
appointments on the phone that were synced from the google calendar
are three or four hours ahead of their actual times.

Any advices/suggestions?



___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community



___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: qtmoko calendar / google calendar

2011-03-21 Thread Wesley Frazier
All better, thanks!

Pretty neat to have my calendar on my phone now. Thinking about
wrapping it up in a cron job so it automatically tries to sync every
two hours or so.

 -- Forwarded message --
 From: mossroy mossroy.moss...@gmail.com
 To: List for Openmoko community discussion community@lists.openmoko.org
 Date: Sat, 19 Mar 2011 12:12:17 +0100
 Subject: Re: qtmoko calendar / google calendar
 I uploaded a version 0.5 of the script on http://mossroy.free.fr/ics2qtcal/
 It now can handle correctly the date/times that are given in UTC format 
 (which was the case in the test ics file you sent me, generated by google 
 calendar)

 Please test it and let me know if it's ok for you.

 Le 18/03/2011 13:55, Wesley Frazier a écrit :

 QTMoko is set to New York for the timezone. Google Claendar is set
 to Eastern Standard. The timezones should match. It may be that
 Google Calendar does not preserve the timezone data in the ics file.
 It may present the entries in UTC or something.

 If there was a command-line option to just specify a time offset, I
 think that would be enough for me.

 If you would like a test google calendar / ics file let me know. I can
 provide one.

 Thanks!

 On Fri, Mar 18, 2011 at 5:51 AM,community-requ...@lists.openmoko.org  
 wrote:

 -- Forwarded message --
 From: mossroymossroy.moss...@gmail.com
 To: community@lists.openmoko.org
 Date: Fri, 18 Mar 2011 09:51:18 +0100
 Subject: Re: qtmoko calendar / google calendar
 It's certainly a timezone issue.
 I suppose you don't use the same timezone in google calendar and in QtMoko.
 I'll look into it, to see if I can fix that in the code.

 Any other issues with this script?
 I'm happy to see that it might be helpful for someone else than me :-)

 Regards,
 Mossroy

 Le 18/03/2011 00:39, Wesley Frazier a écrit :

 Ive been trying to setup these scripts here:
 http://mossroy.free.fr/ics2qtcal/v0.4/ to download my google calendar
 and sync it to my phone. Via the ics / private link download in google
 calendar, with partial success.

 Its working but there seems to be a time offset. All of the
 appointments on the phone that were synced from the google calendar
 are three or four hours ahead of their actual times.

 Any advices/suggestions?



 ___
 Openmoko community mailing list
 community@lists.openmoko.org
 http://lists.openmoko.org/mailman/listinfo/community



___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: qtmoko calendar / google calendar

2011-03-19 Thread mossroy

I uploaded a version 0.5 of the script on http://mossroy.free.fr/ics2qtcal/
It now can handle correctly the date/times that are given in UTC format 
(which was the case in the test ics file you sent me, generated by 
google calendar)


Please test it and let me know if it's ok for you.

Le 18/03/2011 13:55, Wesley Frazier a écrit :

QTMoko is set to New York for the timezone. Google Claendar is set
to Eastern Standard. The timezones should match. It may be that
Google Calendar does not preserve the timezone data in the ics file.
It may present the entries in UTC or something.

If there was a command-line option to just specify a time offset, I
think that would be enough for me.

If you would like a test google calendar / ics file let me know. I can
provide one.

Thanks!

On Fri, Mar 18, 2011 at 5:51 AM,community-requ...@lists.openmoko.org  wrote:


-- Forwarded message --
From: mossroymossroy.moss...@gmail.com
To: community@lists.openmoko.org
Date: Fri, 18 Mar 2011 09:51:18 +0100
Subject: Re: qtmoko calendar / google calendar
It's certainly a timezone issue.
I suppose you don't use the same timezone in google calendar and in QtMoko.
I'll look into it, to see if I can fix that in the code.

Any other issues with this script?
I'm happy to see that it might be helpful for someone else than me :-)

Regards,
Mossroy

Le 18/03/2011 00:39, Wesley Frazier a écrit :

Ive been trying to setup these scripts here:
http://mossroy.free.fr/ics2qtcal/v0.4/ to download my google calendar
and sync it to my phone. Via the ics / private link download in google
calendar, with partial success.

Its working but there seems to be a time offset. All of the
appointments on the phone that were synced from the google calendar
are three or four hours ahead of their actual times.

Any advices/suggestions?




___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community







___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: qtmoko calendar / google calendar

2011-03-18 Thread mossroy

It's certainly a timezone issue.
I suppose you don't use the same timezone in google calendar and in QtMoko.
I'll look into it, to see if I can fix that in the code.

Any other issues with this script?
I'm happy to see that it might be helpful for someone else than me :-)

Regards,
Mossroy

Le 18/03/2011 00:39, Wesley Frazier a écrit :

Ive been trying to setup these scripts here:
http://mossroy.free.fr/ics2qtcal/v0.4/ to download my google calendar
and sync it to my phone. Via the ics / private link download in google
calendar, with partial success.

Its working but there seems to be a time offset. All of the
appointments on the phone that were synced from the google calendar
are three or four hours ahead of their actual times.

Any advices/suggestions?



___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: qtmoko calendar / google calendar

2011-03-18 Thread Wesley Frazier
QTMoko is set to New York for the timezone. Google Claendar is set
to Eastern Standard. The timezones should match. It may be that
Google Calendar does not preserve the timezone data in the ics file.
It may present the entries in UTC or something.

If there was a command-line option to just specify a time offset, I
think that would be enough for me.

If you would like a test google calendar / ics file let me know. I can
provide one.

Thanks!

On Fri, Mar 18, 2011 at 5:51 AM,  community-requ...@lists.openmoko.org wrote:

 -- Forwarded message --
 From: mossroy mossroy.moss...@gmail.com
 To: community@lists.openmoko.org
 Date: Fri, 18 Mar 2011 09:51:18 +0100
 Subject: Re: qtmoko calendar / google calendar
 It's certainly a timezone issue.
 I suppose you don't use the same timezone in google calendar and in QtMoko.
 I'll look into it, to see if I can fix that in the code.

 Any other issues with this script?
 I'm happy to see that it might be helpful for someone else than me :-)

 Regards,
 Mossroy

 Le 18/03/2011 00:39, Wesley Frazier a écrit :

 Ive been trying to setup these scripts here:
 http://mossroy.free.fr/ics2qtcal/v0.4/ to download my google calendar
 and sync it to my phone. Via the ics / private link download in google
 calendar, with partial success.

 Its working but there seems to be a time offset. All of the
 appointments on the phone that were synced from the google calendar
 are three or four hours ahead of their actual times.

 Any advices/suggestions?




 ___
 Openmoko community mailing list
 community@lists.openmoko.org
 http://lists.openmoko.org/mailman/listinfo/community





-- 
Wes Frazier

Nationalism is an infantile disease. It is the measles of mankind. -
Albert Einstein

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


qtmoko calendar / google calendar

2011-03-17 Thread Wesley Frazier
Ive been trying to setup these scripts here:
http://mossroy.free.fr/ics2qtcal/v0.4/ to download my google calendar
and sync it to my phone. Via the ics / private link download in google
calendar, with partial success.

Its working but there seems to be a time offset. All of the
appointments on the phone that were synced from the google calendar
are three or four hours ahead of their actual times.

Any advices/suggestions?

-- 
Wes Frazier

Nationalism is an infantile disease. It is the measles of mankind. -
Albert Einstein

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Re : QtMoko calendar

2011-01-05 Thread Thomas Bellembois

Le 05/01/2011 07:39, mossroy a écrit :

Thomas Bellembois wrote :


 Is there a plan to develop a sync tool on QTMoko ?


Thomas,
I developed a very simple script that overwrites the content of QtMoko 
Calendar with the content of one or several iCal Files (.ics) that can 
be retrieved with HTTP
It works well enough to suit my needs, and the code is published here 
: http://mossroy.free.fr/ics2qtcal/

Note that this is not a two-way synchronization : only one-way

Anyway, it should still be considered as a work-in-progress, that 
should be improved at least in the following ways :
- add a way to launch the script from an icon in QtMoko (currently it 
must be launched from command-line)
- package the scripts, so that they can be installed easily (.deb ? 
.pkg?)

- add a GUI?

I would be glad to have some feedback on this script, and some help on 
the items listed above (I do not have much time to spend on it, and it 
already suits my needs)


Regards,
Mossroy


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community

Thanks Mossroy,

I will look at your script.
Somebody told me about remind 
(http://www.roaringpenguin.com/wiki/index.php/Remind) that can be used 
as a calendar. I will also look at this.

I will give you a feedback.

Regards,

Thomas

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re : QtMoko calendar

2011-01-04 Thread mossroy

Thomas Bellembois wrote :


 Is there a plan to develop a sync tool on QTMoko ?


Thomas,
I developed a very simple script that overwrites the content of QtMoko Calendar 
with the content of one or several iCal Files (.ics) that can be retrieved with 
HTTP
It works well enough to suit my needs, and the code is published here : 
http://mossroy.free.fr/ics2qtcal/
Note that this is not a two-way synchronization : only one-way

Anyway, it should still be considered as a work-in-progress, that should be 
improved at least in the following ways :
- add a way to launch the script from an icon in QtMoko (currently it must be 
launched from command-line)
- package the scripts, so that they can be installed easily (.deb ? .pkg?)
- add a GUI?

I would be glad to have some feedback on this script, and some help on the 
items listed above (I do not have much time to spend on it, and it already 
suits my needs)

Regards,
Mossroy


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


QtMoko calendar

2011-01-02 Thread Thomas Bellembois

Hello freerunners !

First I wish you an happy new year with lots of QTMoko releases ! ;)
In the QT help on the FR there is a section about remote calendar 
synchronisation (Google calendar), but I could not find any menu item to 
do that.

Is there a plan to develop a sync tool on QTMoko ?

Regards,

Thomas

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community