[Checkins] SVN: zopyx.smartprintng.server/trunk/README.txt updated

Andreas Jung andreas at andreas-jung.com
Mon Sep 14 12:47:17 EDT 2009


Log message for revision 103969:
  updated
  

Changed:
  U   zopyx.smartprintng.server/trunk/README.txt

-=-
Modified: zopyx.smartprintng.server/trunk/README.txt
===================================================================
--- zopyx.smartprintng.server/trunk/README.txt	2009-09-14 16:38:57 UTC (rev 103968)
+++ zopyx.smartprintng.server/trunk/README.txt	2009-09-14 16:47:17 UTC (rev 103969)
@@ -14,7 +14,7 @@
 Installation
 ============
 
-- create an virtualenv environment (Python 2,4, 2.5 or 2.6) - either within your
+- create an virtualenv environment (Python 2.6) - either within your
   current (empty) directory or by letting virtualenv create one for you::
 
     virtualenv --no-site-packages .
@@ -57,7 +57,7 @@
 
 The SmartPrintNG server exposes several methods through XMLRPC::
 
-    def convertZIP(zip_archive, converter_name):
+    def convertZIP(auth_token, zip_archive, converter_name):
         """ 'zip_archive' is ZIP archive (encoded as base-64 byte string).
             The archive must contain exactly *one* HTML file to be converted
             including all related resources like stylesheets and images.
@@ -68,7 +68,7 @@
             also as base64-encoded ZIP archive.
         """
 
-    def convertZIPEmail(context, zip_archive, converter_name='pdf-prince', 
+    def convertZIPEmail(auth_token, context, zip_archive, converter_name='pdf-prince', 
                         sender=None, recipient=None, subject=None, body=None):
         """ Similar to convertZIP() except that this method will send the 
             converted output document to a recipient by email. 'subject' and
@@ -80,6 +80,9 @@
             SmartPrintNG backend.
         """
 
+    def authenticate(username, password):
+        """ Log into the server. Returns an auth_token """
+
     def ping():
         """ says 'pong' - or something similar """
 



More information about the checkins mailing list