version 1.21, 2004/04/14 21:26:23
|
version 1.23, 2004/04/14 23:04:45
|
Line 168 def add6(self):
|
Line 168 def add6(self):
|
self.metadata=self.REQUEST.SESSION['metadata'] |
self.metadata=self.REQUEST.SESSION['metadata'] |
self.metadataprint="" |
self.metadataprint="" |
for tag in self.metadata.keys(): |
for tag in self.metadata.keys(): |
|
if tag!="": |
self.metadataprint=self.metadataprint+"<"+tag+">"+self.metadata[tag]+"</"+tag+">\n" |
self.metadataprint=self.metadataprint+"<"+tag+">"+self.metadata[tag]+"</"+tag+">\n" |
|
|
newtemplate=PageTemplateFile('Products/OSA_system/zpt/index_meta').__of__(self) |
newtemplate=PageTemplateFile('Products/OSA_system/zpt/index_meta').__of__(self) |
Line 617 def combineTextImage2(self,path):
|
Line 618 def combineTextImage2(self,path):
|
|
|
|
|
urllib.urlopen("http://nausikaa2.rz-berlin.mpg.de:86/cgi-bin/toc/admin/reg.cgi?path=%s"%path).readlines() |
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) |
|
|
if self.REQUEST.has_key('image'): # falls bilder |
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'])) |
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']) |
|
|
|