--- documentViewer/documentViewer.py 2006/09/09 10:52:59 1.18 +++ documentViewer/documentViewer.py 2006/09/11 14:43:09 1.19 @@ -340,6 +340,9 @@ class documentViewer(Folder): textUrls=dom.xpath("//texttool/text") if textUrls and (len(textUrls)>0): textUrl=getTextFromNode(textUrls[0]) + if urlparse.urlparse(textUrl)[0]=="": #keine url + textUrl=os.path.join(archivePath,textUrl) + docinfo['textURL'] = textUrl docinfo = self.getBibinfoFromIndexMeta(url,docinfo=docinfo,dom=dom)