forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Turner <>
Subject Adding new content types (Re: Forrestize Phoenix)
Date Fri, 08 Nov 2002 05:23:42 GMT
On Thu, Nov 07, 2002 at 03:41:58PM +0100, Nicola Ken Barozzi wrote:
[from an avalon-dev thread]
> And finally the latest tigris skin stuff:

Woo.. very nice.

I think in Forrest we're not really presenting a compelling case for
separating content and presentation.  It would be great if we could, say,
colourise code by language with <source type="java">, or XML, as done at:

Or be able to describe directory hierarchies with:

  <dir name="/">
    Root directory
    <dir name="lib">
      Contains jars
    <dir name="src">
      Source files
      <file name="manifest">
        Jar manifest

and have it print a nice hierarchy as on the tigris page.

Forrest really needs to make adding project-specific elements easy..

1) author a schema addition in dead simple RNG compact format:

start =         dirstruct
dirstruct =     element dirstruct {
                    (file | dir)*
dir =           element dir {
                    attribute name {fsName},
                    (dir | file)*
file =          element file {
                    attribute name {fsName},
fsName =        xsd:string { minLength = "1" }

2) Depending on skin, create a CSS or XSLT definition to render the
new element.
3) Drop these in a special directory, say src/documentation/skinconf/,
and Forrest does the rest.

Just random thoughts..


View raw message