forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Turner <>
Subject Re: How do you make an external link as part of a tab?
Date Tue, 25 Mar 2003 14:23:49 GMT
On Tue, Mar 25, 2003 at 09:07:20AM -0500, Berin Loritsch wrote:
> I have something like this:
>   <bxml label="Binary XML" href="bxml/">
>     <index label="About" href="index.html"/>
>     <index label="Using Binary XML" href="useage.html"/>
>     <index label="API Docs" href="api/"/>
>     <index label="Test Results" href="test/"/>
>   </bxml>
> However the api/ and test/ links cause Forrest to
> crash and not produce the site.

It sounds like you are using CVS Forrest (0.4 didn't have this problem).
If so, you can disable crawling of 'api/' and 'test/' by copying the
Forrest filterlinks.xsl file (in xml-forrest/src/resources/stylesheets/)
into src/documentation/resources/stylesheets/, and then edit it to filter
out links beginning with those paths:

<    <xsl:if test="not(contains(.,'apidocs')) and not(starts-with(., 'samples/'))">
>    <xsl:if test="not(contains(.,'api/')) and not(starts-with(., 'test/'))">

filterlinks.xsl is applied when the Cocoon crawler does a
?cocoon-view=links request, so filtering out certain links causes them to
not be crawled.


> These are produced by external tools, so how do I
> get those links working without resorting to full
> "" URLs?

View raw message