# HG changeset patch # User abukhman # Date 1317118244 -7200 # Node ID 3029dac787540fbaa699953232dd06c3d05d3c3f # Parent 6c11f3ec86984479c985b963f3c0686ed0f9935e *** empty log message *** diff -r 6c11f3ec8698 -r 3029dac78754 MpdlXmlTextServer.py --- a/MpdlXmlTextServer.py Wed Aug 31 15:55:17 2011 +0200 +++ b/MpdlXmlTextServer.py Tue Sep 27 12:10:44 2011 +0200 @@ -202,12 +202,13 @@ characterNormalization=pageinfo['characterNormalization'] tocPN = pageinfo['tocPN'] selfurl = self.absolute_url() + if mode == "text_dict": textmode = "textPollux" else: textmode = mode - textParam = "document=%s&mode=%s&pn=%s&characterNormalization=%s&options=withXmlNodeId&xpointer=%s"%(docpath,textmode,pn,characterNormalization, xpointer) + textParam = "document=%s&mode=%s&pn=%s&characterNormalization=%s&xpointer=%s&options=withIdentifier"%(docpath,textmode,pn,characterNormalization, xpointer) if highlightQuery is not None: #textParam +="&highlightQuery=%s&sn=%s"%(urllib.quote(highlightQuery),sn) textParam +="&highlightQuery=%s&s=%s&highlightElement=%s&highlightElementPos=%s"%(urllib.quote(highlightQuery),s, highlightElement, highlightElementPos)