Diff for /OSAS/OSA_system/OSAS_show.py between versions 1.13 and 1.14

version 1.13, 2004/01/09 12:47:04 version 1.14, 2004/01/21 07:43:01
Line 100  class OSAS_StoreOnline(SimpleItem): Line 100  class OSAS_StoreOnline(SimpleItem):
             return []              return []
   
     def rescaleThumbs(self,path):      def rescaleThumbs(self,path):
         """rescale thumbs of imeages in path"""          """rescale thumbs of images in path"""
   
         os.popen("ssh nausikaa2.rz-berlin.mpg.de /usr/local/mpiwg/scripts/scaleomat.pl %s /mpiwg/temp/online/scaled/thumb 90 --replace >> /tmp/sc.out &"% re.sub('/mpiwg/online/','',self.REQUEST['path']))          os.popen("ssh nausikaa2.rz-berlin.mpg.de /usr/local/mpiwg/scripts/scaleomat.pl %s /mpiwg/temp/online/scaled/thumb 90 --replace >> /tmp/sc.out &"% re.sub('/mpiwg/online/','',self.REQUEST['path']))
   
Line 148  class OSAS_StoreOnline(SimpleItem): Line 148  class OSAS_StoreOnline(SimpleItem):
         return isFolder(self,path)          return isFolder(self,path)
           
     def isScannedDocument(self,path):      def isScannedDocument(self,path):
         """Test ob Eintrag ein Folder ist"""          """Test ob Eintrag ein Scanned Document ist"""
         return isScannedDocument(self,path)          return isScannedDocument(self,path)
   
     def isFullText(self,path,folder_name):      def isFullText(self,path,folder_name):
         """Test ob Eintrag ein Folder ist"""          """Test ob Eintrag ein Folder ist"""
         return isFullText(path,folder_name)          return isFullText(path,folder_name)
   
       def date(self):
       return strftime("%d.%m.%Y",localtime()) 
   
     def addFolderForm(self,path):      def addFolderForm(self,path):
         """add a new path"""          """add a new path"""
         pt=PageTemplateFile('Products/OSA_system/OSAS_addFolder.zpt').__of__(self)          pt=PageTemplateFile('Products/OSA_system/OSAS_addFolder.zpt').__of__(self)
         return pt()          return pt()
   
     def date(self):  
     return strftime("%d.%m.%Y",localtime())   
   
     def addFolder(self,path,folder_name,description,archive_creation_date,creator):      def addFolder(self,path,folder_name,description,archive_creation_date,creator):
         """add the folder to the filesystem and write the metadata files"""          """add the folder to the filesystem and write the metadata files"""
Line 174  class OSAS_StoreOnline(SimpleItem): Line 175  class OSAS_StoreOnline(SimpleItem):
             indexmeta=dom.toxml()              indexmeta=dom.toxml()
         except:          except:
             indexmeta=""              indexmeta=""
               
         self.REQUEST.SESSION['indexmeta']=indexmeta          self.REQUEST.SESSION['indexmeta']=indexmeta
         self.REQUEST.SESSION['path']=path          self.REQUEST.SESSION['path']=path
         newtemplate=PageTemplateFile('Products/OSA_system/editindex').__of__(self)          newtemplate=PageTemplateFile('Products/OSA_system/editindex').__of__(self)
Line 887  def getBib(nodelist): Line 889  def getBib(nodelist):
     return rc+"</table>"      return rc+"</table>"
   
 def getMetafile(path):  def getMetafile(path):
     """get index.meta"""      """get index.meta and translate it to an HTML"""
     html=[]      html=[]
     if not os.path.exists(path+"/index.meta"):      if not os.path.exists(path+"/index.meta"):
                       

Removed from v.1.13  
changed lines
  Added in v.1.14


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>