[prev in list] [next in list] [prev in thread] [next in thread]
List: zope
Subject: [Zope] Re: importing text files
From: "Jonothan Farr" <jfarr () real ! com>
Date: 2000-06-30 21:26:15
[Download RAW message or body]
> I have a file object (a text file) in my project that is displayed in a dtml
> document. Is there a way to make that object dynamic, i.e. when a user
> changes the file (in notepad, or something) and saves it, those changes are
> reflected next time the dtml document is loaded.
>
> When I started the project I was operating under the assumption that a file
> object was a link to the object, not a static snapshot of it - silly me.
You can try the LocalFS product. This product reads a file from the file system
and constructs a Zope object from it each time the object is requested.
http://www.zope.org/Members/jfarr/Products/LocalFS/
--jfarr
"Perl is worse than Python because people wanted it worse."
Larry Wall, 14 Oct 1998
_______________________________________________
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 )
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic