forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Crossley <cross...@apache.org>
Subject Re: problem skinning legacy html
Date Fri, 17 Apr 2009 05:07:45 GMT
Vicent Mas wrote:
> 
> I've a few html pages (generated via docbook) that I'd like to include in a
> forrest (dispatcher) website. I want those pages to be skinned like the rest of
> pages of the website. After having a look to the embedding html sample that
> comes with seeded forrest sites and after some reading in the forrest website
> I created a xdocs/raw_html folder, copied my legacy html pages in that folder
> and build my site.
> 
> Although the pages are included in the website and they are skinned, the result
> is very poor: the whole text seems to be boldfaced and lots of white space
> chars are replaced by the character "capital A-circumflex" (unicode U+00C2).
> Some other unicode characters appear here and there.
> 
> I've searched for help in the mailing list archives with no luck. How
> can I fix these problems?

Be aware that there is a stylesheet that transforms between
"source html" and the Forrest "internal document" xml format.
As mentioned on that "Embedded HTML demonstration page" and
elsewhere, that stylesheet does not cope with everything.
http://forrest.zones.apache.org/ft/build/forrest-seed/samples-b/embedded_html.html
and $FORREST_HOME/main/webapp/resources/stylesheets/html-to-document.xsl

Could you provide a cut down example of your source
html docs. Then someone can simply add it to a local
"forrest seed-sample" site and see for themselves.
Create a new issue at our issue tracker and attach your sample.
http://forrest.apache.org/issues.html

-David

Mime
View raw message