Changeset 634:618b600c805a in documentViewer
- Timestamp:
- Aug 17, 2015, 2:14:38 PM (9 years ago)
- Branch:
- default
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
documentViewer.py
r631 r634 552 552 if url.startswith('/mpiwg/online/'): 553 553 docUrl = url.replace('/mpiwg/online/', '', 1) 554 554 555 elif mode=="textpath": 555 556 #url points to an textfile … … 561 562 try: 562 563 metaDom = self.metadataService.getDomFromPathOrUrl(docUrl) 563 564 564 removeINDEXMETA_NS(metaDom) 565 566 567 565 568 566 except: 569 567 metaDom = None 568 570 569 #metaDom = self.metadataService.getDomFromPathOrUrl(docUrl) 571 570 #docinfo['imagePath'] = url.replace('/mpiwg/online', '', 1) … … 587 586 # url points to folder with images, index.meta optional 588 587 # asssume index.meta in parent dir 589 588 docUrl = getParentPath(url) 590 589 metaDom = self.metadataService.getDomFromPathOrUrl(docUrl) 591 592 590 docinfo['imagePath'] = url.replace('/mpiwg/online', '', 1) 593 591 … … 625 623 626 624 if metaDom is not None and (metaDom.tag == 'resource' or metaDom.tag == "{%s}resource"%INDEXMETA_NS): 627 print("MD")628 625 # document directory name and path 629 626 resource = self.metadataService.getResourceData(dom=metaDom, recursive=1) -
version.txt
r609 r634 1 DocumentViewer 2.2.1 11 DocumentViewer 2.2.12
Note: See TracChangeset
for help on using the changeset viewer.