Diff for /ECHO_content/ECHO_helpers.py between versions 1.39 and 1.41

version 1.39, 2005/02/07 12:25:54 version 1.41, 2005/02/07 19:40:37
Line 33  def content_html(self,type): Line 33  def content_html(self,type):
   
 class ECHO_basis:  class ECHO_basis:
     """basis eigenschaften fuer echo objekte"""      """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):      def showRDF(self):
         """showrdf"""          """showrdf"""
             self.REQUEST.RESPONSE.setHeader('Content-Type','text/xml')              self.REQUEST.RESPONSE.setHeader('Content-Type','text/xml')
Line 814  def readMetadata(url): Line 821  def readMetadata(url):
         for node in metacontent:          for node in metacontent:
         try:          try:
             #print urllib.unquote(getText(node.childNodes)),getText(node.childNodes)              #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:          except:
             """nothing"""              """nothing"""
   

Removed from v.1.39  
changed lines
  Added in v.1.41


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>