Mercurial > hg > documentViewer
comparison MpdlXmlTextServer.py @ 270:4c79d0f9b185
*** empty log message ***
author | abukhman |
---|---|
date | Thu, 14 Oct 2010 11:14:31 +0200 |
parents | 9745aa95b82d |
children | fb13d8054a23 |
comparison
equal
deleted
inserted
replaced
269:9745aa95b82d | 270:4c79d0f9b185 |
---|---|
157 logging.debug("documentViewer getGisPlaces (characterNormalization) l:%s"%(l)) | 157 logging.debug("documentViewer getGisPlaces (characterNormalization) l:%s"%(l)) |
158 if hrefNode: | 158 if hrefNode: |
159 href= hrefNode.nodeValue | 159 href= hrefNode.nodeValue |
160 if href.startswith('N'): | 160 if href.startswith('N'): |
161 #hrefNode.nodeValue = href.replace('id=',"?") | 161 #hrefNode.nodeValue = href.replace('id=',"?") |
162 logging.debug("documentViewer getGisPlaces (characterNormalization) hrefNode.nodeValue:%s"%(hrefNode.nodeValue)) | 162 #logging.debug("documentViewer getGisPlaces (characterNormalization) hrefNode.nodeValue:%s"%(hrefNode.nodeValue)) |
163 logging.debug("documentViewer getGisPlaces (characterNormalization) href:%s"%(href)) | 163 logging.debug("documentViewer getGisPlaces (characterNormalization) href:%s"%(href)) |
164 logging.debug("documentViewer getGisPlaces ALL GIS TOGETHER href:%s"%(href)) | 164 logging.debug("ALL GIS TOGETHER href:%s"%(href)) |
165 logging.debug("ALL GIS TOGETHER href:%s"%(href)) | |
166 logging.debug("documentViewer getGisPlaces ALL GIS TOGETHER href:%s"%(href[i])) | |
165 return serializeNode(href) | 167 return serializeNode(href) |
166 | 168 |
167 def getTextPage(self, mode="text", pn=1, docinfo=None, pageinfo=None, highlightQuery=None,sn=None, viewMode=None, tocMode=None, tocPN=None, characterNormalization=""): | 169 def getTextPage(self, mode="text", pn=1, docinfo=None, pageinfo=None, highlightQuery=None,sn=None, viewMode=None, tocMode=None, tocPN=None, characterNormalization=""): |
168 """returns single page from fulltext""" | 170 """returns single page from fulltext""" |
169 docpath = docinfo['textURLPath'] | 171 docpath = docinfo['textURLPath'] |