[Zope] Help needed with news articles

Bak @ kedai kedai@kedai.com.my
Sun, 22 Oct 2000 23:10:04 +0800


try kmnetnews from zope.org/Products
or
you can use dtml document to construct a simple news item.
<untested code by newbie>
<dtml-in "objectItems(['DTML Document'])" size=4 reverse
sort=bobobase_modification_time>
<dtml-var title>(and other stuff/properties)
</dtml-in>
</untested>

the above code should be in a DTML Method

-----Original Message-----
From: Taco Scargo <taco@scargo.nl>
To: zope@zope.org <zope@zope.org>
Date: Sunday, October 22, 2000 5:23 AM
Subject: [Zope] Help needed with news articles


>Unfortunately nobody responded, so I am reposting this question again. I
>just need a link to an example or explanation.
>
>Basically I want to create a page listing the last 4 articles from a Zope
>folder. The articles need a publish from/to field, title and (dtml) text. I
>somehow need to be able to find and display the article from another dtml
>document. I read many FAQs and tried working with zcatalogs, but somehow I
>am not getting there. It is probably not so difficult. If there is somebody
>how can help me or give me a link to a clear explanation or example I would
>be very very grateful. Thanks !
>
>Taco
>
>
>_______________________________________________
>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 )