| Author |
Message |
![[Post New]](/jforum/templates/default/images/icon_minipost_new.gif) 01/01/2007 18:25:41
|
titetanium
Seeker of Wisdom
Joined: 01/01/2007 18:06:39
Messages: 6
Offline
|
I read somewhere in the forum that SW was able to sync notes with Evolution. Yet upon coming back here, I can't find that info. If this capability does exist, what format is the notes configured in on the SW server side? I keep getting errors relating to the format for notes. Using the logs and saving one of the notes reveal that Evolution notes are in text/journal or text/calendar format.
|
|
|
 |
![[Post New]](/jforum/templates/default/images/icon_minipost_new.gif) 02/01/2007 15:19:19
|
MarkSwanson
Source of Wisdom
![[Avatar]](/jforum/images/avatar/eccbc87e4b5ce2fe28308fd9f2a7baf3.png)
Joined: 30/09/2006 14:28:58
Messages: 6419
Offline
|
I've never tried that.
I actually didn't know Patrick's SyncEvolution supported notes yet. I've emailed him about this. I'll do what I can.
Cheers.
|
|
|
 |
![[Post New]](/jforum/templates/default/images/icon_minipost_new.gif) 03/01/2007 00:59:39
|
titetanium
Seeker of Wisdom
Joined: 01/01/2007 18:06:39
Messages: 6
Offline
|
It's not a deal breaker at the moment. I can live without the notes part, as long as I can have my address book, calendar events and tasks synced up. I use Linux, firefox and thunderbird mainly. I really don't care for evolution, its not featured the way mozilla suite/seamonkey, firefox/thunderbird is laid out, especially the email part. But I'll use it as long as I can sync most of my data with my blackberry 7130c.
|
|
|
 |
