[Yanel-commits] rev 37945 - in public/yanel/trunk/src/realms/from-scratch-realm-template: data-repo/data data-repo/data/en res-configs

michi at wyona.com michi at wyona.com
Wed Aug 13 15:42:08 CEST 2008


Author: michi
Date: 2008-08-13 15:42:07 +0200 (Wed, 13 Aug 2008)
New Revision: 37945

Added:
   public/yanel/trunk/src/realms/from-scratch-realm-template/data-repo/data/en/index.html
Removed:
   public/yanel/trunk/src/realms/from-scratch-realm-template/data-repo/data/index.html
Modified:
   public/yanel/trunk/src/realms/from-scratch-realm-template/res-configs/index.html.yanel-rc
Log:
redirect added

Copied: public/yanel/trunk/src/realms/from-scratch-realm-template/data-repo/data/en/index.html (from rev 37706, public/yanel/trunk/src/realms/from-scratch-realm-template/data-repo/data/index.html)
===================================================================
--- public/yanel/trunk/src/realms/from-scratch-realm-template/data-repo/data/en/index.html	                        (rev 0)
+++ public/yanel/trunk/src/realms/from-scratch-realm-template/data-repo/data/en/index.html	2008-08-13 13:42:07 UTC (rev 37945)
@@ -0,0 +1,29 @@
+<?xml version="1.0"?>
+
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+
+<head>
+  <meta http-equiv="Content-Type" content="application/xhtml+xml; charset=UTF-8"/>
+  <title>Homepage - From Scratch Realm</title>
+<!--
+  <link rel="neutron-introspection" type="application/neutron+xml" href="?yanel.resource.usecase=introspection"/>
+-->
+
+  <!-- Use this custom introspection document, because in the case of "/" instead of "index.html", one will edit the directory "/" instead of "index.html" and a RepositoryException will be thrown. TODO: Fix createRevision() of yarep VirtualFileSystemRepo implementation by using the alternative directory node name! -->
+  <link rel="neutron-introspection" type="application/neutron+xml" href="introspection-index.xml"/>
+</head>
+
+<body>
+<h1>Welcome to the &quot;From Scratch&quot; Realm</h1>
+  <p>This realm allows you to start a website from scratch. It already contains a <b>user</b> &quot;lenya&quot; (<b>password</b>: levi) and below are some links to get you started. Happy exploring :-)</p>
+<ul>
+  <li>Turn on the Yanel <a href="index.html?yanel.toolbar=on">toolbar</a> (Developers please note that the toolbar can be customized arbitrarily)</li>
+  <li><a href="create-new-page.html">Create new page</a> (Developers please note that one can add arbitrary resource types)</li>
+  <li>Edit this page with <a href="http://www.yulup.org">Yulup</a></li>
+  <li>Change user profile of user <a href="yanel/users/lenya.html">lenya</a> (or <a href="lenya.html">here</a>)</li>
+  <li><a href="create-new-page.html?resource-type=http%3A%2F%2Fwww.wyona.org%2Fyanel%2Fresource%2F1.0%3A%3Ayanel-user">Create new user</a></li>
+</ul>
+</body>
+</html>

Deleted: public/yanel/trunk/src/realms/from-scratch-realm-template/data-repo/data/index.html
===================================================================
--- public/yanel/trunk/src/realms/from-scratch-realm-template/data-repo/data/index.html	2008-08-13 13:39:08 UTC (rev 37944)
+++ public/yanel/trunk/src/realms/from-scratch-realm-template/data-repo/data/index.html	2008-08-13 13:42:07 UTC (rev 37945)
@@ -1,29 +0,0 @@
-<?xml version="1.0"?>
-
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-
-<html xmlns="http://www.w3.org/1999/xhtml">
-
-<head>
-  <meta http-equiv="Content-Type" content="application/xhtml+xml; charset=UTF-8"/>
-  <title>Homepage - From Scratch Realm</title>
-<!--
-  <link rel="neutron-introspection" type="application/neutron+xml" href="?yanel.resource.usecase=introspection"/>
--->
-
-  <!-- Use this custom introspection document, because in the case of "/" instead of "index.html", one will edit the directory "/" instead of "index.html" and a RepositoryException will be thrown. TODO: Fix createRevision() of yarep VirtualFileSystemRepo implementation by using the alternative directory node name! -->
-  <link rel="neutron-introspection" type="application/neutron+xml" href="introspection-index.xml"/>
-</head>
-
-<body>
-<h1>Welcome to the &quot;From Scratch&quot; Realm</h1>
-  <p>This realm allows you to start a website from scratch. It already contains a <b>user</b> &quot;lenya&quot; (<b>password</b>: levi) and below are some links to get you started. Happy exploring :-)</p>
-<ul>
-  <li>Turn on the Yanel <a href="index.html?yanel.toolbar=on">toolbar</a> (Developers please note that the toolbar can be customized arbitrarily)</li>
-  <li><a href="create-new-page.html">Create new page</a> (Developers please note that one can add arbitrary resource types)</li>
-  <li>Edit this page with <a href="http://www.yulup.org">Yulup</a></li>
-  <li>Change user profile of user <a href="yanel/users/lenya.html">lenya</a> (or <a href="lenya.html">here</a>)</li>
-  <li><a href="create-new-page.html?resource-type=http%3A%2F%2Fwww.wyona.org%2Fyanel%2Fresource%2F1.0%3A%3Ayanel-user">Create new user</a></li>
-</ul>
-</body>
-</html>

Modified: public/yanel/trunk/src/realms/from-scratch-realm-template/res-configs/index.html.yanel-rc
===================================================================
--- public/yanel/trunk/src/realms/from-scratch-realm-template/res-configs/index.html.yanel-rc	2008-08-13 13:39:08 UTC (rev 37944)
+++ public/yanel/trunk/src/realms/from-scratch-realm-template/res-configs/index.html.yanel-rc	2008-08-13 13:42:07 UTC (rev 37945)
@@ -1,8 +1,11 @@
 <?xml version="1.0"?>
 
 <yanel:resource-config xmlns:yanel="http://www.wyona.org/yanel/rti/1.0">
-  <yanel:rti name="xml" namespace="http://www.wyona.org/yanel/resource/1.0"/>
+  <yanel:rti name="redirect" namespace="http://www.wyona.org/yanel/resource/1.0"/>
 
-  <yanel:property name="mime-type" value="application/xhtml+xml"/>
-  <yanel:property name="xslt" value="/app/xslt/global.xsl"/>
+  <yanel:property name="href" value="en/index.html"/>
+
+  <yanel:custom-config xmlns:rd="http://www.wyona.org/yanel/resource/redirect-resource/1.0">
+    <rd:language code="de" href="de/index.html"/>
+  </yanel:custom-config>
 </yanel:resource-config>



More information about the Yanel-commits mailing list