Changeset 330:c81509acead9 in documentViewer
- Timestamp:
- Oct 18, 2010, 9:32:22 AM (14 years ago)
- Branch:
- default
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
documentViewer.py
r327 r330 569 569 path=getParentDir(path) 570 570 dom = self.getDomFromIndexMeta(path) 571 572 #docinfo['indexMetaPath']=self.getIndexMetaPath(path); 573 574 #result= dom.xpath("//result/resultPage") 575 #docinfo['numPages']=int(getTextFromNode(result[0])) 576 577 #result =dom.xpath("//name") 571 578 572 docinfo['name']=getTextFromNode(dom.xpath("/resource/name")[0]) 579 573 logging.debug("documentViewer docinfo[name] %s"%docinfo['name']) 580 581 #logging.debug("documentViewer (getbibinfofromindexmeta) using mapping for %s"%bibtype)582 574 return docinfo 583 575
Note: See TracChangeset
for help on using the changeset viewer.