Changeset 79:df6952ac93e9 in documentViewer
- Timestamp:
- Mar 9, 2009, 8:37:19 AM (15 years ago)
- Branch:
- default
- Tags:
- Root_integrate_imageArchive
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
documentViewer.py
r78 r79 385 385 path=getParentDir(path) 386 386 dom = self.getIndexMeta(path) 387 387 388 logging.debug("documentViewer (getbibinfofromindexmeta cutted) path: %s"%(path)) 388 389 # put in all raw bib fields as dict "bib" 389 390 bib = dom.xpath("//bib/*") … … 540 541 docinfo=self.getDirinfoFromDigilib(path,docinfo=docinfo,cut=cut) 541 542 543 pathorig=path 542 544 for x in range(cut): 543 545 path=getParentDir(path) … … 546 548 docinfo['imageURL'] = imageUrl 547 549 548 docinfo = self.getBibinfoFromIndexMeta(path,docinfo=docinfo,cut=cut) 549 docinfo = self.getAuthinfoFromIndexMeta(path,docinfo=docinfo,cut=cut) 550 #path ist the path to the images it assumes that the index.meta file is one level higher. 551 docinfo = self.getBibinfoFromIndexMeta(pathorig,docinfo=docinfo,cut=cut+1) 552 docinfo = self.getAuthinfoFromIndexMeta(pathorig,docinfo=docinfo,cut=cut+1) 550 553 return docinfo 551 554
Note: See TracChangeset
for help on using the changeset viewer.