Changeset 373:0aa294b31236 in documentViewer for MpdlXmlTextServer.py
- Timestamp:
- Oct 25, 2010, 10:35:27 AM (14 years ago)
- Branch:
- default
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
MpdlXmlTextServer.py
r372 r373 206 206 highlightQuery = pageinfo['highlightQuery'] 207 207 tocMode = pageinfo['tocMode'] 208 sn =pageinfo['sn'] 208 209 characterNormalization=pageinfo['characterNormalization'] 209 210 tocPN = pageinfo['tocPN'] … … 214 215 textmode = mode 215 216 #logging.debug("documentViewer highlightQuery: %s"%(highlightQuery)) 216 #textParam = "document=%s&mode=%s&pn=%s&characterNormalization=%s"%(docpath,textmode,pn,characterNormalization) 217 textParam = "document=%s&mode=%s&pn=%s&characterNormalization=%s&highlightQuery=%s&sn=%s"%(docpath,textmode,pn,characterNormalization, highlightQuery, sn) 217 textParam = "document=%s&mode=%s&pn=%s&characterNormalization=%s"%(docpath,textmode,pn,characterNormalization) 218 218 if highlightQuery is not None: 219 #textParam +="&highlightQuery=%s&sn=%s"%(urllib.quote(highlightQuery),sn)220 textParam = "document=%s&mode=%s&pn=%s&characterNormalization=%s&highlightQuery=%s&sn=%s"%(docpath,textmode,pn,characterNormalization, highlightQuery, sn)219 textParam +="&highlightQuery=%s&sn=%s"%(urllib.quote(highlightQuery),sn) 220 #textParam = "document=%s&mode=%s&pn=%s&characterNormalization=%s&highlightQuery=%s&sn=%s"%(docpath,textmode,pn,characterNormalization, highlightQuery, sn) 221 221 logging.debug("documentViewer highlightQuery: %s"%(highlightQuery)) 222 222 pagexml = self.getServerData("page-fragment.xql",textParam)
Note: See TracChangeset
for help on using the changeset viewer.