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 Tue, 24 Feb 2004 20:19:57 GMT
On Feb 23, 2004, at 9:13 PM, Clay Leeds wrote:
> Dave Brondsema said:
>> Quoting Clay Leeds <cleeds@medata.com>:
>>> On Feb 23, 2004, at 2:17 PM, Clay Leeds wrote:
>>>> Two more problems to debug
>>>>
>>>> 1. breadcrumb looks like this (but doesn't change when I click on
>>>> other pages or sections). What am I missing?
>>>>
>>>>   apache > xml.apache > fop
>>
>> Read my description of how it works at
>> http://issues.apache.org/eyebrowse/ReadMsg?listName=forrest- 
>> dev@xml.apache.org&msgId=1332242
>>
>> Note that it uses javascript to read the current url, so the crumbs  
>> will
>> act differently when the site goes live.
>>
>> I think you would want:
>> <trail>
>>   <link1 name="apache" href="http://www.apache.org/"/>
>>   <link2 name="xml.apache" href="http://xml.apache.org/"/>
>>   <link3 name="" href=""/>
>> </trail>
>
> Thanks!

I've made the change. As expected, now I don't have the "> fop" portion  
of the breadcrumb (nor do I have anything of the other crumbs I'm  
hoping for). Since I'm not loading this from a web server, I guess I  
need to put the new site LIVE before it'll "appear"... (Or at the very  
least, I need to fire up the local WEB SERVER and stick it there so I  
can see the breadcrumb trail in action).

>>>> 2. Whole site PDF is not working yet, even though I have this in my
>>>> site.xml file (between the <references> and <external-refs> nodes):
>>>>
>>>>   <all>
>>>>     <whole_site_html label="Whole Site HTML" href="site.html"/>
>>>>     <whole_site_html label="Whole Site PDF" href="site.pdf"/>
>>>>   </all>
>>>
>>> I've tried a few different possibilities (including wrapping the  
>>> "Home"
>>> tab items in a <site><home> node), but found that didn't work either.
> \>
>> As http://xml.apache.org/forrest/faq.html#PDF-output says, the nodes  
>> must
>> be named exactly "all_site" and "all_sitePDF".  Perhaps the FAQ needs
>> to be clearer about this.
>> --
>> Dave Brondsema
>
> I think  I got that portion of the code from the old book.xml file.
> Thanks! I don't know if it needs to be clearer, although it always  
> helps
> if one can merely copy and paste the code from the web page/FAQ.  
> Perhaps
> if it were formatted 'nicely' it would help:
>
> <all>
>   <all_site label="Whole Site HTML" href="site.html"/>
>   <all_sitePDF label="Whole Site PDF" href="site.pdf"/>
> </all>

This still doesn't work for me. I do not see any "Whole Site..." links  
on any of my pages.

> Now I just need to figure out how to do the portion where the  
> Development
> tab contains links to Design tab pages (see the "resolved" link):
>
>    http://xml.apache.org/fop/dev/index.html
>
> Should I just 'punt' and use a book.xml file in the dev/dir?

I'm thinking seriously about submitting a "[PATCH] breadcrumb.js file"  
so we can fix that ugly breadcrumb problem on the FOP site. That's been  
bugging us for far longer than even the messed up breadcrumb problem on  
the Forrest web site[1], although I notice that it's moved up in  
priority :-).

[1]
http://issues.cocoondev.org/jira/secure/ViewIssue.jspa?key=FOR-117


Mime
View raw message