[silva-dev] Get the data of images, stylesheets internally
Samuel Schluep
schluep at iha.bepr.ethz.ch
Fri Aug 29 14:36:22 CEST 2003
Dear developers
I am currently trying to export published Silva pages to a zip-archive.
First the I get the html document, which is processed by all the Silva
templates, widgets and code. The html document ist then parsed for
references to images, stylesheets, scripts and so on. The reference-urls are
changed to be relative to the Silva root. After that the adapted html-file
is written to the zip file.
Now I would like to include the images and stylesheets to the archive. How
can I get the files internally? I have an url but I don't know what kind of
objects it is. This is important because the various objects are called
differently: some use index_html, some __call__, some others I don't know.
Is there an easy way to get the published data from an url, the same data a
browser would receive (without the HTTP headers)?
I tried to play with the ZPublisher, but my system got unstable. I can not
find any documentation on this topic.
Does someone have an idea or some tip where to look for more information.
Thanks in advance
Sam
More information about the silva-dev
mailing list