Mercurial > hg > documentViewer
comparison documentViewer.py @ 204:ab1ab4ad4b65
*** empty log message ***
author | abukhman |
---|---|
date | Tue, 05 Oct 2010 14:56:02 +0200 |
parents | 1737b7eb7945 |
children | 1fc7d73ce7ce |
comparison
equal
deleted
inserted
replaced
203:1737b7eb7945 | 204:ab1ab4ad4b65 |
---|---|
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.getTextPages(docinfo) | 618 docinfo = self.getNumPages(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 |