You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lenya.apache.org by ch...@apache.org on 2005/11/10 23:15:09 UTC

svn commit: r332385 - in /lenya/trunk/src: modules/xhtml/config/module.xconf modules/xhtml/samples/xhtml-2col.xml webapp/lenya/pubs/default/resources/shared/css/xhtml.css

Author: chestnut
Date: Thu Nov 10 14:15:04 2005
New Revision: 332385

URL: http://svn.apache.org/viewcvs?rev=332385&view=rev
Log:
Example of a optional xhtml sample in the default pub.  Perhaps someone can provide a patch for a better example of a 2 column page

Added:
    lenya/trunk/src/modules/xhtml/samples/xhtml-2col.xml   (with props)
Modified:
    lenya/trunk/src/modules/xhtml/config/module.xconf
    lenya/trunk/src/webapp/lenya/pubs/default/resources/shared/css/xhtml.css

Modified: lenya/trunk/src/modules/xhtml/config/module.xconf
URL: http://svn.apache.org/viewcvs/lenya/trunk/src/modules/xhtml/config/module.xconf?rev=332385&r1=332384&r2=332385&view=diff
==============================================================================
--- lenya/trunk/src/modules/xhtml/config/module.xconf (original)
+++ lenya/trunk/src/modules/xhtml/config/module.xconf Thu Nov 10 14:15:04 2005
@@ -25,6 +25,7 @@
     <schema src="fallback://lenya/modules/xhtml/schemas/xhtml.rng" language="http://relaxng.org/ns/structure/0.9"/>
     <creator src="org.apache.lenya.cms.authoring.DefaultBranchCreator">
       <sample-name>fallback://lenya/modules/xhtml/samples/xhtml.xml</sample-name>
+      <sample-name name="Two Column Layout">fallback://lenya/modules/xhtml/samples/xhtml-2col.xml</sample-name>
     </creator>
     <link-attribute xpath="//*[namespace-uri() = 'http://www.w3.org/1999/xhtml']/@href"/>
     <format name="xhtml" uri="cocoon://modules/xhtml/xhtml.xml"/>

Added: lenya/trunk/src/modules/xhtml/samples/xhtml-2col.xml
URL: http://svn.apache.org/viewcvs/lenya/trunk/src/modules/xhtml/samples/xhtml-2col.xml?rev=332385&view=auto
==============================================================================
--- lenya/trunk/src/modules/xhtml/samples/xhtml-2col.xml (added)
+++ lenya/trunk/src/modules/xhtml/samples/xhtml-2col.xml Thu Nov 10 14:15:04 2005
@@ -0,0 +1,59 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<html xmlns="http://www.w3.org/1999/xhtml" 
+      xmlns:xhtml="http://www.w3.org/1999/xhtml" 
+      xmlns:lenya="http://apache.org/cocoon/lenya/page-envelope/1.0"
+>
+  <head>
+    <title>Related Projects</title>
+  </head>
+  <body>  
+  
+    <h2>Related Projects</h2>
+    <p>
+        This list is featuring projects which are closely related to Apache Lenya. 
+        Open Source Content Management Systems overviews can be found at 
+        <a href="http://www.oscom.org">oscom.org</a> or <a href="http://www.cmsinfo.org">cmsinfo.org</a>. 
+        More information on Cocoon-based projects can be found at
+        <a href="http://cocoon.apache.org/link/projects.html">http://cocoon.apache.org/link/projects.html</a>.
+    </p>
+    <div class="column1of2"> 
+      <h3>Cocoon</h3>
+      <p>Apache Cocoon is an XML publishing framework that raises the usage of XML and XSLT
+      technologies for server applications to a new level. Designed for performance and
+      scalability around pipelined SAX processing, Cocoon offers a flexible environment
+      based on a separation of concerns between content, logic, and style. To top this all
+      off, Cocoons centralized configuration system and sophisticated caching help you to
+      create, deploy, and maintain rock-solid XML server applications.</p>
+      <p><a href="http://cocoon.apache.org">http://cocoon.apache.org</a></p>
+
+      <h3>Slide</h3>
+      <p>The Slide project main module is a Content Management and Integration System, which
+      can be seen as a low-level content management framework. Conceptually, it provides
+      a hierarchical organization of binary content which can be stored into arbitrary,
+      heterogenous, distributed data stores. In addition, Slide integrates security, locking,
+      versioning, as well as many other services.</p>
+      <p><a href="http://jakarta.apache.org/slide/">http://jakarta.apache.org/slide/</a></p>
+    </div>
+
+    <div class="column2of2">
+      <h3>Jackrabbit</h3>
+      <p>The Jackrabbit Project has been formed to develop an open source implementation of the 
+      Content Repository for Java Technology API (JCR), being specified within the Java Community 
+      Process as JSR-170.</p>
+      <p><a href="http://incubator.apache.org/jackrabbit/">http://incubator.apache.org/jackrabbit/</a></p>
+
+      <h3>Forrest</h3>
+      <p>Apache Forrest is an XML standards-oriented documentation framework based on Apache Cocoon, 
+      providing XSLT stylesheets and schemas, images and other resources. Forrest uses these to render 
+      the XML source content into a website via command-line, robot, or a dynamic web application.</p>
+      <p><a href="http://forrest.apache.org/">http://forrest.apache.org/</a></p>
+    </div>
+    <div>
+      <br class="clear" />
+      <br /><br />
+      <br /><br />
+      <br /><br />
+      <br /><br />
+    </div>
+  </body>
+</html>

Propchange: lenya/trunk/src/modules/xhtml/samples/xhtml-2col.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: lenya/trunk/src/webapp/lenya/pubs/default/resources/shared/css/xhtml.css
URL: http://svn.apache.org/viewcvs/lenya/trunk/src/webapp/lenya/pubs/default/resources/shared/css/xhtml.css?rev=332385&r1=332384&r2=332385&view=diff
==============================================================================
--- lenya/trunk/src/webapp/lenya/pubs/default/resources/shared/css/xhtml.css (original)
+++ lenya/trunk/src/webapp/lenya/pubs/default/resources/shared/css/xhtml.css Thu Nov 10 14:15:04 2005
@@ -1 +1,14 @@
-/* Put your doctype-specific CSS here */
\ No newline at end of file
+/* Put your doctype-specific CSS here */
+
+.column1of2 {
+        position: relative;
+        width: 48%;
+        float: left;
+}
+
+.column2of2 {
+        position: relative;
+        float: left;
+        width: 48%;
+        margin-left: 12px;
+}
\ No newline at end of file



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@lenya.apache.org
For additional commands, e-mail: commits-help@lenya.apache.org