You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@roller.apache.org by sn...@apache.org on 2006/11/16 19:41:57 UTC

svn commit: r475856 - /incubator/roller/trunk/sandbox/planetroller/templates/control.vm

Author: snoopdave
Date: Thu Nov 16 10:41:57 2006
New Revision: 475856

URL: http://svn.apache.org/viewvc?view=rev&rev=475856
Log:
Working around Velocity bug in output file handling

Modified:
    incubator/roller/trunk/sandbox/planetroller/templates/control.vm

Modified: incubator/roller/trunk/sandbox/planetroller/templates/control.vm
URL: http://svn.apache.org/viewvc/incubator/roller/trunk/sandbox/planetroller/templates/control.vm?view=diff&rev=475856&r1=475855&r2=475856
==============================================================================
--- incubator/roller/trunk/sandbox/planetroller/templates/control.vm (original)
+++ incubator/roller/trunk/sandbox/planetroller/templates/control.vm Thu Nov 16 10:41:57 2006
@@ -22,18 +22,16 @@
 
 #foreach ($groupHandle in $groupHandles)
 
-    $generator.setOutputPath($strings.concat([$outputPath, "/", $groupHandle]));
-
-    #set ($outputFile = $strings.concat(["index", ".html"]))
+    #set ($outputFile = $strings.concat([$groupHandle, "/", "index.html"]))
     $generator.parse("html.vm", $outputFile, "groupHandle", $groupHandle)
 
-    #set ($outputFile = $strings.concat(["index", ".rss"]))
+    #set ($outputFile = $strings.concat([$groupHandle, "/", "index.rss"]))
     $generator.parse("rss.vm",  $outputFile, "groupHandle", $groupHandle)
 
-    #set ($outputFile = $strings.concat(["index", ".atom"]))
+    #set ($outputFile = $strings.concat([$groupHandle, "/", "index.atom"]))
     $generator.parse("atom.vm",  $outputFile, "groupHandle", $groupHandle)
 
-    #set ($outputFile = $strings.concat(["index", ".opml"]))
+    #set ($outputFile = $strings.concat([$groupHandle, "/", "index.opml"]))
     $generator.parse("opml.vm", $outputFile, "groupHandle", $groupHandle)
 
 #end