comparison MpiwgXmlTextServer.py @ 587:6000c7e24d8a

new parameter "pf" to specify image file name. (still some issues)
author casties
date Thu, 15 Nov 2012 17:09:45 +0100
parents ca0274423382
children 7962e6891d99
comparison
equal deleted inserted replaced
586:230ba358da3c 587:6000c7e24d8a
195 195
196 docpath = docinfo.get('textURLPath', None) 196 docpath = docinfo.get('textURLPath', None)
197 if not docpath: 197 if not docpath:
198 return None 198 return None
199 199
200 # just checking
201 if pageinfo['current'] != pn:
202 logging.warning("getTextPage: current!=pn!")
203
204 # stuff for constructing full urls 200 # stuff for constructing full urls
205 selfurl = docinfo['viewerUrl'] 201 selfurl = docinfo['viewerUrl']
206 textParams = {'docId': docpath, 202 textParams = {'docId': docpath,
207 'page': pn} 203 'page': pn}
208 204