--- OSAS/OSA_system/OSAS_show.py 2004/04/15 21:30:42 1.21 +++ OSAS/OSA_system/OSAS_show.py 2004/04/17 15:09:09 1.22 @@ -230,8 +230,13 @@ class OSAS_StoreOnline(SimpleItem): dom=xml.dom.minidom.parse(path+"/index.meta") node=dom.getElementsByTagName('texttool')[0] #getNode subnode=node.getElementsByTagName(name)[0] - - return getText(subnode.childNodes) + + # bei text wird nur der Folder gebraucht + if name=="text": + splitted=getText(subnode.childNodes).split("/") + return splitted[len(splitted)-2] + else: + return getText(subnode.childNodes) except: return default