# HG changeset patch # User abukhman # Date 1287394342 -7200 # Node ID c81509acead9f58c34fd6e6bcc14e3e46db76d21 # Parent b4a5ceb7905d847bc7d5d95a14d08538d13f4df3 *** empty log message *** diff -r b4a5ceb7905d -r c81509acead9 documentViewer.py --- a/documentViewer.py Mon Oct 18 11:30:56 2010 +0200 +++ b/documentViewer.py Mon Oct 18 11:32:22 2010 +0200 @@ -568,17 +568,9 @@ for x in range(cut): path=getParentDir(path) dom = self.getDomFromIndexMeta(path) - - #docinfo['indexMetaPath']=self.getIndexMetaPath(path); - - #result= dom.xpath("//result/resultPage") - #docinfo['numPages']=int(getTextFromNode(result[0])) - - #result =dom.xpath("//name") + docinfo['name']=getTextFromNode(dom.xpath("/resource/name")[0]) logging.debug("documentViewer docinfo[name] %s"%docinfo['name']) - - #logging.debug("documentViewer (getbibinfofromindexmeta) using mapping for %s"%bibtype) return docinfo def getDocinfoFromTextTool(self, url, dom=None, docinfo=None):