Changeset 559:eabfbad6aeb4 in documentViewer for MpdlXmlTextServer.py
- Timestamp:
- Sep 28, 2012, 4:50:59 PM (12 years ago)
- Branch:
- default
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
MpdlXmlTextServer.py
r554 r559 51 51 url = self.serverUrl+method 52 52 return getHttpData(url,data,timeout=self.timeout) 53 54 55 def getTextDownloadUrl(self, type='xml', docinfo=None): 56 """returns a URL to download the current text""" 57 docpath = docinfo.get('textURLPath', None) 58 if not docpath: 59 return None 60 61 docpath = docpath.replace('.xml','.'+type) 62 url = '%sgetDoc?doc=%s'%(self.serverUrl.replace('interface/',''), docpath) 63 return url 53 64 54 65
Note: See TracChangeset
for help on using the changeset viewer.