forrest-svn mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rgard...@apache.org
Subject svn commit: r478000 - in /forrest/trunk/whiteboard/forrest2/core/src/examples/helloWorld/src: locationmap.xml xdocs/bonjourMonde.xhtml2 xdocs/helloWorld.xhtml2
Date Wed, 22 Nov 2006 01:30:50 GMT
Author: rgardler
Date: Tue Nov 21 17:30:49 2006
New Revision: 478000

URL: http://svn.apache.org/viewvc?view=rev&rev=478000
Log:
Add a second file to test the crawler with.

Added:
    forrest/trunk/whiteboard/forrest2/core/src/examples/helloWorld/src/xdocs/bonjourMonde.xhtml2
Modified:
    forrest/trunk/whiteboard/forrest2/core/src/examples/helloWorld/src/locationmap.xml
    forrest/trunk/whiteboard/forrest2/core/src/examples/helloWorld/src/xdocs/helloWorld.xhtml2

Modified: forrest/trunk/whiteboard/forrest2/core/src/examples/helloWorld/src/locationmap.xml
URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/forrest2/core/src/examples/helloWorld/src/locationmap.xml?view=diff&rev=478000&r1=477999&r2=478000
==============================================================================
--- forrest/trunk/whiteboard/forrest2/core/src/examples/helloWorld/src/locationmap.xml (original)
+++ forrest/trunk/whiteboard/forrest2/core/src/examples/helloWorld/src/locationmap.xml Tue
Nov 21 17:30:49 2006
@@ -16,11 +16,11 @@
   limitations under the License.
 -->
 <locationmap>
-  <location pattern="helloWorld.xhtml2">
-    <source href="classpath:/xdocs/helloWorld.xhtml2"/>
+  <location pattern="(.*).xhtml2">
+    <source href="classpath:/xdocs/$(1).xhtml2"/>
   </location>
   
-  <location pattern="helloWorld.html">
-    <source href="classpath:/xdocs/helloWorld.xhtml2"/>
+  <location pattern="(.*)/(.*).html">
+    <source href="classpath:/xdocs/$(2).xhtml2"/>
   </location>
 </locationmap>

Added: forrest/trunk/whiteboard/forrest2/core/src/examples/helloWorld/src/xdocs/bonjourMonde.xhtml2
URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/forrest2/core/src/examples/helloWorld/src/xdocs/bonjourMonde.xhtml2?view=auto&rev=478000
==============================================================================
--- forrest/trunk/whiteboard/forrest2/core/src/examples/helloWorld/src/xdocs/bonjourMonde.xhtml2
(added)
+++ forrest/trunk/whiteboard/forrest2/core/src/examples/helloWorld/src/xdocs/bonjourMonde.xhtml2
Tue Nov 21 17:30:49 2006
@@ -0,0 +1,15 @@
+<?xml-stylesheet type="text/css" 
+                 href="http://www.w3.org/MarkUp/style/xhtml2.css"?>
+<html xmlns="http://www.w3.org/2002/06/xhtml2" xml:lang="en"
+      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+      xsi:schemaLocation="http://www.w3.org/2002/06/xhtml2/ http://www.w3.org/MarkUp/SCHEMA/xhtml2.xsd"
+>
+  <head> 
+    <title>XHTML 2 Bonjour Monde</title>
+  </head> 
+  <body> 
+    <h>Bonjour Monde</h>
+    
+    <a href="helloWorld.html">English</a>
+  </body>
+</html>
\ No newline at end of file

Modified: forrest/trunk/whiteboard/forrest2/core/src/examples/helloWorld/src/xdocs/helloWorld.xhtml2
URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/forrest2/core/src/examples/helloWorld/src/xdocs/helloWorld.xhtml2?view=diff&rev=478000&r1=477999&r2=478000
==============================================================================
--- forrest/trunk/whiteboard/forrest2/core/src/examples/helloWorld/src/xdocs/helloWorld.xhtml2
(original)
+++ forrest/trunk/whiteboard/forrest2/core/src/examples/helloWorld/src/xdocs/helloWorld.xhtml2
Tue Nov 21 17:30:49 2006
@@ -9,5 +9,7 @@
   </head> 
   <body> 
     <h>Hello World</h>
+    
+    <a href="bonjourMonde.html">French</a>
   </body>
 </html>



Mime
View raw message