changeset 256:ad1458aff8a6

*** empty log message ***
author abukhman
date Wed, 13 Oct 2010 17:35:41 +0200
parents ce129cc3e031
children d1eb63cf3410
files MpdlXmlTextServer.py documentViewer.py
diffstat 2 files changed, 5 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/MpdlXmlTextServer.py	Wed Oct 13 17:18:02 2010 +0200
+++ b/MpdlXmlTextServer.py	Wed Oct 13 17:35:41 2010 +0200
@@ -157,8 +157,7 @@
             if hrefNode:
                 href= hrefNode.nodeValue
                 if href.startswith('id='):
-                    hrefNode.nodeValue = href.replace('id=',"?")
-                                
+                    hrefNode.nodeValue = href.replace('id=',"?")                      
         return serializeNode(pagenode)
     
     def getTextPage(self, mode="text", pn=1, docinfo=None, pageinfo=None, highlightQuery=None,sn=None, viewMode=None, tocMode=None, tocPN=None, characterNormalization=""):
--- a/documentViewer.py	Wed Oct 13 17:18:02 2010 +0200
+++ b/documentViewer.py	Wed Oct 13 17:35:41 2010 +0200
@@ -185,6 +185,10 @@
     def getSearch(self, **args):
         """get search"""
         return self.template.fulltextclient.getSearch(**args)
+    
+    def getGisPlaces(self, **args):
+        """get search"""
+        return self.template.fulltextclient.getGisPlaces(**args)
 
     def getNumPages(self, docinfo):
         """get numpages"""