--- OSAS/OSA_system/OSAS_add.py 2003/12/05 14:57:03 1.6 +++ OSAS/OSA_system/OSAS_add.py 2003/12/11 14:06:16 1.8 @@ -521,6 +521,14 @@ def combineTextImage2(self,path): presentationnode.appendChild(presentationnodetext) subnode.appendChild(presentationnode) + + if self.REQUEST.has_key('xslt'): + if not self.REQUEST['xslt']=="": + xsltnode=dom.createElement('xslt') + xsltnodetext=dom.createTextNode(self.REQUEST['xslt']) + xsltnode.appendChild(xsltnodetext) + subnode.appendChild(xsltnode) + node.appendChild(subnode) try: @@ -565,7 +573,7 @@ def combineTextImage2(self,path): urllib.urlopen("http://nausikaa2.rz-berlin.mpg.de:86/cgi-bin/toc/admin/reg.cgi?path=%s"%path).readlines() #return urllib.quote("http://nausikaa2.rz-berlin.mpg.de:86/cgi-bin/toc/admin/reg.cgi?path=%s"%path) - os.popen("ssh nausikaa2.rz-berlin.mpg.de /usr/local/mpiwg/scripts/scaleomat.pl %s /mpiwg/temp/online/scaled/thumb 90 &"% re.sub('mpiwg/online/','',self.REQUEST['path']+"/"+self.REQUEST['image'])) + os.popen("ssh nausikaa2.rz-berlin.mpg.de /usr/local/mpiwg/scripts/scaleomat.pl %s /mpiwg/temp/online/scaled/thumb 90 >> /tmp/sc.out &"% re.sub('/mpiwg/online/','',self.REQUEST['path']+"/"+self.REQUEST['image'])) #return self.REQUEST.RESPONSE.redirect(self.REQUEST['URL2']+'?path='+self.REQUEST['path'])