--- ECHO_content/ECHO_helpers.py 2005/02/07 12:25:54 1.39 +++ ECHO_content/ECHO_helpers.py 2005/02/07 19:40:37 1.41 @@ -33,6 +33,13 @@ def content_html(self,type): class ECHO_basis: """basis eigenschaften fuer echo objekte""" + security=ClassSecurityInfo() + security.declarePublic('getImageTag') + def getImageTag(self): + """sollte uerberschrieben werden, falls von der Klasse eine imagetag zurueckkommt""" + + return "" + def showRDF(self): """showrdf""" self.REQUEST.RESPONSE.setHeader('Content-Type','text/xml') @@ -814,7 +821,9 @@ def readMetadata(url): for node in metacontent: try: #print urllib.unquote(getText(node.childNodes)),getText(node.childNodes) - metadict[re.sub('-','_',node.tagName.lower())]=urllib.unquote(getText(node.childNodes)) + #metadict[re.sub('-','_',node.tagName.lower())]=urllib.unquote(getText(node.childNodes)) + metadict[re.sub('-','_',node.tagName.lower())]=getText(node.childNodes) + except: """nothing"""