version 1.26, 2004/07/23 17:51:53
|
version 1.27, 2004/08/19 19:01:17
|
Line 200 class OSAS_StoreOnline(SimpleItem):
|
Line 200 class OSAS_StoreOnline(SimpleItem):
|
"""Editiere das Index Metafile""" |
"""Editiere das Index Metafile""" |
try: |
try: |
dom=xml.dom.minidom.parse(path+"/index.meta") |
dom=xml.dom.minidom.parse(path+"/index.meta") |
indexmeta=dom.toxml() |
indexmeta=dom.toxml(encoding='UTF-8') |
except: |
except: |
indexmeta="" |
indexmeta="" |
|
|
Line 963 def getBib(nodelist):
|
Line 963 def getBib(nodelist):
|
|
|
if node.nodeType == node.ELEMENT_NODE: |
if node.nodeType == node.ELEMENT_NODE: |
"""nothing""" |
"""nothing""" |
|
|
rc = rc+"<tr><td valign='right'>"+str(node.nodeName)+":</td><td> "+getText(node.childNodes)+"</td></tr>" |
rc = rc+"<tr><td valign='right'>"+str(node.nodeName)+":</td><td> "+getText(node.childNodes)+"</td></tr>" |
|
|
#print rc |
#print rc |
return rc+"</table>" |
return rc+"</table>" |
|
|
Line 1022 def getMetafile(path):
|
Line 1024 def getMetafile(path):
|
|
|
# html=html.encode('utf-8','replace')+getBib(bib.childNodes).encode('utf-8','replace') |
# html=html.encode('utf-8','replace')+getBib(bib.childNodes).encode('utf-8','replace') |
|
|
return html |
return html.encode('utf-8') |
|
|
def hasMetafile(path): |
def hasMetafile(path): |
"""get index.meta""" |
"""get index.meta""" |