![[Post New]](/jforum/templates/default/images/icon_minipost_new.gif) 03/01/2007 12:43:00
|
pohly
Oracle of Wisdom
Joined: 09/11/2006 16:07:15
Messages: 146
Offline
|
Using the logs and saving one of the notes reveal that Evolution notes are in text/journal or text/calendar format.
Which logs? SyncEvolution itself does not support memos at the moment and when using Evolution 2.6.3 they also don't seem to show up as e.g. a calendar.
As I said to Mark, I'd like to add support for memos, but haven't done any real work on that yet and don't even know via which Evolution exports them.
what format is the notes configured in on the SW server side?
Mark, can you say something about this? To add support I need to know in which format they have to be sent/received. Alternatives are plain text (which character encoding?), iCalendar VJOURNAL (the format used by Evolution to export/import memos) and an XML format for file transfers (apparently defined in SyncML 1.2, don't know any details).
|
|
|
 |
![[Post New]](/jforum/templates/default/images/icon_minipost_new.gif) 03/01/2007 14:53:44
|
MarkSwanson
Source of Wisdom
![[Avatar]](/jforum/images/avatar/eccbc87e4b5ce2fe28308fd9f2a7baf3.png)
Joined: 30/09/2006 14:28:58
Messages: 6419
Offline
|
Hello Patrick! Thanks for stopping by to comment.
Right now text/plain notes in UTF-8 are supported best. I also support sifn, iCalendar journal, a custom XML format I use, and I also support vnote 1.1 - which is basically:
10.7.3 Formal Definition of vNote 1.1
<vnote-object> ::= {
"BEGIN:VNOTE" <CRLF>
"VERSION:" <vnote-version> <CRLF>
[ "X-IRMC-LUID:" <luid> <CRLF> ]
[ "DCREATED:" <common-date> <CRLF> ]
[ "LAST-MODIFIED:" <common-date> <CRLF> ]
[ "SUMMARY" <vcard-properties>* : default-char-not-lf>* <CRLF> ]
"BODY" <vcard-properties>* : <default-char-not-lf>* <CRLF>
[ "CATEGORIES:" <default-char-not-lf>* <CRLF> ]
[ "CLASS:" <private-flag> <CRLF>]
"END:VNOTE" <CRLF>
}
In a nutshell though, I'd be more than happy to hash out something that would be easier for you to parse/use.
Cheers.
|
|
|
 |
![[Post New]](/jforum/templates/default/images/icon_minipost_new.gif) 03/01/2007 15:11:03
|
pohly
Oracle of Wisdom
Joined: 09/11/2006 16:07:15
Messages: 146
Offline
|
MarkSwanson wrote:
Right now text/plain notes in UTF-8 are supported best. I also support sifn, iCalendar journal, a custom XML format I use, and I also support vnote 1.1
How does a user choose between these formats? Different URIs? Is there a URL with a summary about that? I know that you generate configuration information on a user's preference page, but what if he hasn't connected with his client yet, or ScheduleWorld does not know what configuration his client needs? At least at the moment I couldn't find URI information about notes on my personal pages.
|
|
|
 |
![[Post New]](/jforum/templates/default/images/icon_minipost_new.gif) 03/01/2007 15:23:23
|
MarkSwanson
Source of Wisdom
![[Avatar]](/jforum/images/avatar/eccbc87e4b5ce2fe28308fd9f2a7baf3.png)
Joined: 30/09/2006 14:28:58
Messages: 6419
Offline
|
It's all automated atm based on DevInf.
On your personal HTML prefs page you'll see the "Notes URI" is "note". This will default to text/plain.
Cheers.
|
|
|
 |
![[Post New]](/jforum/templates/default/images/icon_minipost_new.gif) 04/01/2007 14:40:42
|
pohly
Oracle of Wisdom
Joined: 09/11/2006 16:07:15
Messages: 146
Offline
|
I found that Evolution exports its memos via the same API as calendars in the iCalendar 2.0 VJOURNAL format. Adding support for this to SyncEvolution turned out to be pretty easy - expect to find it in 0.6.
One caveat exists at the moment: Evolution supports attachements to memos, but they are only referenced as an ATTACH property without actually including the attached file. Evolution itself doesn't seem to include it either when exporting or sending memos.
Mark, experiments show that ScheduleWorld transfers the ATTACH property literally. Do you have an idea how we could add support for synchronizing attachements ? If not, should I simply remove the property?
|
|
|
 |
![[Post New]](/jforum/templates/default/images/icon_minipost_new.gif) 04/01/2007 15:21:25
|
MarkSwanson
Source of Wisdom
![[Avatar]](/jforum/images/avatar/eccbc87e4b5ce2fe28308fd9f2a7baf3.png)
Joined: 30/09/2006 14:28:58
Messages: 6419
Offline
|
Yeah, I'm not surprised Evolution does this. I've seen proposals that place the attachments on a web server and use the URL as the (Edit) ATTACH value.
If Evolution supports the inline attachments from ScheduleWorld, we could do one-way. I'm curious what Evolution does with these attachments; it should work in theory.
If the ATTACH property gives you the filename and you can read it, you could base64 encode it and place it inline, but I would prefer you do not do this for now.
Please let me know when VJOURNAL support is in. I'll create a special URI to handle it.
Cheers.
|
|
|
 |
![[Post New]](/jforum/templates/default/images/icon_minipost_new.gif) 04/01/2007 15:42:40
|
pohly
Oracle of Wisdom
Joined: 09/11/2006 16:07:15
Messages: 146
Offline
|
MarkSwanson wrote:
Yeah, I'm not surprised Evolution does this. I've seen proposals that place the attachments on a web server and use the URL as the attachment.
Not very usable in our case, is it?
If Evolution supports the inline attachments from ScheduleWorld, we could do one-way. I'm curious what Evolution does with these attachments; it should work in theory.
Do you have an example? You can send it to me directly and I'll give it a try.
Please let me know when VJOURNAL support is in. I'll create a special URI to handle it.
Why? The existing "note" URI seems to work fine as SyncEvolution sends "text/calendar" as mime type in the DevInf.
|
|
|
 |
![[Post New]](/jforum/templates/default/images/icon_minipost_new.gif) 04/01/2007 16:01:54
|
MarkSwanson
Source of Wisdom
![[Avatar]](/jforum/images/avatar/eccbc87e4b5ce2fe28308fd9f2a7baf3.png)
Joined: 30/09/2006 14:28:58
Messages: 6419
Offline
|
Not very usable in our case, is it?
Not in the slightest :-)
Wrt using the existing 'note' - I agree.
Cheers.
|
|
|
 |
|
|