changeset 393:bb317af1c197

*** empty log message ***
author abukhman
date Wed, 03 Nov 2010 15:59:05 +0100
parents 9b2adae6c6e2
children ce9fa69f81c3
files MpdlXmlTextServer.py
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/MpdlXmlTextServer.py	Tue Nov 02 16:51:41 2010 +0100
+++ b/MpdlXmlTextServer.py	Wed Nov 03 15:59:05 2010 +0100
@@ -139,6 +139,9 @@
         docinfo['numPages']=int(getTextFromNode(result[0]))
         return docinfo
     
+    #def getQueryResultHits(self, docinfo=None, pageinfo=None):
+        
+    
     def getGisPlaces(self, docinfo=None, pageinfo=None):
         """ Show all Gis Places of whole Page"""
         xpath='//place'
@@ -348,6 +351,7 @@
          pagedom = Parse(pagexml)
          numdivs = pagedom.xpath("//div[@class='queryResultHits']")
          tocSearch = int(getTextFromNode(numdivs[0]))
+         logging.debug("documentViewer (gettoc) tocSearch: %s"%(tocSearch))
          tc=int((tocSearch/10)+1)
          logging.debug("documentViewer (gettoc) tc: %s"%(tc))
          return tc