Mercurial > hg > documentViewer
changeset 370:33adbe140534
*** empty log message ***
author | abukhman |
---|---|
date | Mon, 25 Oct 2010 12:23:25 +0200 |
parents | dc71a34f96a7 |
children | 139432a41244 |
files | MpdlXmlTextServer.py |
diffstat | 1 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/MpdlXmlTextServer.py Mon Oct 25 12:22:15 2010 +0200 +++ b/MpdlXmlTextServer.py Mon Oct 25 12:23:25 2010 +0200 @@ -212,11 +212,11 @@ textmode = "textPollux" else: textmode = mode - logging.debug("documentViewer highlightQuery: %s"%(highlightQuery)) + #logging.debug("documentViewer highlightQuery: %s"%(highlightQuery)) textParam = "document=%s&mode=%s&pn=%s&characterNormalization=%s"%(docpath,textmode,pn,characterNormalization) - #if highlightQuery is not None: - # textParam +="&highlightQuery=%s&sn=%s"%(urllib.quote(highlightQuery),sn) - + if highlightQuery is not None: + textParam +="&highlightQuery=%s&sn=%s"%(urllib.quote(highlightQuery),sn) + logging.debug("documentViewer highlightQuery: %s"%(highlightQuery)) pagexml = self.getServerData("page-fragment.xql",textParam) #pagexml=self.template.fulltextclient.eval("/mpdl/interface/page-fragment.xql", textParam, outputUnicode=False)