--- ECHO_content/ECHO_collection.py 2009/04/17 13:58:40 1.305 +++ ECHO_content/ECHO_collection.py 2009/04/21 08:12:58 1.306 @@ -856,20 +856,24 @@ class ECHO_collection(CatalogAware, Fold if not urn: urn=self.absolute_url() - li="""\n""" + li="""\n""" for content in contents: try: ret+=content[1].getRDF()+"\n" except: - logging.error("getRDF: "+repr(content[1].getRDF())) - ret+=self.unicodify(content[1].getRDF())+"\n" - ret+="""\n"""%urn + logging.error("getrdf: "+repr(content[1].getRDF())) + try: + ret+=self.unicodify(content[1].getRDF())+"\n" + except: + logging.error("--still cannot do it") + ret+=repr(content[1].getRDF())+"\n" + ret+="""\n"""%urn for content in contents: nurn=content[1].absolute_url() ret+=li%nurn - return ret+"" + return ret+"" @@ -1617,17 +1621,17 @@ class ECHO_group(ECHO_collection): if not urn: urn=self.absolute_url() - li="""\n""" + li="""\n""" for content in contents: - ret+=content[1].getRDF()+"\n" + ret+=self.unicodify(content[1].getRDF())+"\n" - ret+="""\n"""%urn + ret+="""\n"""%urn for content in contents: nurn=content[1].absolute_url() ret+=li%nurn - return ret+"" + return ret+"" def index_html(self): """standard page"""