Hi Zopistas, I'm trying to integrate externally-supplied content that is served as static XML with XSL for formatting. My problem is that the files are updated every 5-10 seconds, so realistically they should be filesystem objects. How do you include something like this within Plone, without the templates and such? Also, what is the most efficient method of serving up static (but constantly refreshed) content? -- Mitch
Mitch Pirtle wrote at 2003-9-5 12:37 -0400:
I'm trying to integrate externally-supplied content that is served as static XML with XSL for formatting.
My problem is that the files are updated every 5-10 seconds, so realistically they should be filesystem objects.
How do you include something like this within Plone, without the templates and such? Also, what is the most efficient method of serving up static (but constantly refreshed) content?
"LocalFS" may help you... Dieter
On Mon, 2003-09-08 at 22:05, Dominique Bordereaux wrote:
Hi,
Dieter Maurer wrote:
"LocalFS" may help you...
<newbie> How does LocalFS differ from 'Filesystem Directy View' ? </newbie>
Because I can get LocalFS to work, which 'Filesystem Directory View' I cannot (-: I've also been told that I can use python to access the filesystem, and avoid ZODB representation of filesystem objects altogether. I will try this, but have a few deadlines in my path... -- Mitch
Mitch Pirtle wrote:
Because I can get LocalFS to work, which 'Filesystem Directory View' I cannot (-:
Don't be silly, if you're using CMF or Plone, FSDV's are working ;-) Go into the skins tool... Now, adding more skin folders can be fun... Chris
Chris Withers wrote at 2003-9-10 10:58 +0100:
Mitch Pirtle wrote:
Because I can get LocalFS to work, which 'Filesystem Directory View' I cannot (-:
Don't be silly, if you're using CMF or Plone, FSDV's are working ;-)
They even work outside of CMF. There is a derived product that makes use outside the CMF easier: http://www.zope.org/Members/k_vertigo/Products/FileSystemSite Dieter
Le mer 10/09/2003 à 22:13, Dieter Maurer a écrit :
Chris Withers wrote at 2003-9-10 10:58 +0100:
Mitch Pirtle wrote:
Because I can get LocalFS to work, which 'Filesystem Directory View' I cannot (-:
Don't be silly, if you're using CMF or Plone, FSDV's are working ;-)
They even work outside of CMF.
There is a derived product that makes use outside the CMF easier: http://www.zope.org/Members/k_vertigo/Products/FileSystemSite
Yes. Unfortunately, the product calls itself Filesystem Directory View, just like CMF's one. thus you wind up having two FSDV's... (it's a little silly but not too serious).
Aurélien Campéas wrote at 2003-10-4 17:05 +0200:
Le mer 10/09/2003 à 22:13, Dieter Maurer a écrit :
Chris Withers wrote at 2003-9-10 10:58 +0100:
Mitch Pirtle wrote:
Because I can get LocalFS to work, which 'Filesystem Directory View' I cannot (-:
Don't be silly, if you're using CMF or Plone, FSDV's are working ;-)
They even work outside of CMF.
There is a derived product that makes use outside the CMF easier: http://www.zope.org/Members/k_vertigo/Products/FileSystemSite
Yes. Unfortunately, the product calls itself Filesystem Directory View, just like CMF's one. thus you wind up having two FSDV's... (it's a little silly but not too serious).
Maybe, because you do not use "FileSystemSite" when you already have "CMFCore" installed. Dieter
Dominique Bordereaux wrote at 2003-9-8 19:05 -0700:
"LocalFS" may help you... How does LocalFS differ from 'Filesystem Directy View' ?
"LocalFS" allows you to write in the file system and modify files. "FSDirectoryView" is just a view. You can change nothing. There are probably more differences... Dieter
My problem is that the files are updated every 5-10 seconds, so realistically they should be filesystem objects.
How do you include something like this within Plone, without the templates and such? Also, what is the most efficient method of serving up static (but constantly refreshed) content?
If it's always the same file then it looks like ExternalFile is the way to go, or possibly LocalFS. You want to check that ExternalFile or whatever doesn't keep the contents in memory longer than necessary. I think there's a CMF version of ExternalFile, and that I posted a link to it not too long ago. And, of course, you can always get at it with your own External Methods. If you also want to render them, this might be a good choice. I'm going to assume that you already know how you're going to render things, so I won't get into details, but I can supply info on how one of my projects does this if you like. --jcc -- "My point and period will be throughly wrought, Or well or ill, as this day's battle's fought."
participants (6)
-
Aurélien Campéas -
Chris Withers -
Dieter Maurer -
Dominique Bordereaux -
J Cameron Cooper -
Mitch Pirtle