--- OSAS/OSA_system/OSAS_Root.py 2004/08/19 19:01:17 1.15 +++ OSAS/OSA_system/OSAS_Root.py 2004/10/04 12:57:03 1.16 @@ -102,11 +102,12 @@ class OSAS_Root(Folder,Implicit): #print xml_url xmlneu=urllib.urlopen(xml_url).read() + try: dom=xml.dom.minidom.parseString(xmlneu) except: print "Error" - print xmlneu + return repr(xml_url) return "error" path=re.sub(self.REQUEST['SERVER_URL'],'',index_meta_url) @@ -118,7 +119,9 @@ class OSAS_Root(Folder,Implicit): path=re.sub('http://foxridge.mpiwg-berlin.mpg.de','',path) # falls foxridge als server path=re.sub('http://content.mpiwg-berlin.mpg.de','',path) # falls content als server - + path=re.sub('http://vision.mpiwg-berlin.mpg.de','',path) # falls vision als server + path=re.sub('http://echo.mpiwg-berlin.mpg.de','',path) # falls echo +# path=re.sub('//','/',path) # falls echo fh=open(path,'w') fh.write(xmlneu)