Hi I am working on a word/excel macro to post the document to the Zope server. In this way the users can use Save On Zope menu option to post their docs to the Zope server. Macro will also collect the neccessary metadata as well and use the http protocol to post the data to the zope server. To have an easy-to-install macro I need a httpd client activeX with file upload capability. I am looking at the xmlhttp from M$ Now I have a version that posts the file and the metadata in XML format to the server. I need some help on the server side. the XML doc. sent to the server must be somehow converted back to metadata and file. xmlhttp encodes the data into the xml doc. so it must be decoded as well. My Q's 1-) Can I just create a XMLDocument and get the file data 2-) Is there a simple way to simulate a post with the collected data so that the server interface remains the same 3-) as an alternative Is there way to send the file and the metadata via WebDav and/or FTP Regards Sedat Yilmazer -----Original Message----- From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of Jon Edwards Sent: Wednesday, June 27, 2001 10:56 AM To: Zope - mailing list Subject: FW: Re: [Zope] A Tale from IBM land... oops, I sent this to the CMF list first by accident! :-) -----Original Message----- From: Jon Edwards [mailto:jon@pcgs.freeserve.co.uk] Sent: 26 June 2001 23:48 To: Zope-Cmf Cc: tim@freepm.org Subject: Re: [Zope] A Tale from IBM land... I like this article by Tim Cook from FreePM about focusing on vertical market-sectors http://www.freepm.org/goingvertical.html How about setting up User Groups that are based around market-sectors, rather than the usual geographical focus? - Zope in Medicine/Healthcare - Zope in Universities/Education - Zope in ....... (your market-sector) If Zope can be shown to have a healthy market-share in different sectors, others might look at it and think "Hmmm, there must be something to it, if all those people are using it" HTH Cheers, Jon P.S. I hate to say this, but I think making things easier for Windows-users would help as well! Show them how to integrate with existing Windows-based technology (like the Access example quoted earlier), and help them to gently wean their organisation away from MS-dominance! :-) _______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Sedat, I have done something similar in the recent past, using XML-RPC to call a Zope method directly. This may be a better option. hth Phil ----- Original Message ----- From: "Sedat Yilmazer" <sedat@kibele.com> To: <zope@zope.org> Sent: Wednesday, June 27, 2001 9:18 AM Subject: RE: Re: [Zope] A Tale from IBM land...
Hi
I am working on a word/excel macro to post the document to the Zope
server. In this way the users can use Save On Zope menu option to post their docs to the Zope server. Macro will also collect the neccessary metadata as well and use the http protocol to post the data to the zope server.
To have an easy-to-install macro I need a httpd client activeX with file
upload capability. I am looking at the xmlhttp from M$ Now I have a version that posts the file and the metadata in XML format to the server.
I need some help on the server side. the XML doc. sent to the server must
be somehow converted back to metadata and file. xmlhttp encodes the data into the xml doc. so it must be decoded as well.
My Q's 1-) Can I just create a XMLDocument and get the file data 2-) Is there a simple way to simulate a post with the collected data so
that the server interface remains the same
3-) as an alternative Is there way to send the file and the metadata via
WebDav and/or FTP
Regards Sedat Yilmazer
On Wednesday 27 June 2001 16:28, Phil Harris wrote:
Sedat,
I have done something similar in the recent past, using XML-RPC to call a Zope method directly. This may be a better option.
hth
Phil
hi phil it'd be great if this is turned into a howto. altho it may be easy, but seeing how it's done may push/point us into the right direction. i've done it with python, thru the web and such. but can't for the life of me figure out how to integrate it to m$ apps. doing anything from M$ really hurts me head :) tho i admit i do have a dense head
Bak (kedai)? What do I call you? Bak, kedai, something else? ;) If you go to the xmlrpc.com site there are a few COM versions of xml-rpc libs, I used a few of these with varying degrees of success. Some of the problems that I encountered are: 1. No https support 2. Some had no authentication support, so only things viewable by anonymous could be called (this is not true of all the COM interfaces though). 3. Some just plain didn't work ;( I've since gone back to just uploading the data via a web form, so haven't got a copy of the macro I wrote anymore, but honestly it really wasn't that difficult. hth Phil ----- Original Message ----- From: "bak (kedai)" <kedai@kedai.com.my> To: "Phil Harris" <phil.harris@zope.co.uk>; "Sedat Yilmazer" <sedat@kibele.com>; <zope@zope.org> Sent: Wednesday, June 27, 2001 9:37 AM Subject: Re: Re: [Zope] A Tale from IBM land...
On Wednesday 27 June 2001 16:28, Phil Harris wrote:
Sedat,
I have done something similar in the recent past, using XML-RPC to call a Zope method directly. This may be a better option.
hth
Phil
hi phil it'd be great if this is turned into a howto. altho it may be easy, but seeing how it's done may push/point us into the right direction. i've done it with python, thru the web and such. but can't for the life of me figure out how to integrate it to m$ apps.
doing anything from M$ really hurts me head :) tho i admit i do have a dense head
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
participants (3)
-
bak -
Phil Harris -
Sedat Yilmazer