[Yanel-commits] rev 23533 - in public/yanel/trunk/src/realms/yanel-website/content: . rtd xslt

michi at wyona.com michi at wyona.com
Sat Mar 31 16:10:40 CEST 2007


Author: michi
Date: 2007-03-31 16:10:39 +0200 (Sat, 31 Mar 2007)
New Revision: 23533

Added:
   public/yanel/trunk/src/realms/yanel-website/content/rtd/menu.rc
Modified:
   public/yanel/trunk/src/realms/yanel-website/content/sitetree.xml
   public/yanel/trunk/src/realms/yanel-website/content/xslt/global.xsl
Log:
navigation implemented

Added: public/yanel/trunk/src/realms/yanel-website/content/rtd/menu.rc
===================================================================
--- public/yanel/trunk/src/realms/yanel-website/content/rtd/menu.rc	2007-03-31 14:09:55 UTC (rev 23532)
+++ public/yanel/trunk/src/realms/yanel-website/content/rtd/menu.rc	2007-03-31 14:10:39 UTC (rev 23533)
@@ -0,0 +1,14 @@
+<?xml version="1.0"?>
+
+<yanel:resource-config xmlns:yanel="http://www.wyona.org/yanel/rti/1.0">
+  <yanel:rti name="navigation" namespace="http://www.wyona.org/yanel/resource/1.0"/>
+
+  <yanel:property name="mime-type" value="application/xhtml+xml"/>
+  <yanel:property name="xslt" value="/xslt/menu.xsl"/>
+  
+  <yanel:custom-config xmlns:nr="http://www.wyona.org/yanel/resource/nav-resource/1.0">
+    <nr:source lang="en" src="/sitetree.xml"/>
+    <nr:source lang="de" src="/sitetree-de.xml"/>
+    <nr:source lang="es" src="/sitetree-es.xml"/>
+  </yanel:custom-config>
+</yanel:resource-config>

Modified: public/yanel/trunk/src/realms/yanel-website/content/sitetree.xml
===================================================================
--- public/yanel/trunk/src/realms/yanel-website/content/sitetree.xml	2007-03-31 14:09:55 UTC (rev 23532)
+++ public/yanel/trunk/src/realms/yanel-website/content/sitetree.xml	2007-03-31 14:10:39 UTC (rev 23533)
@@ -4,37 +4,37 @@
 
 <node>
   <name>All You Need</name>
-  <node uuid="about/en.xhtml" href="/en/about.html"><name>About</name></node>
-  <node uuid="" href=""><name>Download</name></node>
-  <node uuid="" href=""><name>Unique Selling Proposition</name></node>
-  <node uuid="" href=""><name>License</name></node>
-  <node uuid="" href=""><name>Getting Started</name></node>
+  <node uuid="about/en.xhtml" href="en/about.html"><name>About</name></node>
+  <node uuid="" href="en/download/index.html"><name>Download</name></node>
+  <node uuid="" href="en/usp.html"><name>Unique Selling Proposition</name></node>
+  <node uuid="" href="license.html"><name>License</name></node>
+  <node uuid="" href="en/getting-started.html"><name>Getting Started</name></node>
   <node uuid="" href=""><name>Features</name></node>
-  <node uuid="" href=""><name>News</name></node>
-  <node uuid="" href=""><name>Documentation</name></node>
+  <node uuid="" href="news/index.html"><name>News</name></node>
+  <node uuid="" href="en/documentation/index.html"><name>Documentation</name></node>
 </node>
 
 <node>
   <name>Development/Community</name>
-  <node uuid="" href=""><name>Get the Source</name></node>
-  <node uuid="" href=""><name>Mailing Lists</name></node>
-  <node uuid="" href=""></node>
-  <node uuid="" href=""></node>
-  <node uuid="" href=""></node>
-  <node uuid="" href=""></node>
-  <node uuid="" href=""></node>
-  <node uuid="" href=""></node>
-  <node uuid="" href=""></node>
-  <node uuid="" href=""><name>References</name></node>
+  <node uuid="" href="download/source-repository.html"><name>Get the Source</name></node>
+  <node uuid="" href="mailing-lists.html"><name>Mailing Lists</name></node>
+  <node uuid="" href="roadmap.html"><name>Roadmap</name></node>
+  <node uuid="" href="en/task-bug-tracker.html"><name>Task/Bug Tracker</name></node>
+  <node uuid="" href="testing.html"><name>Continuous Integration</name></node>
+  <node uuid="" href="en/governance.html"><name>Governance</name></node>
+  <node uuid="" href="principles.html"><name>Principles</name></node>
+  <node uuid="" href="en/development/processes/index.html"><name>Processes</name></node>
+  <node uuid="" href="acknowledgements.html"><name>Acknowledgements</name></node>
+  <node uuid="" href="references.html"><name>References</name></node>
 </node>
 
 <node>
   <name>Professional Services</name>
