Changeset 330:c81509acead9 in documentViewer


Ignore:
Timestamp:
Oct 18, 2010, 9:32:22 AM (14 years ago)
Author:
abukhman
Branch:
default
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • documentViewer.py

    r327 r330  
    569569                path=getParentDir(path)
    570570            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
    578572        docinfo['name']=getTextFromNode(dom.xpath("/resource/name")[0])
    579573        logging.debug("documentViewer docinfo[name] %s"%docinfo['name'])
    580            
    581                 #logging.debug("documentViewer (getbibinfofromindexmeta) using mapping for %s"%bibtype)
    582574        return docinfo
    583575   
Note: See TracChangeset for help on using the changeset viewer.