Mercurial > hg > documentViewer
comparison documentViewer.py @ 228:9306c8d0dc4a
*** empty log message ***
author | abukhman |
---|---|
date | Fri, 08 Oct 2010 16:04:30 +0200 |
parents | fd9aa1d0941a |
children | 833de3f54e47 |
comparison
equal
deleted
inserted
replaced
227:fd9aa1d0941a | 228:9306c8d0dc4a |
---|---|
641 # text-only, no page images | 641 # text-only, no page images |
642 docinfo = self.getNumTextPages(docinfo) | 642 docinfo = self.getNumTextPages(docinfo) |
643 | 643 |
644 presentationUrls = dom.xpath("//texttool/presentation") | 644 presentationUrls = dom.xpath("//texttool/presentation") |
645 docinfo = self.getBibinfoFromIndexMeta(url, docinfo=docinfo, dom=dom) # get info von bib tag | 645 docinfo = self.getBibinfoFromIndexMeta(url, docinfo=docinfo, dom=dom) # get info von bib tag |
646 #docinfo = self.getNameFromIndexMeta(url, docinfo=docinfo, dom=dom) | 646 docinfo = self.getNameFromIndexMeta(url, docinfo=docinfo, dom=dom) |
647 | 647 |
648 if presentationUrls and (len(presentationUrls) > 0): # ueberschreibe diese durch presentation informationen | 648 if presentationUrls and (len(presentationUrls) > 0): # ueberschreibe diese durch presentation informationen |
649 # presentation url ergiebt sich ersetzen von index.meta in der url der fuer die Metadaten | 649 # presentation url ergiebt sich ersetzen von index.meta in der url der fuer die Metadaten |
650 # durch den relativen Pfad auf die presentation infos | 650 # durch den relativen Pfad auf die presentation infos |
651 presentationPath = getTextFromNode(presentationUrls[0]) | 651 presentationPath = getTextFromNode(presentationUrls[0]) |