Mercurial > hg > documentViewer
comparison MpdlXmlTextServer.py @ 169:21ac9164eedf
characterNormalization
author | abukhman |
---|---|
date | Tue, 24 Aug 2010 15:15:59 +0200 |
parents | 7e2b97941a66 |
children | caf66e1fccd3 |
comparison
equal
deleted
inserted
replaced
168:6f31a7c37914 | 169:21ac9164eedf |
---|---|
50 highlightQuery = pageinfo['highlightQuery'] | 50 highlightQuery = pageinfo['highlightQuery'] |
51 query =pageinfo['query'] | 51 query =pageinfo['query'] |
52 queryType =pageinfo['queryType'] | 52 queryType =pageinfo['queryType'] |
53 viewMode= pageinfo['viewMode'] | 53 viewMode= pageinfo['viewMode'] |
54 tocMode = pageinfo['tocMode'] | 54 tocMode = pageinfo['tocMode'] |
55 #characterNormalization = pageinfo ['characterNormalization'] | 55 characterNormalization = pageinfo['characterNormalization'] |
56 tocPN = pageinfo['tocPN'] | 56 tocPN = pageinfo['tocPN'] |
57 selfurl = self.absolute_url() | 57 selfurl = self.absolute_url() |
58 | 58 |
59 data = self.getServerData("doc-query.xql","document=%s&mode=%s&queryType=%s&query=%s&queryResultPageSize=%s&queryResultPN=%s&sn=%s&viewMode=%s&highlightQuery=%s"%(docpath, 'text', queryType, query, pagesize, pn, sn, viewMode,highlightQuery)) | 59 data = self.getServerData("doc-query.xql","document=%s&mode=%s&queryType=%s&query=%s&queryResultPageSize=%s&queryResultPN=%s&sn=%s&viewMode=%s&highlightQuery=%s"%(docpath, 'text', queryType, query, pagesize, pn, sn, viewMode,highlightQuery)) |
60 #page=self.template.fulltextclient.eval("/mpdl/interface/doc-query.xql","document=%s&mode=%s&queryType=%s&query=%s&queryResultPageSize=%s&queryResultPN=%s&sn=%s&viewMode=%s&highlightQuery=%s"%(docpath, 'text', queryType, query, pagesize, pn, sn, viewMode,highlightQuery) ,outputUnicode=False) | 60 #page=self.template.fulltextclient.eval("/mpdl/interface/doc-query.xql","document=%s&mode=%s&queryType=%s&query=%s&queryResultPageSize=%s&queryResultPN=%s&sn=%s&viewMode=%s&highlightQuery=%s"%(docpath, 'text', queryType, query, pagesize, pn, sn, viewMode,highlightQuery) ,outputUnicode=False) |