[ http://issues.apache.org/jira/browse/FOR-32?page=comments#action_12313744 
] 

Juan Jose Pablos commented on FOR-32:
-------------------------------------

There is a way to append another extension using cli.xconf add this

<uri type="insert" src-prefix="" src="index.html" follow-links="false" 
dest="/var/tmp/fs/build/*.php" />

the output would be something like /var/tmp/build/index.html.php

> Generating content pages with non .html extensions
> --------------------------------------------------
>
>          Key: FOR-32
>          URL: http://issues.apache.org/jira/browse/FOR-32
>      Project: Forrest
>         Type: Improvement
>   Components: Skins (general issues)
>     Versions: 0.4
>  Environment: any
>     Reporter: Brill Pappin

>
> I would really (really, really) like to be able to tell forest what file 
> extension to use during output.
> In my case, I want to use forrest to define the structure of a site... 
> however I want it to output JSP files. I've tried "just doing it" and of 
> course it did't work.
> The optimal thing would be to add a stylesheet for JSP, so you could create 
> the site as a JSP site, and have forrest output it... however I don't have 
> the time (for this project anyway) to write up the stylesheets (I'd have to 
> learn xsl as well, which would not be quick task).
> Just an enhancement... in my case not having it prevents me from using 
> forrest (this time; I'm rather sad about that), but I see a future version 
> where I can use it to make life easier.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

Reply via email to