[Gimp-web] New page layout and new menu
Helvetix Victorinox
helvetix at mysterious.org
Sat Aug 30 07:56:58 2003
On Fri, Aug 29, 2003 at 01:45:26PM +0200, Raphaël Quinet wrote:
> > - Are the files going to be static files?
>
> This is something that Helvetix should comment on. If you look at the
> pages served by mmmaybe, you will see that they contain the comment
> from the script rewrite-attrs.py, which seems to indicate that they
> have been converted to static files. However, when I build the pages
> at home, I am still getting the SSI version (even after "make clean").
> Maybe there is something wrong with my setup?
Nothing is wrong. The script rewrite-attrs.py rewrites element attributes and
has been used to do a keyword-style substitution on element attributes like URLs in
the "ref" attribute for hyperlinks on the pages. The Makefile is setup to
automatically run rewrite-attrs.py on any file ending in the suffix .htrw to
produce the same named file with the suffix .html.
SSI preprocessing is done by the script ssi-pp.py, which does simple include
and simple conditionals. The Makefile is setup to automatically run ssi-pp.py
on any file ending in the suffix .ssi to produce the same named file with the
suffix .html.
What is missing is to setup the Makefile to run *both* rewrite-attrs.py and
ssi-pp.py on files producing completely static files with attribute rewriting
(substitution). This isn't hard, it just hasn't been done yet.
Helvetix
>
> Anyway, it is very likely that all files will be static.
>
> > - Will this remove the include files?
>
> Not for the moment. The static files are still generated by emulating
> the SSI mechanism. In the future, it would be nice if this could be
> replaced by a solution based on "real" templates instead of requiring
> multiple "include" statements in each file. But the current solution
> is working and I am happy with it.
>
> > - Could you wait to change all of the sites to use the new layout until
> > we have finished up with the content?
>
> Hmmm... No, I would like to implement the new layout right now so
> that we can have at least the modified menu (with the link to the
> "source" part). Also, in the new content that I am about to commit,
> there is a new page explaining how to contact the webmasters and I
> would like this to be linked from the new layout (replacing the
> current e-mail address). So unless there is a compelling reason to
> delay my commit, I would like to implement the changes to the layout
> and content at the same time.
>
> -Raphaël
>
> _______________________________________________
> Gimp-web mailing list
> Gimp-web@lists.xcf.berkeley.edu
> http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-web