changeset 330:c81509acead9

*** empty log message ***
author abukhman
date Mon, 18 Oct 2010 11:32:22 +0200
parents b4a5ceb7905d
children 6cde7f02786e
files documentViewer.py
diffstat 1 files changed, 1 insertions(+), 9 deletions(-) [+]
line wrap: on
line diff
--- 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):