Mercurial > hg > documentViewer
comparison documentViewer.py @ 55:ba8917b93c84
fixed bug in fix for missing getauthinfo in getdocinfofromtexttool
author | casties |
---|---|
date | Thu, 03 May 2007 19:35:10 +0200 |
parents | f87b6844503b |
children | 7cdb0fc34a92 |
comparison
equal
deleted
inserted
replaced
54:f87b6844503b | 55:ba8917b93c84 |
---|---|
407 # presentation url ergiebt sich ersetzen von index.meta in der url der fŸr die Metadaten | 407 # presentation url ergiebt sich ersetzen von index.meta in der url der fŸr die Metadaten |
408 # durch den relativen Pfad auf die presentation infos | 408 # durch den relativen Pfad auf die presentation infos |
409 presentationUrl=url.replace('index.meta',getTextFromNode(presentationUrls[0])) | 409 presentationUrl=url.replace('index.meta',getTextFromNode(presentationUrls[0])) |
410 docinfo = self.getBibinfoFromTextToolPresentation(presentationUrl,docinfo=docinfo,dom=dom) | 410 docinfo = self.getBibinfoFromTextToolPresentation(presentationUrl,docinfo=docinfo,dom=dom) |
411 | 411 |
412 docinfo = self.getAuthinfoFromIndexMeta(path,docinfo=docinfo) | 412 docinfo = self.getAuthinfoFromIndexMeta(url,docinfo=docinfo,dom=dom) # get access info |
413 return docinfo | 413 return docinfo |
414 | 414 |
415 | 415 |
416 def getBibinfoFromTextToolPresentation(self,url,docinfo=None,dom=None): | 416 def getBibinfoFromTextToolPresentation(self,url,docinfo=None,dom=None): |
417 """gets the bibliographical information from the preseantion entry in texttools | 417 """gets the bibliographical information from the preseantion entry in texttools |