Timothy Gallagher wrote:
> Thanks to everyone who contributed. I will use the TAG, or 'pattern',
> approach and use a Java application to 'compile' the HTML pages with the
> TAGs. Given the lack of dynamics of the site, creating (compiling)
> static pages is appropriate.
I've made a system for doing this, that does the following:
* Has a Swing GUI for configuring parameters and starting a compilation. (I
used IBM VAJ)
* Accepts html for appending and preprending to every page. (Can be used to
put a standard nav. bar and copyright notice on every page, for example.)
* Creates multi-lingual websites: Can be configured with directories that are
global for all languages, as well as directories that contain files that need
to be translated into different languages.
* Has a simple namespace concept for tags, so that by default all tags are
local to a page, unless prefaced by a namespace keyword. So, for example,
+para1+ is a tag for a local paragraph. And, +global:font+ could refer to a
"font" tag in a namespace named "global".
I wrote this program because I got dissillusioned with CSS, and also because I
wanted to make a multilingual website. Now, though, I'm not interested in the
multilingual aspect, just the aspect of pre-compiling the pages in a website.
This site is created using the program:
http://www.rule-of-eight.com/
The basic design of the system is good: I have several abstractions for
different subsystems, and also use JavaBeans for reducing UI / backend
dependencies. Aside from that, the code isn't too beautiful, because I worked
on it only enough to get it to do what I want. I had intended to release it as
OpenSource eventually, and turn it into an open website compilation/management
project. If there's interest, I can package up what I have, and make it
available. At a minimum, it may give someone else ideas.
- Robb
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html