Changeset 477:17f0290b2327 in documentViewer
- Timestamp:
- Aug 10, 2011, 7:18:03 PM (14 years ago)
- Branch:
- elementtree
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
MpdlXmlTextServer.py
r476 r477 258 258 # seems to be text-only - update page count 259 259 docinfo['numPages'] = np 260 pageinfo['end'] = min(pageinfo['end'], np)260 #pageinfo['end'] = min(pageinfo['end'], np) 261 261 pageinfo['numgroups'] = int(np / pageinfo['groupsize']) 262 262 if np % pageinfo['groupsize'] > 0: -
documentViewer.py
r476 r477 177 177 logging.error("Unable to find MetaDataFolder 'metadata': "+str(e)) 178 178 179 if digilibBaseUrl is not None: 180 self.digilibBaseUrl = digilibBaseUrl 181 179 182 180 183 # proxy text server methods to fulltextclient … … 448 451 # add self url 449 452 docinfo['viewerUrl'] = self.getDocumentViewerURL() 453 docinfo['digilibBaseUrl'] = self.digilibBaseUrl 450 454 # get index.meta DOM 451 455 docUrl = None … … 516 520 # image path 517 521 if mode != 'texttool': 518 # override image path from texttool 522 # override image path from texttool with url 519 523 docinfo['imagePath'] = url.replace('/mpiwg/online/', '', 1) 524 525 520 526 521 527 # number of images from digilib -
zpt/changeDocumentViewer.zpt
r87 r477 18 18 <p class="form-text">Access groups (separated by ',') that are considered local, i.e. when a ressource restricts access 19 19 to one of these groups, local access to the ressource is granted.</p> 20 <p class="form-optional">Digilib base URL</p> 21 <p class="form-element"><input size="80" tal:attributes="value here/digilibBaseUrl | nothing" name="digilibBaseUrl"></p> 22 <p class="form-text">Leave empty for autoconfiguration.</p> 20 23 21 24 <p><input type="submit" value="change"></p>
Note: See TracChangeset
for help on using the changeset viewer.