[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-pim
Subject:    [Kde-pim] Korganizer Exchange 2000 plugin
From:       "Best, Jan-Pascal van" <j.p.vanbest () tbm ! tudelft ! nl>
Date:       2002-05-30 15:15:42
[Download RAW message or body]

Hi all,

A new installment of the Exchange plugin for korganizer. What does it
do?
- Read appointments from an Exchange 2000 server. No write support (yet)
- Handle recurrent appointments (no exception handling yet)
- Handle full-day events
- Shiny new dialog to select start and end date, exchange server
location and user name

The webdav SEARCH stuff has been accepted in the kdelibs CVS, but a
small patch (at the end 
of this message) isn't checked in as of yet. You may have to apply it:
it adds support for
XML properties in an UDSAtom.

Install procedure:
- Update your kdelibs source to the latest CVS version 
  (cd kdelibs; cvs update)
- If necessary, apply the patches at the end of this message to 
  kdelibs/kio/kio/global.h and kdelibs/kioslave/http/http.cc
- Compile and install the latest kdelibs (cd kdelibs; 
  make -f Makefile.cvs; ./configure; make; make install)
- Unpack the attachment (exchange-20020530.tar.gz) unto 
  kdepim/korganizer/plugins
- Compile and install kdepim (cd kdepim; make -f Makefile.cvs;
  ./configure; make; make install)

This install a plugin for korganizer. In korganizer this creates
an extra menu option "Exchange". Choose "download", fill in begin and
end dates (start with just a week to see if it works), exchange server
host address and user name. Then mail me bug reports ;)

Anyone willing to try?

Cheers

Jan-Pascal
-- 
Jan-Pascal van Best
Delft University of Technology
http://www.tbm.tudelft.nl/webstaf/janb/index.htm 

Index: global.h
===================================================================
RCS file: /home/kde/kdelibs/kio/kio/global.h,v
retrieving revision 1.49
diff -u -3 -p -r1.49 global.h
--- global.h    5 Apr 2002 22:18:47 -0000       1.49
+++ global.h    30 May 2002 14:58:42 -0000
@@ -238,7 +238,9 @@ namespace KIO
     UDS_MIME_TYPE = 16384 | UDS_STRING,
     // A mime type to be used for displaying only.
     // But when 'running' the file, the mimetype is re-determined
-    UDS_GUESSED_MIME_TYPE = 16392 | UDS_STRING
+    UDS_GUESSED_MIME_TYPE = 16392 | UDS_STRING,
+    // XML properties, e.g. for WebDAV
+    UDS_XML_PROPERTIES = 32768 | UDS_STRING
   };

   enum CacheControl

Index: http.cc
===================================================================
RCS file: /home/kde/kdelibs/kioslave/http/http.cc,v
retrieving revision 1.503
diff -u -3 -p -r1.503 http.cc
--- http.cc     23 May 2002 23:37:33 -0000      1.503
+++ http.cc     30 May 2002 15:04:10 -0000
@@ -595,6 +595,15 @@ void HTTPProtocol::davParsePropstats( co
       return;
     }

+    if ( metaData( "davRequestResponse" ) == "true" )
+    {
+      atom.m_uds = KIO::UDS_XML_PROPERTIES;
+      QDomDocument doc;
+      doc.appendChild(prop);
+      atom.m_str = doc.toString();
+      entry.append( atom );
+    }
+
     for ( QDomElement property = prop.firstChild().toElement();
           !property.isNull();
           property = property.nextSibling().toElement() )

["exchange-20020530.tar.gz" (application/x-gzip)]
_______________________________________________
kde-pim mailing list
kde-pim@mail.kde.org
http://mail.kde.org/mailman/listinfo/kde-pim
kde-pim home page at http://pim.kde.org/

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic