[Zope] Re: importing text files
Jonothan Farr
jfarr@real.com
Fri, 30 Jun 2000 14:26:15 -0700
> 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