You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@lenya.apache.org by Andreas Hartmann <an...@apache.org> on 2005/06/16 08:23:26 UTC
Re: Request for help in setup of PDF rendering in lenya: How to do
it.
Gregor J. Rothfuss wrote:
> Stephen Hurrell wrote:
>
>> There is not a lot of documentation out there about how to do this so
>> I figured
>> it out myself.
>
>
> awesome ;) we need more of your sort around here ;)
>
>
>> + <!-- SPH: Attempt to add PDF support -->
>> + <map:match pattern="**.pdf">
>> + <map:generate src="content/{1}/index_en.xml"/>
A small hint: For a more generic solution, use
<map:generate
src="content/{page-envelope:area}/{page-envelope:document-path}"/>
The mapping to the file .../index_en.xml is only known by the
DocumentIdToPathMapper, using it in sitemaps is knowledge duplication
and is generally not recommended.
-- Andreas
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org