comparison documentViewer.py @ 203:1737b7eb7945

*** empty log message ***
author abukhman
date Tue, 05 Oct 2010 14:25:32 +0200
parents cffaec9bc5ad
children ab1ab4ad4b65
comparison
equal deleted inserted replaced
202:fe98a8867edb 203:1737b7eb7945
613 if textUrls and (len(textUrls) > 0): 613 if textUrls and (len(textUrls) > 0):
614 textUrl = getTextFromNode(textUrls[0]) 614 textUrl = getTextFromNode(textUrls[0])
615 docinfo['textURLPath'] = textUrl 615 docinfo['textURLPath'] = textUrl
616 if not docinfo['imagePath']: 616 if not docinfo['imagePath']:
617 # text-only, no page images 617 # text-only, no page images
618 docinfo = self.getNumTextPages(docinfo) 618 docinfo = self.getTextPages(docinfo)
619 619
620 presentationUrls = dom.xpath("//texttool/presentation") 620 presentationUrls = dom.xpath("//texttool/presentation")
621 docinfo = self.getBibinfoFromIndexMeta(url, docinfo=docinfo, dom=dom) # get info von bib tag 621 docinfo = self.getBibinfoFromIndexMeta(url, docinfo=docinfo, dom=dom) # get info von bib tag
622 622
623 if presentationUrls and (len(presentationUrls) > 0): # ueberschreibe diese durch presentation informationen 623 if presentationUrls and (len(presentationUrls) > 0): # ueberschreibe diese durch presentation informationen