comparison MpdlXmlTextServer.py @ 303:53f73933d5b6

*** empty log message ***
author abukhman
date Thu, 14 Oct 2010 16:50:09 +0200
parents 4d3ec94f135d
children 8f8d8cb83aa8
comparison
equal deleted inserted replaced
302:4d3ec94f135d 303:53f73933d5b6
159 myList = ",".join(hrefList) 159 myList = ",".join(hrefList)
160 #hoho =hrefList.replace('','') 160 #hoho =hrefList.replace('','')
161 #probe =href.replace('chinagis_REST/REST/db/chgis/mpdl','chinagis/REST/db/mpdl/%s'%name) 161 #probe =href.replace('chinagis_REST/REST/db/chgis/mpdl','chinagis/REST/db/mpdl/%s'%name)
162 #l.setAttributeNS(None, 'target', '_blank') 162 #l.setAttributeNS(None, 'target', '_blank')
163 #logging.debug("getGisPlaces :%s"%(myList)) 163 #logging.debug("getGisPlaces :%s"%(myList))
164 return serializeNode(myList) 164 return "myList"
165 165
166 def getTextPage(self, mode="text", pn=1, docinfo=None, pageinfo=None, highlightQuery=None,sn=None, viewMode=None, tocMode=None, tocPN=None, characterNormalization=""): 166 def getTextPage(self, mode="text", pn=1, docinfo=None, pageinfo=None, highlightQuery=None,sn=None, viewMode=None, tocMode=None, tocPN=None, characterNormalization=""):
167 """returns single page from fulltext""" 167 """returns single page from fulltext"""
168 docpath = docinfo['textURLPath'] 168 docpath = docinfo['textURLPath']
169 path = docinfo['textURLPath'] 169 path = docinfo['textURLPath']