comparison MpdlXmlTextServer.py @ 305:55eeee76bce8

*** empty log message ***
author abukhman
date Thu, 14 Oct 2010 16:53:14 +0200
parents 8f8d8cb83aa8
children ec293c61f8a9
comparison
equal deleted inserted replaced
304:8f8d8cb83aa8 305:55eeee76bce8
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 "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']