pfumagalli / couldit-autoexport

Automatically exported from code.google.com/p/couldit-autoexport
Other
0 stars 1 forks source link

Allow "static" resources to be exported (Google Sitemaps, RSS feeds, ...) #15

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I would like to be able to add the ability of adding resources to the exported 
content. Resources 
should be no-more-no-less than a simple custom Velocity template having access 
to the entire 
Confluence content. With resources one would be able to generate things like 
static RSS, Google 
sitemaps, feeds, and more... 

Original issue reported on code.google.com by ian...@gmail.com on 29 Nov 2007 at 12:52

GoogleCodeExporter commented 9 years ago
On 8 May 2006, at 23:32, Hiram Chirino wrote: 

Hi Pier, 

I've installed you plugin and it's working great. I wanted to be able 
render a navigation menu on each page which was generated from the 
content in the "Navigation" page of the wiki space and was able to do 
so after tweaking your plugin slightly. I just needed to add the 
renderer to the velocity context in the ExportManager. I decompiled 
the code, so I'm not sure if the variable names match up, but I just 
added a line like: 

           context.put("renderer", wikiStyleRenderer); 

Also, it would be nice to be able have a template include additionally 
resources like space.css... perhaps some images or .js files. So I 
also exposed the logcationManager in the velocity context. I'm not 
100% this is the right way to do this. But I just added a: 

           context.put("locationManager", locationManager); 

I hope these 2 changes make it into future versions of your plugin. 

Original comment by ian...@gmail.com on 29 Nov 2007 at 12:53