geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jdil...@apache.org
Subject svn commit: r515635 - /geronimo/sandbox/hokeypokey/trunk/src/main/groovy/hokeypokey/commands/exportspace.groovy
Date Wed, 07 Mar 2007 16:31:51 GMT
Author: jdillon
Date: Wed Mar  7 08:31:46 2007
New Revision: 515635

URL: http://svn.apache.org/viewvc?view=rev&rev=515635
Log:
Comments before I pass out

Modified:
    geronimo/sandbox/hokeypokey/trunk/src/main/groovy/hokeypokey/commands/exportspace.groovy

Modified: geronimo/sandbox/hokeypokey/trunk/src/main/groovy/hokeypokey/commands/exportspace.groovy
URL: http://svn.apache.org/viewvc/geronimo/sandbox/hokeypokey/trunk/src/main/groovy/hokeypokey/commands/exportspace.groovy?view=diff&rev=515635&r1=515634&r2=515635
==============================================================================
--- geronimo/sandbox/hokeypokey/trunk/src/main/groovy/hokeypokey/commands/exportspace.groovy
(original)
+++ geronimo/sandbox/hokeypokey/trunk/src/main/groovy/hokeypokey/commands/exportspace.groovy
Wed Mar  7 08:31:46 2007
@@ -79,7 +79,7 @@
             
             //
             // HACK: Adding very specific filters here... need to make this
-            //       configurable
+            //       easily configurable... but also need to have some code in there too
:-(
             //
             
             // Hook up a filter to translate links for this space
@@ -109,6 +109,11 @@
                 { matcher, ctx ->
                     def filename = matcher.group(2)
                     def href = ctx.page.title.toLowerCase().replace(' ', '-') + '.attach/'
+ filename
+                    
+                    //
+                    // TODO: I guess could use group(1) somehow to look up the space/page
+                    //       and do some magic to link it correctly... or not...
+                    //
                     
                     // Special handling for news pages, link back to export root 3 deep
                     if (ctx.page.publishDate) {



Mime
View raw message