You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@forrest.apache.org by Nicola Ken Barozzi <ni...@apache.org> on 2002/11/26 09:34:26 UTC

Cocoon Update: better error reporting and chain metamodule

I've updated the Cocoon stuff because I've patched it yesterday due to 
the complaints about the CLI not reporting errors: now it should.

With it we seem to get the chain metamodule free, so I've made the 
sitemap use it and named it "forrest".

Please test and report any problem.

PS:

On http://www.krysalis.org/centipede/beta3/  you can see a modified 
version of the forrest skin, with smaller fonts and lateral page 
navigation embedded in the navbar. It also uses CSS to show images 
(except the spacer gif, haven't got to that yet), and png with alpha 
blending to round the corners (subtracting corners so the colors can be 
more easily changed). It also uses some CSS where before there were font 
tags.

IMHO it wouldn't be bad to backport most of the changes to the forrest 
skin , but maybe it's better to put these in the new CSS-only skin.

Comments?

-- 
Nicola Ken Barozzi                   nicolaken@apache.org
             - verba volant, scripta manent -
    (discussions get forgotten, just code remains)
---------------------------------------------------------------------


Re: Cocoon Update: better error reporting and chain metamodule

Posted by Nicola Ken Barozzi <ni...@apache.org>.

Peter Donald wrote:
> On Tue, 26 Nov 2002 19:34, Nicola Ken Barozzi wrote:
> 
>>On http://www.krysalis.org/centipede/beta3/  you can see a modified
>>version of the forrest skin, with smaller fonts and lateral page
>>navigation embedded in the navbar. It also uses CSS to show images
>>(except the spacer gif, haven't got to that yet), and png with alpha
>>blending to round the corners (subtracting corners so the colors can be
>>more easily changed). It also uses some CSS where before there were font
>>tags.
> 
> 
> looks heaps better except for the footer that looks like attached image.
> 
> ------------------------------------------------------------------------
> 

Try setting the width of the central td to 90%, and see if it gets better.
I don't have Konqueror and cannot try it; In Netscape 4.7, Mozilla 1.1 
and IE 6 it doesn't show that issue.

Thanks.

-- 
Nicola Ken Barozzi                   nicolaken@apache.org
             - verba volant, scripta manent -
    (discussions get forgotten, just code remains)
---------------------------------------------------------------------


Re: Cocoon Update: better error reporting and chain metamodule

Posted by Peter Donald <pe...@apache.org>.
On Tue, 26 Nov 2002 19:34, Nicola Ken Barozzi wrote:
> On http://www.krysalis.org/centipede/beta3/  you can see a modified
> version of the forrest skin, with smaller fonts and lateral page
> navigation embedded in the navbar. It also uses CSS to show images
> (except the spacer gif, haven't got to that yet), and png with alpha
> blending to round the corners (subtracting corners so the colors can be
> more easily changed). It also uses some CSS where before there were font
> tags.

looks heaps better except for the footer that looks like attached image.

-- 
Cheers,

Peter Donald
"Artists can color the sky red because they know it's blue.  Those of us who
 aren't artists must color things the way they really are or people might 
 think we're stupid." -- Jules Feiffer 


Re: Cocoon Update: better error reporting and chain metamodule

Posted by Nick Chalko <ni...@chalko.com>.
Nicola Ken Barozzi wrote:

>
>
> {Another feature that has been asked: automatic skin download. 
> Indicate a url in the skin settings, and have it downloaded and 
> installed}
>
Yes.

Ruper is a good canidate for this.
Ruper already handles download and un jar.

R,
Nick


RE: Cocoon Update: better error reporting and chain metamodule

Posted by Robert Koberg <ro...@koberg.com>.
Hi Ken,

> -----Original Message-----
> From: Nicola Ken Barozzi [mailto:nicolaken@apache.org]
> Sent: Tuesday, November 26, 2002 4:38 PM

> {Another feature that has been asked: automatic skin download. Indicate
> a url in the skin settings, and have it downloaded and installed}
>

I would recommend creating several 'primary' XSLTs that have different
structures (L&Fs). These xsl:include/import 'common' XSL(T)s. The primaries are
relatively small, just setting up the structure of the page for things like a
table-based layout versus a pure CSS layout, or 1, 2, 3 or 4 column layouts.
Everything else should be able to be 'common' or 'util.'

Just ship all of the primaries with forrest and the user can choose (perhaps by
renaming the primary to the forrest default?)

make sense?

best,
-Rob



Re: Cocoon Update: better error reporting and chain metamodule

Posted by Nicola Ken Barozzi <ni...@apache.org>.

Jeff Turner wrote:
> On Tue, Nov 26, 2002 at 09:34:26AM +0100, Nicola Ken Barozzi wrote:
> 
>>I've updated the Cocoon stuff because I've patched it yesterday due to 
>>the complaints about the CLI not reporting errors: now it should.
> 
> Great!  This also fixes the sitemap reload bug and the PDF bug.
> 
>>With it we seem to get the chain metamodule free, so I've made the 
>>sitemap use it and named it "forrest".
>>
>>Please test and report any problem.
>>
>>PS:
>>
>>On http://www.krysalis.org/centipede/beta3/  you can see a modified 
>>version of the forrest skin, with smaller fonts and lateral page 
>>navigation embedded in the navbar. It also uses CSS to show images 
>>(except the spacer gif, haven't got to that yet), and png with alpha 
>>blending to round the corners (subtracting corners so the colors can be 
>>more easily changed). It also uses some CSS where before there were font 
>>tags.
>>
>>IMHO it wouldn't be bad to backport most of the changes to the forrest 
>>skin , but maybe it's better to put these in the new CSS-only skin.
> 
> 
> The rounded corners are lost in ns4.7 with the new CSS..

Yup, but the site still looks better than with the CSS version.

> I don't know if the benefits of further CSS'ifying forrest-site outweigh
> the risks.  *shrug* up to you..

I'm just trying to make the krysalis-site skin not use <img>s for 
rounded corners and spacers to make it play well in linksWimages, that's 
all. First part is done, now the spacers...

> I hope to skinify Miles' CSS mockup in the next few days.  I had it half
> done in build/webapp, and then forgot I had it there, and... usual story
> :P

hehehe, it happened to me today with the changes I was making to the 
sitemap to create pngs and jpegs out of svgs if they are present as 
such... it means I'm not alone ;-)

Anyway, seeing that you are already working on the CSS version, probably 
it's best not to touch the Forrest skin and simply replace it with the 
new one. I'll keep it with current changes as the krysalis-site skin if 
anyone wants it (not in Forrest CVS I think).

{Another feature that has been asked: automatic skin download. Indicate 
a url in the skin settings, and have it downloaded and installed}

-- 
Nicola Ken Barozzi                   nicolaken@apache.org
             - verba volant, scripta manent -
    (discussions get forgotten, just code remains)
---------------------------------------------------------------------


Re: Cocoon Update: better error reporting and chain metamodule

Posted by Jeff Turner <je...@apache.org>.
On Tue, Nov 26, 2002 at 09:34:26AM +0100, Nicola Ken Barozzi wrote:
> 
> I've updated the Cocoon stuff because I've patched it yesterday due to 
> the complaints about the CLI not reporting errors: now it should.

Great!  This also fixes the sitemap reload bug and the PDF bug.

> With it we seem to get the chain metamodule free, so I've made the 
> sitemap use it and named it "forrest".
> 
> Please test and report any problem.
> 
> PS:
> 
> On http://www.krysalis.org/centipede/beta3/  you can see a modified 
> version of the forrest skin, with smaller fonts and lateral page 
> navigation embedded in the navbar. It also uses CSS to show images 
> (except the spacer gif, haven't got to that yet), and png with alpha 
> blending to round the corners (subtracting corners so the colors can be 
> more easily changed). It also uses some CSS where before there were font 
> tags.
> 
> IMHO it wouldn't be bad to backport most of the changes to the forrest 
> skin , but maybe it's better to put these in the new CSS-only skin.

The rounded corners are lost in ns4.7 with the new CSS..

I don't know if the benefits of further CSS'ifying forrest-site outweigh
the risks.  *shrug* up to you..

I hope to skinify Miles' CSS mockup in the next few days.  I had it half
done in build/webapp, and then forgot I had it there, and... usual story
:P


--Jeff