--- OSA_system2/OSAS_helpers.py 2004/12/23 08:30:56 1.2 +++ OSA_system2/OSAS_helpers.py 2004/12/23 10:48:28 1.3 @@ -2,6 +2,7 @@ import os.path from types import * import xml.dom.minidom +import zLOG OSASObjectTypes=['OSAS_metaDataFile','OSAS_dir','OSAS_file','OSAS_imageFolder','OSAS_dir_archive','OSAS_file_archive'] OSASExcludedFiles=['TheVolumeSettingsFolder','TheFindByContentFolder'] @@ -64,8 +65,9 @@ def getMetaInfoFromXML(path,xmlInfo): """none""" # html=html.encode('utf-8','replace')+getBib(bib.childNodes).encode('utf-8','replace') - - return html.encode('utf-8') + + + return html def getMetaFile(self,path): """get index.meta and translate it to HTML""" @@ -122,7 +124,7 @@ def getMetaFile(self,path): # html=html.encode('utf-8','replace')+getBib(bib.childNodes).encode('utf-8','replace') - return html.encode('utf-8') + return html def getBib(nodelist): """ translate bibliographical entries """