Hi!

I've experienced some small problems when syncing my zaurus (ROM 2.38 with tkcCalendar) with evolution:

1) The zaurus Plugin uses a "Categories" attribute. However, tkcCalendar (and maybe the builtin calandar too) uses "categories" (lowercase) and ignores multisyncs "Categories" attribute.

2) Why does the opie-plugin set the description of an event to the summary if there is no description specified? Shouldn't it just jeave the description blank?

3) When syncing events with a comma in the description, the description gets split at the comma and appears as two SUMMARY-lines in evolutions calendar.ics file. (Evolution ignores the second SUMMARY-line.)

An event like:
<event description="texta, textb" ...

... is translated to:

BEGIN:VEVENT
SUMMARY:texta
SUMMARY: textb
...

A patch for the first two problems is attached, I didn't debug the third one yet...

Cheers,
--leo
--
-------------------------------------------------------
Alexander (Leo) Bergolth          [EMAIL PROTECTED]
WU-Wien - Zentrum fuer Informatikdienste - Projektbuero
--- ./plugins/opie_sync/src/opie_xml.c.orig	2004-04-18 11:49:38.000000000 +0200
+++ ./plugins/opie_sync/src/opie_xml.c	2004-04-25 23:03:59.000000000 +0200
@@ -966,7 +966,7 @@
 
     if(cal->cids) 
     {
-      g_string_sprintfa(bodystr, " Categories=\"");
+      g_string_sprintfa(bodystr, " categories=\"");
       current_cid = cal->cids;
       while(current_cid != NULL) 
       {
@@ -991,11 +991,15 @@
                                                     strlen(cal->summary)));
       
       /* set the summary as the desc if not present */
+
+      /*
       if(!cal->desc)
       {
         g_string_sprintfa(bodystr, " note=\"%s\"", opie_xml_markup_escape_text(cal->summary, 
                                                                                strlen(cal->summary)));
       }
+      */
+
     }
       
     if(cal->desc)

Reply via email to