Tim -

Adding the "lm:" cause the hyperlink to be rewritten, but I wanted to pull the 
PDF and make it part of my local site as in the "Retrieving an XDoc via HTTP" 
example - except it's not and XDoc file, but a PDF.

-- Greg

> 
> From: Tim Williams <[EMAIL PROTECTED]>
> Date: 2005/09/28 Wed PM 01:03:50 EDT
> To: [email protected]
> Subject: Re: Can locationmap be used to find PDFs?
> 
> On 9/28/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> 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
>