-  <node uuid="professional-services/support/en.xhtml" href="/en/professional-services/support.html"><name>Support</name></node>
-  <node uuid="" href=""><name>Consulting</name></node>
-  <node uuid=""><name>Training</name></node>
-  <node uuid=""><name>Solutions</name></node>
-  <node uuid=""><name>Contact</name></node>
+  <node uuid="professional-services/support/en.xhtml" href="en/professional-services/support.html"><name>Support</name></node>
+  <node uuid="" href="en/professional-services/consulting.html"><name>Consulting</name></node>
+  <node uuid="" href="en/professional-services/training.html"><name>Training</name></node>
+  <node uuid="" href="en/professional-services/solutions.html"><name>Solutions</name></node>
+  <node uuid="" href="en/contact.html"><name>Contact</name></node>
 </node>
 
 <!--

Modified: public/yanel/trunk/src/realms/yanel-website/content/xslt/global.xsl
===================================================================
--- public/yanel/trunk/src/realms/yanel-website/content/xslt/global.xsl	2007-03-31 14:09:55 UTC (rev 23532)
+++ public/yanel/trunk/src/realms/yanel-website/content/xslt/global.xsl	2007-03-31 14:10:39 UTC (rev 23533)
@@ -4,6 +4,7 @@
   xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
   xmlns:xhtml="http://www.w3.org/1999/xhtml"
   xmlns:i18n="http://www.wyona.org/yanel/i18n/1.0"
+  xmlns:xi="http://www.w3.org/2001/XInclude"
   xmlns="http://www.w3.org/1999/xhtml"
 >
 
@@ -17,6 +18,7 @@
 <xsl:param name="yanel.path" select="'PATH_IS_NULL'"/>
 <xsl:param name="yanel.back2context" select="'BACK2CONTEXT_IS_NULL'"/>
 <xsl:param name="yarep.back2realm" select="'BACK2REALM_IS_NULL'"/>
+<xsl:param name="language" select="'LANGUAGE_IS_NULL'"/>
 
 <xsl:param name="yanel.meta.language" select="'en'"/>
 
@@ -106,6 +108,8 @@
 </xsl:template>
 
 <xsl:template name="navigation">
+<xi:include href="yanelresource:/navigation/menu.xml?path={$yanel.path}&amp;language={$language}"/>
+<!--
 <b>All You Need</b><br/>
 &#160;<a href="{$yarep.back2realm}{$yanel.meta.language}/about.html">About</a><br/>
 &#160;<a href="{$yarep.back2realm}en/download/index.html">Download</a><br/>
@@ -113,9 +117,9 @@
 &#160;<a href="{$yarep.back2realm}license.html">License</a><br/>
 &#160;<a href="{$yarep.back2realm}{$yanel.meta.language}/getting-started.html">Getting Started</a><br/>
 &#160;Features<br/>
-<!--
+<!- -
 &#160;News<br/>
- -->
+ - ->
 &#160;<a href="{$yarep.back2realm}news/index.html">News</a><br/>
 
 &#160;<a href="{$yarep.back2realm}en/documentation/index.html">Documentation</a><br/>
@@ -138,6 +142,7 @@
 &#160;<a href="{$yarep.back2realm}en/professional-services/training.html">Training</a><br/>
 &#160;<a href="{$yarep.back2realm}en/professional-services/solutions.html">Solutions</a><br/>
 &#160;<a href="{$yarep.back2realm}en/contact.html">Contact</a><br/>
+-->
 <br/>
 <b><i18n:message key="search"/></b>
 &#160;<form action="{$yarep.back2realm}en/search.html" method="GET"><input type="text" name="query" class="searchbox" size="14"/></form>




More information about the Yanel-commits mailing list