Mercurial > hg > documentViewer
comparison documentViewer.py @ 568:694935574177
more new MpiwgXmlTextServer.
author | casties |
---|---|
date | Thu, 11 Oct 2012 18:27:14 +0200 |
parents | 4a31608f8b0e |
children | f1906951be2a |
comparison
equal
deleted
inserted
replaced
567:8b1e20bf300d | 568:694935574177 |
---|---|
586 | 586 |
587 # texttool info | 587 # texttool info |
588 texttool = self.metadataService.getTexttoolData(dom=metaDom, recursive=1, all=True) | 588 texttool = self.metadataService.getTexttoolData(dom=metaDom, recursive=1, all=True) |
589 if texttool: | 589 if texttool: |
590 docinfo = self.getDocinfoFromTexttool(docinfo, texttool) | 590 docinfo = self.getDocinfoFromTexttool(docinfo, texttool) |
591 # document info (including toc) from full text | 591 # document info from full text server |
592 if docinfo.get('textURLPath', None): | 592 if docinfo.get('textURLPath', None): |
593 docinfo = self.getTextInfo(mode=None, docinfo=docinfo) | 593 docinfo = self.getTextInfo(mode=None, docinfo=docinfo) |
594 # include list of pages TODO: do we need this always? | |
595 docinfo = self.getTextInfo(mode='pages', docinfo=docinfo) | |
594 | 596 |
595 # bib info | 597 # bib info |
596 bib = self.metadataService.getBibData(dom=metaDom) | 598 bib = self.metadataService.getBibData(dom=metaDom) |
597 if bib: | 599 if bib: |
598 # save extended version as 'bibx' TODO: ugly | 600 # save extended version as 'bibx' TODO: ugly |