version 1.144, 2010/10/15 10:26:18
|
version 1.145, 2010/10/15 10:30:52
|
Line 157 class MpdlXmlTextServer(SimpleItem):
|
Line 157 class MpdlXmlTextServer(SimpleItem):
|
href= hrefNode.nodeValue |
href= hrefNode.nodeValue |
hrefList.append(href) |
hrefList.append(href) |
myList = ",".join(hrefList) |
myList = ",".join(hrefList) |
|
logging.debug("getGisPlaces :%s"%(myList)) |
return myList |
return myList |
|
|
|
|
def getAllGisPlaces (self, docinfo=None, pageinfo=None): |
def getAllGisPlaces (self, docinfo=None, pageinfo=None): |
"""Show all Gis Places of whole Book """ |
"""Show all Gis Places of whole Book """ |
xpath ='//echo:place' |
xpath ='//echo:place' |
Line 177 class MpdlXmlTextServer(SimpleItem):
|
Line 177 class MpdlXmlTextServer(SimpleItem):
|
href= hrefNode.nodeValue |
href= hrefNode.nodeValue |
hrefList.append(href) |
hrefList.append(href) |
myList = ",".join(hrefList) |
myList = ",".join(hrefList) |
|
logging.debug("getALLGisPlaces :%s"%(myList)) |
return myList |
return myList |
|
|
|
|
def getTextPage(self, mode="text", pn=1, docinfo=None, pageinfo=None, highlightQuery=None,sn=None, viewMode=None, tocMode=None, tocPN=None, characterNormalization=""): |
def getTextPage(self, mode="text", pn=1, docinfo=None, pageinfo=None, highlightQuery=None,sn=None, viewMode=None, tocMode=None, tocPN=None, characterNormalization=""): |
"""returns single page from fulltext""" |
"""returns single page from fulltext""" |
docpath = docinfo['textURLPath'] |
docpath = docinfo['textURLPath'] |