# HG changeset patch # User abukhman # Date 1286984141 -7200 # Node ID ad1458aff8a6bd9273efbd81f03e246b78a3efd6 # Parent ce129cc3e03121968535a35684a9580c75cdaa17 *** empty log message *** diff -r ce129cc3e031 -r ad1458aff8a6 MpdlXmlTextServer.py --- 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=""): diff -r ce129cc3e031 -r ad1458aff8a6 documentViewer.py --- 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"""