forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Clay Leeds <cle...@medata.com>
Subject Re: FOP's Forrest-based web site
Date Wed, 25 Feb 2004 15:53:25 GMT
On Feb 25, 2004, at 5:26 AM, Paul Smith wrote:
> I believe that to make the <all> section visible you have to add an
> attribute?  I think if you change the above to
>
> <all label="Whole site">
>   <all_site label="Whole Site HTML" href="site.html"/>
>   <all_sitePDF label="Whole Site PDF" href="site.pdf"/>
> </all>
>
> then the option will at least appear in your sidebar.

Thanks! That did the trick with the "Whole Site" stuff (although I  
still have a problem outlined below). I have a few other issues  
outlined here[1], but I've got some ideas...

In addition, I have a couple of questions:

1. I'm now  getting a new BUILD FAILED error (don't know what I  
changed). There are two BROKEN messages:

======
X [0]                       site.pdf    BROKEN:  
java.lang.RuntimeException: java.lang.RuntimeException:  
java.lang.RuntimeException: java.lang.RuntimeException:  
java.lang.RuntimeException: org.apache.fop.apps.FOPException: The id  
"design/alt.design/properties/introduction.html" already exists in this  
document
[..]
X [0]                       useragent.html      BROKEN:  
/Users/Shared/_WebDLs/xml-fop/build/tmp/context/content/xdocs/ 
useragent.xml (No such file or directory)
[..]
BUILD FAILED
/Users/Shared/_WebDLs/apache-forrest-0.5.1-bin/forrest.build.xml:631:  
Java returned: 1

Total time: 10 minutes 39 seconds
======

2. Currently my site structure has two elements with the same name. Is  
there a problem that I have two 'design' elements  
(/site/development/design & /site/design)? I was thinking of using  
indirect linking to resolve issues with links in the  
/site/development/design section (e.g., site:design). My site.xml file  
is currently something like this:

<site label="FOP" href="" xmlns="http://apache.org/forrest/linkmap/1.0"  
tab="home">
   <home label="Home">
     <index label="Introduction" href="index.html"/>
   </home>
[..]
   <development label="Development" href="dev/" tab="development">
     <introduction label="Introduction">
       <basics label="Basics" href="index.html"/>
     </introduction>

     <design label="Design" href="site:design" tab="design">
       <basics label="Resolved" href="index.html"/>
       <unresolved label="Unresolved (Wiki)"  
href="http://nagoya.apache.org/wiki/apachewiki.cgi?FOPProjectPages"/>
       <svg label="SVG" href="svg.html"/>
       <fonts label="Fonts" href="fonts.html"/>
       <extensions label="Extensions" href="extensions.html"/>
     </design>
[..]
   </development>

   <design label="Design" href="design/" tab="design">
     <about label="About">
       <introduction label="Introduction" href="index.html"/>
     </about>
[..]
   </design>
[..]
   <all label="Whole site">
   	<all_site label="Full HTML" href="site.html"/>
	  <all_sitePDF label="Full PDF" href="site.pdf"/>
   </all>

   <external-refs>
[..]
   </external-refs>
</site>

[1]
http://marc.theaimsgroup.com/?l=forrest-dev&m=107765400508559&w=2


Mime
View raw message