[Zope] Zope Syndication

Jan Ulrich Hasecke janulrich.hasecke@web.de
Thu, 21 Feb 2002 14:50:47 +0100


"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>
=20=20
  <P>
  <STRONG>Error Type: AttributeError</STRONG><BR>
  <STRONG>Error Value: __call__</STRONG><BR>=20
  </P>
=20
  <HR NOSHADE>
=20
  <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>

=20

<!--
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, l=
ine 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.p=
y, 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 &lt;string&gt;, line 2, in f
    (Object: guarded_getitem)
AttributeError: (see above)

-->


--=20
B=FCcherwahnsinn! Was kann man ohne Angst noch lesen?
http://www.sudelbuch.de/2001/20010228.html