Soren Roug warned against using RDFSummary 2.0 because there have been many changes to the API that have not been documented. I'm too much of a newbie to help here. Sorry : ( ----- Original Message ----- From: "Jan Ulrich Hasecke" <janulrich.hasecke@web.de> To: "Ot Ratsaphong" <ot.ratsaphong@tpg.com.au> Cc: <zope@zope.org> Sent: Friday, February 22, 2002 12:50 AM Subject: Re: [Zope] Zope Syndication "Ot Ratsaphong" <ot.ratsaphong@tpg.com.au> writes:
I contacted Soren Roug, the author of RDFSummary. The answer is:
<dtml-var "channel()['title']">
Mh, using this inside a CMF gives me an error: <H2>Site Error</H2> <P>An error was encountered while publishing this resource. </P> <P> <STRONG>Error Type: AttributeError</STRONG><BR> <STRONG>Error Value: __call__</STRONG><BR> </P> <HR NOSHADE> <P>Troubleshooting Suggestions</P> <UL> <LI>The URL may be incorrect.</LI> <LI>The parameters passed to this resource may be incorrect.</LI> <LI>A resource that this resource relies on may be encountering an error.</LI> </UL> <P>For more detailed information about the error, please refer to the HTML source for this page. </P> <P>If the error persists please contact the site maintainer. Thank you for your patience. </P> <!-- Traceback (innermost last): File /home/customers/Zope-2.4.1-linux2-x86/lib/python/ZPublisher/Publish.py, line 223, in publish_module File /home/customers/Zope-2.4.1-linux2-x86/lib/python/ZPublisher/Publish.py, line 187, in publish File /home/customers/Zope-2.4.1-linux2-x86/lib/python/Zope/__init__.py, line 226, in zpublisher_exception_hook (Object: LockableItem) File /home/customers/Zope-2.4.1-linux2-x86/lib/python/ZPublisher/Publish.py, line 171, in publish File /home/customers/Zope-2.4.1-linux2-x86/lib/python/ZPublisher/mapply.py, line 160, in mapply (Object: index_html) File /home/customers/Zope-2.4.1-linux2-x86/lib/python/ZPublisher/Publish.py, line 112, in call_object (Object: index_html) File /home/customers/Zope-2.4.1-linux2-x86/lib/python/OFS/DTMLMethod.py, line 194, in __call__ (Object: index_html) File /home/customers/Zope-2.4.1-linux2-x86/lib/python/DocumentTemplate/DT_String. py, line 546, in __call__ (Object: index_html) File /home/customers/Zope-2.4.1-linux2-x86/lib/python/OFS/DTMLMethod.py, line 187, in __call__ (Object: headlines) File /home/customers/Zope-2.4.1-linux2-x86/lib/python/DocumentTemplate/DT_String. py, line 546, in __call__ (Object: headlines) File /home/customers/Zope-2.4.1-linux2-x86/lib/python/DocumentTemplate/DT_With.py , line 148, in render (Object: dichtungdigital.rdf) File /home/customers/Zope-2.4.1-linux2-x86/lib/python/DocumentTemplate/DT_Util.py , line 231, in eval (Object: channel()['description']) (Info: channel) File <string>, line 2, in f (Object: guarded_getitem) AttributeError: (see above) --> -- Bücherwahnsinn! Was kann man ohne Angst noch lesen? http://www.sudelbuch.de/2001/20010228.html _______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )