| Title | Configurable file extension of JSPWiki pages |
| Date | 06-Jan-2006 08:30:38 EET |
| JSPWiki version | 2.3 |
| Submitter | 84.57.136.95 |
| Idea Category | GenericIdea |
| Reference | |
| Idea Status | NewIdea |
The default file extension is .txt
It would be a nice feature to be able to configure a different file extension
e.g. .jspwiki
Why?
- sharing of JSPWiki content repository with other application
- e.g. Apache Forrest supports JSPWiki syntax but expects .jspwiki file extension
- see http://forrest.apache.org/pluginDocs/plugins_0_70/org.apache.forrest.plugin.input.wiki/
(see coding suggestion attached)
Otherwise fine, but this is a completely pageprovider specific thing, and therefore the property should reflect that. Care to change your patch?
Property according to comment renamed to jspwiki.fileSystemProvider.pageExtension
If it was not what you ment -> please feel free to change as desired.
--Burkhard, 08-Jan-2006
Add new attachment
List of attachments
| Kind | Attachment Name | Size | Version | Date Modified | Author | Change note |
|---|---|---|---|---|---|---|
java |
AbstractFileProvider.java | 12.8 kB | 2 | 08-Jan-2006 14:54 | 84.57.138.106 | |
java |
WikiEngine.java | 69.1 kB | 2 | 08-Jan-2006 14:54 | 84.57.138.106 | |
diff |
f_ext.diff | 10.0 kB | 2 | 08-Jan-2006 14:13 | 84.57.138.106 | |
tmpl |
jspwiki.properties.tmpl | 24.5 kB | 2 | 08-Jan-2006 14:54 | 84.57.138.106 |