[Zope-CMF] NewsItem Bodies

marc lindahl marc@bowery.com
Wed, 28 Nov 2001 12:00:48 -0500


How about <dtml-var expr="CookedBody()">

> From: HoYin Au <hya-zopecmf@bluesite.com>
> Date: Wed, 28 Nov 2001 11:49:28 -0500
> To: zope-cmf@zope.org
> Subject: [Zope-CMF] NewsItem Bodies
> 
> Hi,
> 
> I'm trying to get something like this (in theory) to work... but it's giving
> me a KeyError.  What am I doing wrong?
> 
> 
> <dtml-let newsitems="portal_catalog.searchResults(meta_type='News Item',
> sort_on='Date', sort_order='reverse', review_state='published')">
> <dtml-in newsitems size="10" start="batch_start">
> <p><dtml-var CookedBody></p>
> </dtml-in>
> </dtml-let>
> 
> -Hoyin
> 
> 
> 
> _______________________________________________
> Zope-CMF maillist  -  Zope-CMF@zope.org
> http://lists.zope.org/mailman/listinfo/zope-cmf
> 
> See http://www.zope.org/Products/PTK/Tracker for bug reports and feature
> requests