forrest-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tim Williams <william...@gmail.com>
Subject Re: Can locationmap be used to find PDFs?
Date Wed, 28 Sep 2005 17:03:50 GMT
On 9/28/05, greg.vaco@cox.net <greg.vaco@cox.net> wrote:
> I'm trying to pull PDFs from an external site by using locationmap, but it isn't working.
 To test it using forrest-head's seed, I modified the locationmap by adding:
>
> <match pattern="xForrest/**.pdf">
>    <location src="http://forrest.apache.org/{1}.pdf"/>
> </match>
>
> and added this to the <about> section of site.xml:
>
> <test label="Test" href="xForrest/license.pdf" description="Test"/>
>
> However, it fails to find it.  Any thougths?
>

Use {lm:XYZ}, for example,
<test label="Test" href="{lm:xForrest/license.pdf}" description="Test"/>

I don't recall specifically testing it in site.xml but it should work though.
--tim

Mime
View raw message