comparison documentViewer.py @ 635:8d460ddb45b7 default tip

update digilib dirInfo-xml path.
author casties
date Fri, 06 May 2016 18:59:35 +0200
parents 618b600c805a
children
comparison
equal deleted inserted replaced
634:618b600c805a 635:8d460ddb45b7
887 pass 887 pass
888 888
889 return docinfo 889 return docinfo
890 890
891 def getDocinfoFromDigilib(self, docinfo, path): 891 def getDocinfoFromDigilib(self, docinfo, path):
892 infoUrl=self.digilibBaseUrl+"/dirInfo-xml.jsp?fn="+path 892 infoUrl=self.digilibBaseUrl+"/api/dirInfo-xml.jsp?fn="+path
893 # fetch data 893 # fetch data
894 txt = getHttpData(infoUrl) 894 txt = getHttpData(infoUrl)
895 if not txt: 895 if not txt:
896 logging.error("Unable to get dir-info from %s"%(infoUrl)) 896 logging.error("Unable to get dir-info from %s"%(infoUrl))
897 return docinfo 897 return docinfo