Mercurial > hg > documentViewer
comparison documentViewer.py @ 205:1fc7d73ce7ce
*** empty log message ***
author | abukhman |
---|---|
date | Tue, 05 Oct 2010 16:58:34 +0200 |
parents | ab1ab4ad4b65 |
children | 66f334ec3256 |
comparison
equal
deleted
inserted
replaced
204:ab1ab4ad4b65 | 205:1fc7d73ce7ce |
---|---|
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.getNumPages(docinfo) | 618 docinfo = self.getNumTextPages(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 |