changeset 39:9119a7b3a784

~ uses /2005/07/pubrules as entry point
author Alexandre Bertails <bertails@w3.org>
date Thu, 11 Aug 2011 18:53:05 -0400
parents 514d9e5e13b0
children bdffa232c3c1
files src/main/scala/Main.scala
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/main/scala/Main.scala	Thu Aug 11 18:52:36 2011 -0400
+++ b/src/main/scala/Main.scala	Thu Aug 11 18:53:05 2011 -0400
@@ -102,7 +102,7 @@
     val pubrulesSRC = new URL("http://www.w3.org/2005/07/13-pubrules-src.html")
 
     val pubrules = unfiltered.filter.Planify {
-      case Path(Seg("pubrules" :: Nil)) & Params(params) if params contains "uri" => {
+      case Path("/2005/07/pubrules") & Params(params) if params contains "uri" => {
 
         //val spec = "http://www.w3.org/TR/2004/WD-i18n-html-tech-char-20040509/"
         val spec = params("uri").head
@@ -181,7 +181,7 @@
     }
 
 
-    unfiltered.jetty.Http.local(2719).filter(pubrules).filter(trdoc2rdf).filter(echo).run()
+    unfiltered.jetty.Http(2719).filter(pubrules).filter(trdoc2rdf).filter(echo).run()
 
 
   }
Set up and maintained by W3C Systems Team, please report bugs to sysreq@w3.org.

W3C would like to thank Microsoft who donated the server that allows us to run this service.