[Zope] newbie-dtml
Michel Pelletier
michel@digicool.com
Mon, 27 Sep 1999 11:04:05 -0400
> -----Original Message-----
> From: Geir B Hansen [mailto:geirh@funcom.com]
> Sent: Monday, September 27, 1999 10:40 AM
> To: zope@zope.org
> Subject: [Zope] newbie-dtml
>
>
> For a news-page i need to dynamically deliver a snippet (say the first
> 200 letters or so) of the latest updated document in my
> "newsarchive"-folder.
>
> Initerating through the folder and finding the document, and
> displaying
> a link to it works like a dream, but how do i reference the content of
> the DTML-document ?
> I can extract properties, but how do i get to the content itself ??
>
>
> Looks like this at the present :
I don't understand what your iterating twice over, but if the object
your iterating over is a DTML Document you can get 200 characters of
it's content with:
<dtml-var sequence-item size=200>
-Michel