You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lenya.apache.org by an...@apache.org on 2007/11/02 12:00:40 UTC
svn commit: r591298 [7/37] - in /lenya/sandbox/pubs/docu/content/authoring:
0033e320-8731-11dc-ae46-9e7b5d14892d/ 003a4bc0-8731-11dc-ae46-9e7b5d14892d/
018a9980-8731-11dc-ae46-9e7b5d14892d/ 02f9e0f0-8731-11dc-ae46-9e7b5d14892d/
043dd2a0-8731-11dc-ae46-...
Added: lenya/sandbox/pubs/docu/content/authoring/2d3f4260-8731-11dc-ae46-9e7b5d14892d/en.meta.1193910795509.bak
URL: http://svn.apache.org/viewvc/lenya/sandbox/pubs/docu/content/authoring/2d3f4260-8731-11dc-ae46-9e7b5d14892d/en.meta.1193910795509.bak?rev=591298&view=auto
==============================================================================
--- lenya/sandbox/pubs/docu/content/authoring/2d3f4260-8731-11dc-ae46-9e7b5d14892d/en.meta.1193910795509.bak (added)
+++ lenya/sandbox/pubs/docu/content/authoring/2d3f4260-8731-11dc-ae46-9e7b5d14892d/en.meta.1193910795509.bak Fri Nov 2 03:57:25 2007
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<metadata xmlns="http://apache.org/lenya/metadata/1.0">
+<element-set namespace="http://purl.org/dc/elements/1.1/">
+<element key="title">
+<value>Site tree</value>
+</element>
+</element-set>
+<element-set namespace="http://apache.org/lenya/metadata/document/1.0">
+<element key="extension">
+<value>xml</value>
+</element>
+<element key="mimeType">
+<value>application/xml</value>
+</element>
+<element key="resourceType">
+<value>forrestDocument20</value>
+</element>
+<element key="contentType">
+<value>xml</value>
+</element>
+</element-set>
+</metadata>
Modified: lenya/sandbox/pubs/docu/content/authoring/2d3f4260-8731-11dc-ae46-9e7b5d14892d/en.rcml
URL: http://svn.apache.org/viewvc/lenya/sandbox/pubs/docu/content/authoring/2d3f4260-8731-11dc-ae46-9e7b5d14892d/en.rcml?rev=591298&r1=591297&r2=591298&view=diff
==============================================================================
--- lenya/sandbox/pubs/docu/content/authoring/2d3f4260-8731-11dc-ae46-9e7b5d14892d/en.rcml (original)
+++ lenya/sandbox/pubs/docu/content/authoring/2d3f4260-8731-11dc-ae46-9e7b5d14892d/en.rcml Fri Nov 2 03:57:25 2007
@@ -1,5 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<XPSRevisionControl xmlns="">
+<CheckIn backup="true" identity="lenya" session="1f12dc80-8860-11dc-ba66-cfbbb816bd0d" time="1193910795509" version="2"/>
+<CheckOut identity="lenya" session="1f12dc80-8860-11dc-ba66-cfbbb816bd0d" time="1193910767683"/>
<CheckIn backup="true" identity="lenya" session="60798970-8730-11dc-ae46-9e7b5d14892d" time="1193781617600" version="1"/>
<CheckOut identity="lenya" session="60798970-8730-11dc-ae46-9e7b5d14892d" time="1193781604957"/>
</XPSRevisionControl>
Added: lenya/sandbox/pubs/docu/content/authoring/2d466e50-8731-11dc-ae46-9e7b5d14892d/en.1193910779867.bak
URL: http://svn.apache.org/viewvc/lenya/sandbox/pubs/docu/content/authoring/2d466e50-8731-11dc-ae46-9e7b5d14892d/en.1193910779867.bak?rev=591298&view=auto
==============================================================================
--- lenya/sandbox/pubs/docu/content/authoring/2d466e50-8731-11dc-ae46-9e7b5d14892d/en.1193910779867.bak (added)
+++ lenya/sandbox/pubs/docu/content/authoring/2d466e50-8731-11dc-ae46-9e7b5d14892d/en.1193910779867.bak Fri Nov 2 03:57:25 2007
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Copyright 1999-2004 The Apache Software Foundation
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+<!-- $Id: index.xml 55543 2004-10-26 00:14:59Z gregor $ --><!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V2.0//EN" "http://forrest.apache.org/dtd/document-v20.dtd">
+
+<document>
+ <header>
+ <title>Apache Lenya Documentation</title>
+ </header>
+ <body>
+ <p>
+ This is a Forrest Document 2.0 sample.
+ </p>
+ </body>
+</document>
Modified: lenya/sandbox/pubs/docu/content/authoring/2d466e50-8731-11dc-ae46-9e7b5d14892d/en.meta
URL: http://svn.apache.org/viewvc/lenya/sandbox/pubs/docu/content/authoring/2d466e50-8731-11dc-ae46-9e7b5d14892d/en.meta?rev=591298&r1=591297&r2=591298&view=diff
==============================================================================
--- lenya/sandbox/pubs/docu/content/authoring/2d466e50-8731-11dc-ae46-9e7b5d14892d/en.meta (original)
+++ lenya/sandbox/pubs/docu/content/authoring/2d466e50-8731-11dc-ae46-9e7b5d14892d/en.meta Fri Nov 2 03:57:25 2007
@@ -1,11 +1,16 @@
<?xml version="1.0" encoding="UTF-8"?>
<metadata xmlns="http://apache.org/lenya/metadata/1.0">
-<element-set namespace="http://apache.org/lenya/metadata/document/1.0">
-<element key="mimeType">
-<value>application/xml</value>
+<element-set namespace="http://purl.org/dc/elements/1.1/">
+<element key="title">
+<value>Resource Types</value>
</element>
+</element-set>
+<element-set namespace="http://apache.org/lenya/metadata/document/1.0">
<element key="extension">
<value>xml</value>
+</element>
+<element key="mimeType">
+<value>application/xml</value>
</element>
<element key="resourceType">
<value>forrestDocument20</value>
Added: lenya/sandbox/pubs/docu/content/authoring/2d466e50-8731-11dc-ae46-9e7b5d14892d/en.meta.1193910779867.bak
URL: http://svn.apache.org/viewvc/lenya/sandbox/pubs/docu/content/authoring/2d466e50-8731-11dc-ae46-9e7b5d14892d/en.meta.1193910779867.bak?rev=591298&view=auto
==============================================================================
--- lenya/sandbox/pubs/docu/content/authoring/2d466e50-8731-11dc-ae46-9e7b5d14892d/en.meta.1193910779867.bak (added)
+++ lenya/sandbox/pubs/docu/content/authoring/2d466e50-8731-11dc-ae46-9e7b5d14892d/en.meta.1193910779867.bak Fri Nov 2 03:57:25 2007
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<metadata xmlns="http://apache.org/lenya/metadata/1.0">
+<element-set namespace="http://purl.org/dc/elements/1.1/">
+<element key="title">
+<value>Resource Types</value>
+</element>
+</element-set>
+<element-set namespace="http://apache.org/lenya/metadata/document/1.0">
+<element key="extension">
+<value>xml</value>
+</element>
+<element key="mimeType">
+<value>application/xml</value>
+</element>
+<element key="resourceType">
+<value>forrestDocument20</value>
+</element>
+<element key="contentType">
+<value>xml</value>
+</element>
+</element-set>
+</metadata>
Modified: lenya/sandbox/pubs/docu/content/authoring/2d466e50-8731-11dc-ae46-9e7b5d14892d/en.rcml
URL: http://svn.apache.org/viewvc/lenya/sandbox/pubs/docu/content/authoring/2d466e50-8731-11dc-ae46-9e7b5d14892d/en.rcml?rev=591298&r1=591297&r2=591298&view=diff
==============================================================================
--- lenya/sandbox/pubs/docu/content/authoring/2d466e50-8731-11dc-ae46-9e7b5d14892d/en.rcml (original)
+++ lenya/sandbox/pubs/docu/content/authoring/2d466e50-8731-11dc-ae46-9e7b5d14892d/en.rcml Fri Nov 2 03:57:25 2007
@@ -1,5 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<XPSRevisionControl xmlns="">
+<CheckIn backup="true" identity="lenya" session="1f12dc80-8860-11dc-ba66-cfbbb816bd0d" time="1193910779867" version="2"/>
+<CheckOut identity="lenya" session="1f12dc80-8860-11dc-ba66-cfbbb816bd0d" time="1193910765597"/>
<CheckIn backup="true" identity="lenya" session="60798970-8730-11dc-ae46-9e7b5d14892d" time="1193781631983" version="1"/>
<CheckOut identity="lenya" session="60798970-8730-11dc-ae46-9e7b5d14892d" time="1193781610989"/>
</XPSRevisionControl>
Added: lenya/sandbox/pubs/docu/content/authoring/2e818660-8731-11dc-ae46-9e7b5d14892d/en.1193910785567.bak
URL: http://svn.apache.org/viewvc/lenya/sandbox/pubs/docu/content/authoring/2e818660-8731-11dc-ae46-9e7b5d14892d/en.1193910785567.bak?rev=591298&view=auto
==============================================================================
--- lenya/sandbox/pubs/docu/content/authoring/2e818660-8731-11dc-ae46-9e7b5d14892d/en.1193910785567.bak (added)
+++ lenya/sandbox/pubs/docu/content/authoring/2e818660-8731-11dc-ae46-9e7b5d14892d/en.1193910785567.bak Fri Nov 2 03:57:25 2007
@@ -0,0 +1,194 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Copyright 1999-2004 The Apache Software Foundation
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+<!-- $Id: index.xml 55543 2004-10-26 00:14:59Z gregor $ --><!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V2.0//EN" "http://forrest.apache.org/dtd/document-v20.dtd">
+
+<document>
+ <header>
+ <title>Resource Types (formerly known as Document Types)</title>
+
+
+
+ </header>
+
+ <body>
+
+<section>
+ <title>Basics</title>
+
+ <p>
+ A resource type defines a certain XML source format, together with processing options.
+ It typically consists of
+ </p>
+ <ul>
+ <li>an XML structure definition (e.g., Relax NG)</li>
+ <li>a workflow schema,</li>
+ <li>some presentation pipelines,</li>
+ <li>some presentation XSLT stylesheets,</li>
+ <li>a Lenya menubar.</li>
+ </ul>
+ <p>
+ All of these can be shared between several resource types.
+ </p>
+</section>
+
+<section>
+ <title>Adding a Resource Type to a Publication</title>
+ <p>
+ Adding a custom resource type to your publication includes the following steps:
+ </p>
+
+ <section>
+<title>Choose a Unique Resource Type Name</title>
+ <p>
+ You should choose a reasonable name for your resource type.
+ In the examples, we use <em>profile</em> (page with information about a person).
+ </p>
+ </section>
+
+ <section>
+<title>Providing a Sample XML Document</title>
+ <p>
+ If you want to enable users to create new resources belonging to
+ your resource type, it is useful to provide a sample XML document.
+ If you want to use the <code>DefaultBranchCreator</code> that ships
+ with Lenya, you have to add the sample document because it is used
+ as a template for creating new resources.
+ </p>
+ <p>
+ The sample document is placed in <code>{publication}/config/doctypes/samples/</code>.
+ You can choose an arbitrary filename, but it is recommended to
+ use the resource type name (e.g., <code>profile.xml</code>).
+ </p>
+ </section>
+
+ <section>
+<title>Providing an XML Structure Definition</title>
+ <p>
+ This step is only needed if you want to edit resources with Lenya
+ or validate them after they have been imported or manipulated.
+ The type of the structure definition
+ (<a href="http://www.w3.org/XML/Schema">XML Schema</a>,
+ <a href="http://www.relaxng.org/">Relax NG</a>, ...)
+ depends on the editor or validator you want to use. For instance,
+ the <a href="http://www.bitfluxeditor.org/">BXE</a> WYSIWYG
+ editor requires a Relax NG document.
+ </p>
+ <p>The structure definition document is placed in the directory
+ <code>{publication}/config/doctypes/schemas/</code>. The name
+ of the file is arbitrary, but it is recommended to use the
+ resource type name (e.g., <code>profile.rng</code>).
+ </p>
+ </section>
+
+ <section>
+<title>Creating a Workflow Schema</title>
+ <p>
+ If your resources should have a workflow, you have to add a workflow
+ schema for your resource type as described in
+ <a href="../workflow/configuration.html">Workflow Configuration</a>.
+ A workflow schema can be shared between multiple resource types.
+ </p>
+ </section>
+
+ <section>
+<title>The Resource Type Definition</title>
+ <p>
+ To assign the creator and the workflow schema to your resource type,
+ declare it in <code>{publication}/config/doctypes/doctypes.xconf</code>:
+ </p>
+<source xml:space="preserve"><![CDATA[<doc type="profile">
+ <creator src="org.apache.lenya.cms.authoring.DefaultBranchCreator">
+ <sample-name>profile.xml</sample-name>
+ </creator>
+ <workflow src="2stage.xml"/>
+ </doc>]]></source>
+ </section>
+
+ <section>
+<title>Define the Mapping From URLs to Resource Types</title>
+ <p>
+ The resource type of a resource is determined based on the resource URL.
+ This mapping happens in <code>{publication}/parameter-doctype.xmap</code>.
+ </p>
+ <p>
+ A typical approach to determine the resource type is to apply the
+ <code>SourceTypeAction</code> on the source document:
+ </p>
+<source xml:space="preserve"><![CDATA[<map:match pattern="*/**.html">
+ <map:act type="sourcetype" src="content/{1}/{page-envelope:document-path}">
+ <map:generate type="serverpages" src="../../config/parameters/default.xsp">
+ <map:parameter name="value" value="{sourcetype}"/>
+ </map:generate>
+ <map:serialize type="xml"/>
+ </map:act>
+</map:match>]]></source>
+
+ <p>Another way is to return the resource type by just matching
+ certain URLs:</p>
+
+<source xml:space="preserve"><![CDATA[<map:match pattern="*/profiles/*.html">
+ <map:generate type="serverpages" src="../../config/parameters/default.xsp">
+ <map:parameter name="value" value="profile"/>
+ </map:generate>
+ <map:serialize type="xml"/>
+</map:match>]]></source>
+
+ </section>
+
+ <section>
+<title>Define a Custom Menubar</title>
+ <p>
+ If you want to use a custom menubar for your resource type,
+ follow the guidelines on the page
+ <a href="../layout/lenya-menubar.html">The Lenya Menubar</a>.
+ Typically, a menubar is shared between multiple resource types.
+ Small customizations can be achieved with Java code in the menubar XSP.
+ </p>
+ <p>
+ To let the user create new resources using the <code>DefaultBranchCreator</code>,
+ you have to add the following menu item:
+ </p>
+<source xml:space="preserve"><![CDATA[<item uc:usecase="create" uc:step="showscreen" href="?doctype=profile"><i18n:text>New Document</i18n:text></item>]]>
+</source>
+ </section>
+
+ <section>
+<title>Presentation</title>
+
+ <p>
+ To make your resources available as HTTP pages, you have to add the
+ appropriate pipelines and XSLT stylesheets. In general, there are no
+ restrictions.
+ </p>
+ <p>
+ If you derive your publication from the default publication,
+ the pipelines have to be placed in
+ <code>{publication}/doctypes.xmap</code>. The stylesheets are located in
+ <code>{publication}/xslt/</code> and are named <code>{resource-type}2xhtml.xsl</code>
+ (e.g., <code>profile2xhtml.xsl</code>). The stylesheet is supposed to generate
+ a valid XHTML fragment (in the XHTML namespace) with <code><div id="body"></code>
+ as the document element.
+ </p>
+
+ </section>
+
+</section>
+
+
+
+ </body>
+</document>
Modified: lenya/sandbox/pubs/docu/content/authoring/2e818660-8731-11dc-ae46-9e7b5d14892d/en.meta
URL: http://svn.apache.org/viewvc/lenya/sandbox/pubs/docu/content/authoring/2e818660-8731-11dc-ae46-9e7b5d14892d/en.meta?rev=591298&r1=591297&r2=591298&view=diff
==============================================================================
--- lenya/sandbox/pubs/docu/content/authoring/2e818660-8731-11dc-ae46-9e7b5d14892d/en.meta (original)
+++ lenya/sandbox/pubs/docu/content/authoring/2e818660-8731-11dc-ae46-9e7b5d14892d/en.meta Fri Nov 2 03:57:25 2007
@@ -1,11 +1,16 @@
<?xml version="1.0" encoding="UTF-8"?>
<metadata xmlns="http://apache.org/lenya/metadata/1.0">
-<element-set namespace="http://apache.org/lenya/metadata/document/1.0">
-<element key="mimeType">
-<value>application/xml</value>
+<element-set namespace="http://purl.org/dc/elements/1.1/">
+<element key="title">
+<value>Resource Types</value>
</element>
+</element-set>
+<element-set namespace="http://apache.org/lenya/metadata/document/1.0">
<element key="extension">
<value>xml</value>
+</element>
+<element key="mimeType">
+<value>application/xml</value>
</element>
<element key="resourceType">
<value>forrestDocument20</value>
Added: lenya/sandbox/pubs/docu/content/authoring/2e818660-8731-11dc-ae46-9e7b5d14892d/en.meta.1193910785567.bak
URL: http://svn.apache.org/viewvc/lenya/sandbox/pubs/docu/content/authoring/2e818660-8731-11dc-ae46-9e7b5d14892d/en.meta.1193910785567.bak?rev=591298&view=auto
==============================================================================
--- lenya/sandbox/pubs/docu/content/authoring/2e818660-8731-11dc-ae46-9e7b5d14892d/en.meta.1193910785567.bak (added)
+++ lenya/sandbox/pubs/docu/content/authoring/2e818660-8731-11dc-ae46-9e7b5d14892d/en.meta.1193910785567.bak Fri Nov 2 03:57:25 2007
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<metadata xmlns="http://apache.org/lenya/metadata/1.0">
+<element-set namespace="http://purl.org/dc/elements/1.1/">
+<element key="title">
+<value>Resource Types</value>
+</element>
+</element-set>
+<element-set namespace="http://apache.org/lenya/metadata/document/1.0">
+<element key="extension">
+<value>xml</value>
+</element>
+<element key="mimeType">
+<value>application/xml</value>
+</element>
+<element key="resourceType">
+<value>forrestDocument20</value>
+</element>
+<element key="contentType">
+<value>xml</value>
+</element>
+</element-set>
+</metadata>
Modified: lenya/sandbox/pubs/docu/content/authoring/2e818660-8731-11dc-ae46-9e7b5d14892d/en.rcml
URL: http://svn.apache.org/viewvc/lenya/sandbox/pubs/docu/content/authoring/2e818660-8731-11dc-ae46-9e7b5d14892d/en.rcml?rev=591298&r1=591297&r2=591298&view=diff
==============================================================================
--- lenya/sandbox/pubs/docu/content/authoring/2e818660-8731-11dc-ae46-9e7b5d14892d/en.rcml (original)
+++ lenya/sandbox/pubs/docu/content/authoring/2e818660-8731-11dc-ae46-9e7b5d14892d/en.rcml Fri Nov 2 03:57:25 2007
@@ -1,5 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<XPSRevisionControl xmlns="">
+<CheckIn backup="true" identity="lenya" session="1f12dc80-8860-11dc-ba66-cfbbb816bd0d" time="1193910785567" version="2"/>
+<CheckOut identity="lenya" session="1f12dc80-8860-11dc-ba66-cfbbb816bd0d" time="1193910770259"/>
<CheckIn backup="true" identity="lenya" session="60798970-8730-11dc-ae46-9e7b5d14892d" time="1193781621246" version="1"/>
<CheckOut identity="lenya" session="60798970-8730-11dc-ae46-9e7b5d14892d" time="1193781609877"/>
</XPSRevisionControl>
Added: lenya/sandbox/pubs/docu/content/authoring/2e890070-8731-11dc-ae46-9e7b5d14892d/en.1193910776844.bak
URL: http://svn.apache.org/viewvc/lenya/sandbox/pubs/docu/content/authoring/2e890070-8731-11dc-ae46-9e7b5d14892d/en.1193910776844.bak?rev=591298&view=auto
==============================================================================
--- lenya/sandbox/pubs/docu/content/authoring/2e890070-8731-11dc-ae46-9e7b5d14892d/en.1193910776844.bak (added)
+++ lenya/sandbox/pubs/docu/content/authoring/2e890070-8731-11dc-ae46-9e7b5d14892d/en.1193910776844.bak Fri Nov 2 03:57:25 2007
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Copyright 1999-2004 The Apache Software Foundation
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+<!-- $Id: index.xml 55543 2004-10-26 00:14:59Z gregor $ --><!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V2.0//EN" "http://forrest.apache.org/dtd/document-v20.dtd">
+
+<document>
+ <header>
+ <title>Apache Lenya Documentation</title>
+ </header>
+ <body>
+ <p>
+ This is a Forrest Document 2.0 sample.
+ </p>
+ </body>
+</document>
Modified: lenya/sandbox/pubs/docu/content/authoring/2e890070-8731-11dc-ae46-9e7b5d14892d/en.meta
URL: http://svn.apache.org/viewvc/lenya/sandbox/pubs/docu/content/authoring/2e890070-8731-11dc-ae46-9e7b5d14892d/en.meta?rev=591298&r1=591297&r2=591298&view=diff
==============================================================================
--- lenya/sandbox/pubs/docu/content/authoring/2e890070-8731-11dc-ae46-9e7b5d14892d/en.meta (original)
+++ lenya/sandbox/pubs/docu/content/authoring/2e890070-8731-11dc-ae46-9e7b5d14892d/en.meta Fri Nov 2 03:57:25 2007
@@ -1,11 +1,16 @@
<?xml version="1.0" encoding="UTF-8"?>
<metadata xmlns="http://apache.org/lenya/metadata/1.0">
-<element-set namespace="http://apache.org/lenya/metadata/document/1.0">
-<element key="mimeType">
-<value>application/xml</value>
+<element-set namespace="http://purl.org/dc/elements/1.1/">
+<element key="title">
+<value>Revision Control</value>
</element>
+</element-set>
+<element-set namespace="http://apache.org/lenya/metadata/document/1.0">
<element key="extension">
<value>xml</value>
+</element>
+<element key="mimeType">
+<value>application/xml</value>
</element>
<element key="resourceType">
<value>forrestDocument20</value>
Added: lenya/sandbox/pubs/docu/content/authoring/2e890070-8731-11dc-ae46-9e7b5d14892d/en.meta.1193910776844.bak
URL: http://svn.apache.org/viewvc/lenya/sandbox/pubs/docu/content/authoring/2e890070-8731-11dc-ae46-9e7b5d14892d/en.meta.1193910776844.bak?rev=591298&view=auto
==============================================================================
--- lenya/sandbox/pubs/docu/content/authoring/2e890070-8731-11dc-ae46-9e7b5d14892d/en.meta.1193910776844.bak (added)
+++ lenya/sandbox/pubs/docu/content/authoring/2e890070-8731-11dc-ae46-9e7b5d14892d/en.meta.1193910776844.bak Fri Nov 2 03:57:25 2007
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<metadata xmlns="http://apache.org/lenya/metadata/1.0">
+<element-set namespace="http://purl.org/dc/elements/1.1/">
+<element key="title">
+<value>Revision Control</value>
+</element>
+</element-set>
+<element-set namespace="http://apache.org/lenya/metadata/document/1.0">
+<element key="extension">
+<value>xml</value>
+</element>
+<element key="mimeType">
+<value>application/xml</value>
+</element>
+<element key="resourceType">
+<value>forrestDocument20</value>
+</element>
+<element key="contentType">
+<value>xml</value>
+</element>
+</element-set>
+</metadata>
Modified: lenya/sandbox/pubs/docu/content/authoring/2e890070-8731-11dc-ae46-9e7b5d14892d/en.rcml
URL: http://svn.apache.org/viewvc/lenya/sandbox/pubs/docu/content/authoring/2e890070-8731-11dc-ae46-9e7b5d14892d/en.rcml?rev=591298&r1=591297&r2=591298&view=diff
==============================================================================
--- lenya/sandbox/pubs/docu/content/authoring/2e890070-8731-11dc-ae46-9e7b5d14892d/en.rcml (original)
+++ lenya/sandbox/pubs/docu/content/authoring/2e890070-8731-11dc-ae46-9e7b5d14892d/en.rcml Fri Nov 2 03:57:25 2007
@@ -1,5 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<XPSRevisionControl xmlns="">
+<CheckIn backup="true" identity="lenya" session="1f12dc80-8860-11dc-ba66-cfbbb816bd0d" time="1193910776844" version="2"/>
+<CheckOut identity="lenya" session="1f12dc80-8860-11dc-ba66-cfbbb816bd0d" time="1193910763243"/>
<CheckIn backup="true" identity="lenya" session="60798970-8730-11dc-ae46-9e7b5d14892d" time="1193781626109" version="1"/>
<CheckOut identity="lenya" session="60798970-8730-11dc-ae46-9e7b5d14892d" time="1193781605358"/>
</XPSRevisionControl>
Added: lenya/sandbox/pubs/docu/content/authoring/2fc83730-8731-11dc-ae46-9e7b5d14892d/en.1193910790285.bak
URL: http://svn.apache.org/viewvc/lenya/sandbox/pubs/docu/content/authoring/2fc83730-8731-11dc-ae46-9e7b5d14892d/en.1193910790285.bak?rev=591298&view=auto
==============================================================================
--- lenya/sandbox/pubs/docu/content/authoring/2fc83730-8731-11dc-ae46-9e7b5d14892d/en.1193910790285.bak (added)
+++ lenya/sandbox/pubs/docu/content/authoring/2fc83730-8731-11dc-ae46-9e7b5d14892d/en.1193910790285.bak Fri Nov 2 03:57:25 2007
@@ -0,0 +1,70 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Copyright 1999-2004 The Apache Software Foundation
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+<!-- $Id: revisioncontroller.xml 55543 2004-10-26 00:14:59Z gregor $ --><!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V2.0//EN" "http://forrest.apache.org/dtd/document-v20.dtd">
+
+<document>
+ <header>
+ <title>Revision Controller</title>
+ <version/>
+ <type/>
+
+ </header>
+ <body>
+ <section>
+ <title>Introduction</title>
+ <p>The Revision Controller controls the different reserved
+ check-in and check-out of documents, the backup versions and the
+ rollback. It is filesystem oriented</p>
+ </section>
+
+ <section>
+ <title>Check-in / Check-out</title>
+ <p>The
+ <a href="checkin.html">check-in</a>
+ and
+ <a href="checkout.html">check-out</a>
+ are reserved: a checked out document cannot be checked out by
+ another user.</p>
+ <p>A user "System" exists, who can force internally a checkin</p>
+ <p>The different check-in/check-out states (the checkin/out,
+ the time, the user's identity) of a document are stored in an
+ xml file with a own markup language: the
+ <a href="rcml.html">RCML-file.</a>
+</p>
+ </section>
+
+ <section>
+ <title>Versions</title>
+ <p>When a document is checked in, the old version of the
+ document is copied (
+ <a href="version.html">backup</a>
+ )</p>
+ </section>
+
+ <section>
+ <title>Rollback</title>
+ <p>It is also possible to retrieve an old version with the
+ <a href="rollback.html">rollback</a>
+ </p>
+ </section>
+
+ <section>
+ <title>Package</title>
+ <source xml:space="preserve">org.apache.lenya.cms.rc</source>
+ </section>
+ </body>
+</document>
Modified: lenya/sandbox/pubs/docu/content/authoring/2fc83730-8731-11dc-ae46-9e7b5d14892d/en.meta
URL: http://svn.apache.org/viewvc/lenya/sandbox/pubs/docu/content/authoring/2fc83730-8731-11dc-ae46-9e7b5d14892d/en.meta?rev=591298&r1=591297&r2=591298&view=diff
==============================================================================
--- lenya/sandbox/pubs/docu/content/authoring/2fc83730-8731-11dc-ae46-9e7b5d14892d/en.meta (original)
+++ lenya/sandbox/pubs/docu/content/authoring/2fc83730-8731-11dc-ae46-9e7b5d14892d/en.meta Fri Nov 2 03:57:25 2007
@@ -1,11 +1,16 @@
<?xml version="1.0" encoding="UTF-8"?>
<metadata xmlns="http://apache.org/lenya/metadata/1.0">
-<element-set namespace="http://apache.org/lenya/metadata/document/1.0">
-<element key="mimeType">
-<value>application/xml</value>
+<element-set namespace="http://purl.org/dc/elements/1.1/">
+<element key="title">
+<value>Revision Controller</value>
</element>
+</element-set>
+<element-set namespace="http://apache.org/lenya/metadata/document/1.0">
<element key="extension">
<value>xml</value>
+</element>
+<element key="mimeType">
+<value>application/xml</value>
</element>
<element key="resourceType">
<value>forrestDocument20</value>
Added: lenya/sandbox/pubs/docu/content/authoring/2fc83730-8731-11dc-ae46-9e7b5d14892d/en.meta.1193910790285.bak
URL: http://svn.apache.org/viewvc/lenya/sandbox/pubs/docu/content/authoring/2fc83730-8731-11dc-ae46-9e7b5d14892d/en.meta.1193910790285.bak?rev=591298&view=auto
==============================================================================
--- lenya/sandbox/pubs/docu/content/authoring/2fc83730-8731-11dc-ae46-9e7b5d14892d/en.meta.1193910790285.bak (added)
+++ lenya/sandbox/pubs/docu/content/authoring/2fc83730-8731-11dc-ae46-9e7b5d14892d/en.meta.1193910790285.bak Fri Nov 2 03:57:25 2007
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<metadata xmlns="http://apache.org/lenya/metadata/1.0">
+<element-set namespace="http://purl.org/dc/elements/1.1/">
+<element key="title">
+<value>Revision Controller</value>
+</element>
+</element-set>
+<element-set namespace="http://apache.org/lenya/metadata/document/1.0">
+<element key="extension">
+<value>xml</value>
+</element>
+<element key="mimeType">
+<value>application/xml</value>
+</element>
+<element key="resourceType">
+<value>forrestDocument20</value>
+</element>
+<element key="contentType">
+<value>xml</value>
+</element>
+</element-set>
+</metadata>
Modified: lenya/sandbox/pubs/docu/content/authoring/2fc83730-8731-11dc-ae46-9e7b5d14892d/en.rcml
URL: http://svn.apache.org/viewvc/lenya/sandbox/pubs/docu/content/authoring/2fc83730-8731-11dc-ae46-9e7b5d14892d/en.rcml?rev=591298&r1=591297&r2=591298&view=diff
==============================================================================
--- lenya/sandbox/pubs/docu/content/authoring/2fc83730-8731-11dc-ae46-9e7b5d14892d/en.rcml (original)
+++ lenya/sandbox/pubs/docu/content/authoring/2fc83730-8731-11dc-ae46-9e7b5d14892d/en.rcml Fri Nov 2 03:57:25 2007
@@ -1,5 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<XPSRevisionControl xmlns="">
+<CheckIn backup="true" identity="lenya" session="1f12dc80-8860-11dc-ba66-cfbbb816bd0d" time="1193910790285" version="2"/>
+<CheckOut identity="lenya" session="1f12dc80-8860-11dc-ba66-cfbbb816bd0d" time="1193910763679"/>
<CheckIn backup="true" identity="lenya" session="60798970-8730-11dc-ae46-9e7b5d14892d" time="1193781616960" version="1"/>
<CheckOut identity="lenya" session="60798970-8730-11dc-ae46-9e7b5d14892d" time="1193781604084"/>
</XPSRevisionControl>
Added: lenya/sandbox/pubs/docu/content/authoring/30fe9450-8731-11dc-ae46-9e7b5d14892d/en.1193910794975.bak
URL: http://svn.apache.org/viewvc/lenya/sandbox/pubs/docu/content/authoring/30fe9450-8731-11dc-ae46-9e7b5d14892d/en.1193910794975.bak?rev=591298&view=auto
==============================================================================
--- lenya/sandbox/pubs/docu/content/authoring/30fe9450-8731-11dc-ae46-9e7b5d14892d/en.1193910794975.bak (added)
+++ lenya/sandbox/pubs/docu/content/authoring/30fe9450-8731-11dc-ae46-9e7b5d14892d/en.1193910794975.bak Fri Nov 2 03:57:25 2007
@@ -0,0 +1,71 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Copyright 1999-2004 The Apache Software Foundation
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+<!-- $Id: rcml.xml 55543 2004-10-26 00:14:59Z gregor $ --><!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V2.0//EN" "http://forrest.apache.org/dtd/document-v20.dtd">
+
+<document>
+ <header>
+ <title>Revision Controller Markup Language (RCML)</title>
+
+
+
+ </header>
+
+ <body>
+
+ <section>
+ <title>Location</title>
+ <p>The RCML-file are located in a rcml directory</p>
+ <source xml:space="preserve">
+ {publication}/content/rcml/
+ </source>
+ <p> which can be configured in </p>
+ <source xml:space="preserve">
+ lenya/src/webapp/lenya/config/rc/revision-controller.xconf
+ </source>
+ <p>For a document with an xml file {publication}/content/authoring/{filename}, the rcml file is </p>
+ <source xml:space="preserve">
+ {publication}/{rcml-directory}/content/authoring/{filename}.rcml
+ </source>
+ </section>
+
+ <section>
+ <title>Markup Language</title>
+ <p>A rcml-file is typically</p>
+ <source xml:space="preserve"><![CDATA[
+ <?xml version="1.0" encoding="utf-8"?>
+ <XPSRevisionControl>
+ <CheckIn><Identity>lenya</Identity><Time>1023102128815</Time></CheckIn>
+ <CheckOut><Identity>lenya</Identity><Time>1023102128780</Time></CheckOut>
+ <CheckIn><Identity>lenya</Identity><Time>1023102125300</Time></CheckIn>
+ <CheckOut><Identity>lenya</Identity><Time>1023102121346</Time></CheckOut>
+ <CheckIn><Identity>roger</Identity><Time>1023102110381</Time></CheckIn>
+ <CheckOut><Identity>roger</Identity><Time>1023102110349</Time></CheckOut>
+ <CheckIn><Identity>lenya</Identity><Time>1023102073728</Time></CheckIn>
+ <CheckOut><Identity>lenya</Identity><Time>1023102012990</Time></CheckOut>
+ <CheckOut><Identity>lenya</Identity><Time>1023102010354</Time></CheckOut>
+ <CheckIn><Identity>System</Identity><Time>1022569908000</Time></CheckIn>
+ </XPSRevisionControl>
+ ]]></source>
+ </section>
+
+ <section>
+ <title>Size</title>
+ <p>The size of the rcml file is limited to the value (2 * maximalNumberOfEntries) + 1,
+ where maximalNumberOfEntries is in org.apache.lenya.cms.rc.RCML hard coded (value 10)</p>
+ </section>
+ </body>
+</document>
Modified: lenya/sandbox/pubs/docu/content/authoring/30fe9450-8731-11dc-ae46-9e7b5d14892d/en.meta
URL: http://svn.apache.org/viewvc/lenya/sandbox/pubs/docu/content/authoring/30fe9450-8731-11dc-ae46-9e7b5d14892d/en.meta?rev=591298&r1=591297&r2=591298&view=diff
==============================================================================
--- lenya/sandbox/pubs/docu/content/authoring/30fe9450-8731-11dc-ae46-9e7b5d14892d/en.meta (original)
+++ lenya/sandbox/pubs/docu/content/authoring/30fe9450-8731-11dc-ae46-9e7b5d14892d/en.meta Fri Nov 2 03:57:25 2007
@@ -1,11 +1,16 @@
<?xml version="1.0" encoding="UTF-8"?>
<metadata xmlns="http://apache.org/lenya/metadata/1.0">
-<element-set namespace="http://apache.org/lenya/metadata/document/1.0">
-<element key="mimeType">
-<value>application/xml</value>
+<element-set namespace="http://purl.org/dc/elements/1.1/">
+<element key="title">
+<value>RCML</value>
</element>
+</element-set>
+<element-set namespace="http://apache.org/lenya/metadata/document/1.0">
<element key="extension">
<value>xml</value>
+</element>
+<element key="mimeType">
+<value>application/xml</value>
</element>
<element key="resourceType">
<value>forrestDocument20</value>
Added: lenya/sandbox/pubs/docu/content/authoring/30fe9450-8731-11dc-ae46-9e7b5d14892d/en.meta.1193910794975.bak
URL: http://svn.apache.org/viewvc/lenya/sandbox/pubs/docu/content/authoring/30fe9450-8731-11dc-ae46-9e7b5d14892d/en.meta.1193910794975.bak?rev=591298&view=auto
==============================================================================
--- lenya/sandbox/pubs/docu/content/authoring/30fe9450-8731-11dc-ae46-9e7b5d14892d/en.meta.1193910794975.bak (added)
+++ lenya/sandbox/pubs/docu/content/authoring/30fe9450-8731-11dc-ae46-9e7b5d14892d/en.meta.1193910794975.bak Fri Nov 2 03:57:25 2007
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<metadata xmlns="http://apache.org/lenya/metadata/1.0">
+<element-set namespace="http://purl.org/dc/elements/1.1/">
+<element key="title">
+<value>RCML</value>
+</element>
+</element-set>
+<element-set namespace="http://apache.org/lenya/metadata/document/1.0">
+<element key="extension">
+<value>xml</value>
+</element>
+<element key="mimeType">
+<value>application/xml</value>
+</element>
+<element key="resourceType">
+<value>forrestDocument20</value>
+</element>
+<element key="contentType">
+<value>xml</value>
+</element>
+</element-set>
+</metadata>
Modified: lenya/sandbox/pubs/docu/content/authoring/30fe9450-8731-11dc-ae46-9e7b5d14892d/en.rcml
URL: http://svn.apache.org/viewvc/lenya/sandbox/pubs/docu/content/authoring/30fe9450-8731-11dc-ae46-9e7b5d14892d/en.rcml?rev=591298&r1=591297&r2=591298&view=diff
==============================================================================
--- lenya/sandbox/pubs/docu/content/authoring/30fe9450-8731-11dc-ae46-9e7b5d14892d/en.rcml (original)
+++ lenya/sandbox/pubs/docu/content/authoring/30fe9450-8731-11dc-ae46-9e7b5d14892d/en.rcml Fri Nov 2 03:57:25 2007
@@ -1,5 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<XPSRevisionControl xmlns="">
+<CheckIn backup="true" identity="lenya" session="1f12dc80-8860-11dc-ba66-cfbbb816bd0d" time="1193910794975" version="2"/>
+<CheckOut identity="lenya" session="1f12dc80-8860-11dc-ba66-cfbbb816bd0d" time="1193910766932"/>
<CheckIn backup="true" identity="lenya" session="60798970-8730-11dc-ae46-9e7b5d14892d" time="1193781622318" version="1"/>
<CheckOut identity="lenya" session="60798970-8730-11dc-ae46-9e7b5d14892d" time="1193781611184"/>
</XPSRevisionControl>
Added: lenya/sandbox/pubs/docu/content/authoring/322bc9b0-8731-11dc-ae46-9e7b5d14892d/en.1193910782609.bak
URL: http://svn.apache.org/viewvc/lenya/sandbox/pubs/docu/content/authoring/322bc9b0-8731-11dc-ae46-9e7b5d14892d/en.1193910782609.bak?rev=591298&view=auto
==============================================================================
--- lenya/sandbox/pubs/docu/content/authoring/322bc9b0-8731-11dc-ae46-9e7b5d14892d/en.1193910782609.bak (added)
+++ lenya/sandbox/pubs/docu/content/authoring/322bc9b0-8731-11dc-ae46-9e7b5d14892d/en.1193910782609.bak Fri Nov 2 03:57:25 2007
@@ -0,0 +1,115 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Copyright 1999-2004 The Apache Software Foundation
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+<!-- $Id: checkin.xml 55543 2004-10-26 00:14:59Z gregor $ --><!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V2.0//EN" "http://forrest.apache.org/dtd/document-v20.dtd">
+
+<document>
+ <header>
+ <title>Reserved Checkin</title>
+
+
+
+ </header>
+
+ <body>
+
+ <section>
+ <title>Revision Controller</title>
+ <p>To check in a file call:</p>
+
+<source xml:space="preserve">org.apache.lenya.cms.rc.RevisionController.reservedCheckIn(
+ String destination, String identity, boolean backup)</source>
+
+ <p>where the destination is the path of the file from the publication,
+ the identity is the identity of the user
+ and backup is a boolean.</p>
+ <p>This method is called from the ReservedCheckinAction.</p>
+ <p>Rem: if no backup (and no rollback is needed) set in the ReservedCheckinAction the backup boolean to false.</p>
+ </section>
+
+ <section>
+ <title>The ReservedCheckinAction</title>
+ <p>To invoke a reserved check-in from a sitemap pipeline, you use The ReservedCheckinAction.</p>
+ <source xml:space="preserve"><![CDATA[
+ <map:components>
+ ...
+ <map:actions>
+ <map:action name="reserved-checkin"
+ src="org.apache.lenya.cms.cocoon.acting.ReservedCheckinAction"
+ logger="sitemap.action.reserved-checkin"/>
+ </map:actions>
+ ...
+ </map:components>
+ ]]></source>
+
+ <source xml:space="preserve"><![CDATA[
+ <map:act type="reserved-checkin">
+ <map:generate src="../../content/rc/{exception}.xsp"
+ type="serverpages">
+ <map:parameter name="user" value="{user}"/>
+ <map:parameter name="filename" value="{filename}"/>
+ <map:parameter name="checkType" value="{checkType}"/>
+ <map:parameter name="date" value="{date}"/>
+ </map:generate>
+ <map:transform src="xslt/rc/rco-exception.xsl"/>
+ <map:serialize/>
+ </map:act>
+ ]]></source>
+ </section>
+
+ <section>
+ <title>URL</title>
+ <p>The call</p>
+ <source xml:space="preserve"><![CDATA[{document-URL}?lenya.usecase=checkin&lenya.step=checkin]]></source>
+ <p>invokes a check-in of the document</p>
+ </section>
+
+ <section>
+ <title>fileReservedCheckInException</title>
+ <p>When the file cannot be checked in because another user has already checked it out,
+ a fileReservedCheckInException is thrown:</p>
+ <source xml:space="preserve">
+ File Reserved Checkin Exception
+ File not checked in yet
+
+ The resource has already been checked out:
+ User: roger
+ Date: Wed Oct 22 14:31:05 CEST 2003
+ Filename: /content/authoring/index/index_de.xml
+ </source>
+ <p>The serverpage</p>
+ <source xml:space="preserve">lenya/src/webapp/lenya/content/rc/fileReservedCheckInException.xsp</source>
+ <p>generates the xml which will be transformed with </p>
+ <source xml:space="preserve">lenya/src/webapp/lenya/xslt/rc/rco-exception.xsl</source>
+ </section>
+
+ <section>
+ <title>Exception</title>
+
+ <p>The errors are catched as generic Exception</p>
+ <source xml:space="preserve">
+ Generic Exception
+
+ Check the log files :-)
+ Filename: /content/authoring/malaVida/index_de.xml </source>
+ <p>The serverpage</p>
+ <source xml:space="preserve"> lenya/src/webapp/lenya/content/rc/exception.xsp</source>
+ <p>generates the xml which will be transformed with </p>
+ <source xml:space="preserve"> lenya/src/webapp/lenya/xslt/rc/rco-exception.xsl</source>
+ </section>
+
+ </body>
+</document>
Modified: lenya/sandbox/pubs/docu/content/authoring/322bc9b0-8731-11dc-ae46-9e7b5d14892d/en.meta
URL: http://svn.apache.org/viewvc/lenya/sandbox/pubs/docu/content/authoring/322bc9b0-8731-11dc-ae46-9e7b5d14892d/en.meta?rev=591298&r1=591297&r2=591298&view=diff
==============================================================================
--- lenya/sandbox/pubs/docu/content/authoring/322bc9b0-8731-11dc-ae46-9e7b5d14892d/en.meta (original)
+++ lenya/sandbox/pubs/docu/content/authoring/322bc9b0-8731-11dc-ae46-9e7b5d14892d/en.meta Fri Nov 2 03:57:25 2007
@@ -1,11 +1,16 @@
<?xml version="1.0" encoding="UTF-8"?>
<metadata xmlns="http://apache.org/lenya/metadata/1.0">
-<element-set namespace="http://apache.org/lenya/metadata/document/1.0">
-<element key="mimeType">
-<value>application/xml</value>
+<element-set namespace="http://purl.org/dc/elements/1.1/">
+<element key="title">
+<value>Check In</value>
</element>
+</element-set>
+<element-set namespace="http://apache.org/lenya/metadata/document/1.0">
<element key="extension">
<value>xml</value>
+</element>
+<element key="mimeType">
+<value>application/xml</value>
</element>
<element key="resourceType">
<value>forrestDocument20</value>
Added: lenya/sandbox/pubs/docu/content/authoring/322bc9b0-8731-11dc-ae46-9e7b5d14892d/en.meta.1193910782609.bak
URL: http://svn.apache.org/viewvc/lenya/sandbox/pubs/docu/content/authoring/322bc9b0-8731-11dc-ae46-9e7b5d14892d/en.meta.1193910782609.bak?rev=591298&view=auto
==============================================================================
--- lenya/sandbox/pubs/docu/content/authoring/322bc9b0-8731-11dc-ae46-9e7b5d14892d/en.meta.1193910782609.bak (added)
+++ lenya/sandbox/pubs/docu/content/authoring/322bc9b0-8731-11dc-ae46-9e7b5d14892d/en.meta.1193910782609.bak Fri Nov 2 03:57:25 2007
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<metadata xmlns="http://apache.org/lenya/metadata/1.0">
+<element-set namespace="http://purl.org/dc/elements/1.1/">
+<element key="title">
+<value>Check In</value>
+</element>
+</element-set>
+<element-set namespace="http://apache.org/lenya/metadata/document/1.0">
+<element key="extension">
+<value>xml</value>
+</element>
+<element key="mimeType">
+<value>application/xml</value>
+</element>
+<element key="resourceType">
+<value>forrestDocument20</value>
+</element>
+<element key="contentType">
+<value>xml</value>
+</element>
+</element-set>
+</metadata>
Modified: lenya/sandbox/pubs/docu/content/authoring/322bc9b0-8731-11dc-ae46-9e7b5d14892d/en.rcml
URL: http://svn.apache.org/viewvc/lenya/sandbox/pubs/docu/content/authoring/322bc9b0-8731-11dc-ae46-9e7b5d14892d/en.rcml?rev=591298&r1=591297&r2=591298&view=diff
==============================================================================
--- lenya/sandbox/pubs/docu/content/authoring/322bc9b0-8731-11dc-ae46-9e7b5d14892d/en.rcml (original)
+++ lenya/sandbox/pubs/docu/content/authoring/322bc9b0-8731-11dc-ae46-9e7b5d14892d/en.rcml Fri Nov 2 03:57:25 2007
@@ -1,5 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<XPSRevisionControl xmlns="">
+<CheckIn backup="true" identity="lenya" session="1f12dc80-8860-11dc-ba66-cfbbb816bd0d" time="1193910782609" version="2"/>
+<CheckOut identity="lenya" session="1f12dc80-8860-11dc-ba66-cfbbb816bd0d" time="1193910767666"/>
<CheckIn backup="true" identity="lenya" session="60798970-8730-11dc-ae46-9e7b5d14892d" time="1193781618375" version="1"/>
<CheckOut identity="lenya" session="60798970-8730-11dc-ae46-9e7b5d14892d" time="1193781605944"/>
</XPSRevisionControl>
Added: lenya/sandbox/pubs/docu/content/authoring/33749d60-8731-11dc-ae46-9e7b5d14892d/en.1193910793948.bak
URL: http://svn.apache.org/viewvc/lenya/sandbox/pubs/docu/content/authoring/33749d60-8731-11dc-ae46-9e7b5d14892d/en.1193910793948.bak?rev=591298&view=auto
==============================================================================
--- lenya/sandbox/pubs/docu/content/authoring/33749d60-8731-11dc-ae46-9e7b5d14892d/en.1193910793948.bak (added)
+++ lenya/sandbox/pubs/docu/content/authoring/33749d60-8731-11dc-ae46-9e7b5d14892d/en.1193910793948.bak Fri Nov 2 03:57:25 2007
@@ -0,0 +1,137 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Copyright 1999-2004 The Apache Software Foundation
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+<!-- $Id: checkout.xml 55543 2004-10-26 00:14:59Z gregor $ --><!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V2.0//EN" "http://forrest.apache.org/dtd/document-v20.dtd">
+
+<document>
+ <header>
+ <title>Reserved Checkout</title>
+
+
+
+ </header>
+
+ <body>
+
+ <section>
+ <title>Revision Controller</title>
+ <p>To check out a file call the method :</p>
+ <source xml:space="preserve">org.apache.lenya.cms.rc.RevisionController.reservedCheckOut(String source, String identity)</source>
+ <p>where the source is the path of the file from the publication and the identity is the identity of the user.</p>
+ <p>This method is called from the ReservedCheckoutAction.</p>
+ </section>
+
+ <section>
+ <title>The ReservedCheckoutAction</title>
+ <p>To invoke a reserved check out from a sitemap pipeline, you use The ReservedCheckoutAction.</p>
+ <source xml:space="preserve"><![CDATA[
+
+ <map:components>
+ ...
+ <map:actions>
+ <map:action name="reserved-checkout" src="org.apache.lenya.cms.cocoon.acting.ReservedCheckoutAction" logger="sitemap.action.reserved-checkout"/>
+ </map:actions>
+ ...
+ </map:components>
+
+ ]]></source>
+
+ <source xml:space="preserve"><![CDATA[
+ <map:act type="reserved-checkout">
+ <map:generate src="content/rc/{exception}.xsp" type="serverpages">
+ <map:parameter name="user" value="{user}"/>
+ <map:parameter name="filename" value="{filename}"/>
+ <map:parameter name="date" value="{date}"/>
+ </map:generate>
+ <map:transform src="xslt/rc/rco-exception.xsl"/>
+ <map:serialize/>
+ </map:act>
+ ]]></source>
+ </section>
+
+ <section>
+ <title>URL</title>
+ <p>The call</p>
+ <source xml:space="preserve"><![CDATA[{document-URL}?lenya.usecase=checkout&lenya usecase.step=checkout]]></source>
+ <p>invokes a check-out of the document</p>
+ </section>
+
+ <section>
+ <title>The ReservedCheckoutTestAction</title>
+ <p>The ReservedCheckoutTestAction checks out a document only if this isn't already checked out</p>
+ <source xml:space="preserve"><![CDATA[
+
+ <map:components>
+ ...
+ <map:actions>
+ <map:action name="reserved-checkout-test" src="org.apache.lenya.cms.cocoon.acting.ReservedCheckoutTestAction" logger="sitemap.action.reserved-checkout-test"/>
+ </map:actions>
+ ...
+ </map:components>
+
+ ]]></source>
+
+ <source xml:space="preserve"><![CDATA[
+ <map:act type="reserved-checkout-test">
+ <map:generate type="serverpages" src="../../content/rc/{exception}.xsp">
+ <map:parameter name="user" value="{user}"/>
+ <map:parameter name="filename" value="{filename}"/>
+ <map:parameter name="date" value="{date}"/>
+ </map:generate>
+ <map:transform src="../../xslt/rc/rco-exception.xsl"/>
+ <map:serialize/>
+ </map:act>
+ ]]></source>
+ </section>
+
+ <section>
+ <title>FileReservedCheckOutException</title>
+
+ <p>When the file cannot be checked out because another user has already checked it out,
+ a fileReservedCheckOutException is thrown:</p>
+ <source xml:space="preserve">
+ File Reserved Checkout Exception
+
+ Could not check out the file
+
+ Reason : The resource has already been checked out by another user
+ User: lenya
+ Date: Wed Oct 22 12:02:28 CEST 2003
+ Filename: /content/authoring/index/index_de.xml
+ </source>
+ <p>The serverpage</p>
+ <source xml:space="preserve"> lenya/src/webapp/lenya/content/rc/fileReservedCheckOutException.xsp</source>
+ <p>generates the xml which will be transformed with </p>
+ <source xml:space="preserve"> lenya/src/webapp/lenya/xslt/rc/rco-exception.xsl</source>
+ </section>
+
+ <section>
+ <title>Exception</title>
+
+ <p>The errors are catched as generic Exception</p>
+ <source xml:space="preserve">
+ Generic Exception
+
+ Check the log files :-)
+ Filename: /content/authoring/malaVida/index_de.xml </source>
+ <p>The serverpage</p>
+ <source xml:space="preserve"> lenya/src/webapp/lenya/content/rc/exception.xsp</source>
+ <p>generates the xml which will be transformed with </p>
+ <source xml:space="preserve"> lenya/src/webapp/lenya/xslt/rc/rco-exception.xsl</source>
+ </section>
+
+ </body>
+</document>
Modified: lenya/sandbox/pubs/docu/content/authoring/33749d60-8731-11dc-ae46-9e7b5d14892d/en.meta
URL: http://svn.apache.org/viewvc/lenya/sandbox/pubs/docu/content/authoring/33749d60-8731-11dc-ae46-9e7b5d14892d/en.meta?rev=591298&r1=591297&r2=591298&view=diff
==============================================================================
--- lenya/sandbox/pubs/docu/content/authoring/33749d60-8731-11dc-ae46-9e7b5d14892d/en.meta (original)
+++ lenya/sandbox/pubs/docu/content/authoring/33749d60-8731-11dc-ae46-9e7b5d14892d/en.meta Fri Nov 2 03:57:25 2007
@@ -1,11 +1,16 @@
<?xml version="1.0" encoding="UTF-8"?>
<metadata xmlns="http://apache.org/lenya/metadata/1.0">
-<element-set namespace="http://apache.org/lenya/metadata/document/1.0">
-<element key="mimeType">
-<value>application/xml</value>
+<element-set namespace="http://purl.org/dc/elements/1.1/">
+<element key="title">
+<value>Check Out</value>
</element>
+</element-set>
+<element-set namespace="http://apache.org/lenya/metadata/document/1.0">
<element key="extension">
<value>xml</value>
+</element>
+<element key="mimeType">
+<value>application/xml</value>
</element>
<element key="resourceType">
<value>forrestDocument20</value>
Added: lenya/sandbox/pubs/docu/content/authoring/33749d60-8731-11dc-ae46-9e7b5d14892d/en.meta.1193910793948.bak
URL: http://svn.apache.org/viewvc/lenya/sandbox/pubs/docu/content/authoring/33749d60-8731-11dc-ae46-9e7b5d14892d/en.meta.1193910793948.bak?rev=591298&view=auto
==============================================================================
--- lenya/sandbox/pubs/docu/content/authoring/33749d60-8731-11dc-ae46-9e7b5d14892d/en.meta.1193910793948.bak (added)
+++ lenya/sandbox/pubs/docu/content/authoring/33749d60-8731-11dc-ae46-9e7b5d14892d/en.meta.1193910793948.bak Fri Nov 2 03:57:25 2007
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<metadata xmlns="http://apache.org/lenya/metadata/1.0">
+<element-set namespace="http://purl.org/dc/elements/1.1/">
+<element key="title">
+<value>Check Out</value>
+</element>
+</element-set>
+<element-set namespace="http://apache.org/lenya/metadata/document/1.0">
+<element key="extension">
+<value>xml</value>
+</element>
+<element key="mimeType">
+<value>application/xml</value>
+</element>
+<element key="resourceType">
+<value>forrestDocument20</value>
+</element>
+<element key="contentType">
+<value>xml</value>
+</element>
+</element-set>
+</metadata>
Modified: lenya/sandbox/pubs/docu/content/authoring/33749d60-8731-11dc-ae46-9e7b5d14892d/en.rcml
URL: http://svn.apache.org/viewvc/lenya/sandbox/pubs/docu/content/authoring/33749d60-8731-11dc-ae46-9e7b5d14892d/en.rcml?rev=591298&r1=591297&r2=591298&view=diff
==============================================================================
--- lenya/sandbox/pubs/docu/content/authoring/33749d60-8731-11dc-ae46-9e7b5d14892d/en.rcml (original)
+++ lenya/sandbox/pubs/docu/content/authoring/33749d60-8731-11dc-ae46-9e7b5d14892d/en.rcml Fri Nov 2 03:57:25 2007
@@ -1,5 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<XPSRevisionControl xmlns="">
+<CheckIn backup="true" identity="lenya" session="1f12dc80-8860-11dc-ba66-cfbbb816bd0d" time="1193910793948" version="2"/>
+<CheckOut identity="lenya" session="1f12dc80-8860-11dc-ba66-cfbbb816bd0d" time="1193910766380"/>
<CheckIn backup="true" identity="lenya" session="60798970-8730-11dc-ae46-9e7b5d14892d" time="1193781618799" version="1"/>
<CheckOut identity="lenya" session="60798970-8730-11dc-ae46-9e7b5d14892d" time="1193781606650"/>
</XPSRevisionControl>
Added: lenya/sandbox/pubs/docu/content/authoring/34a94cd0-8731-11dc-ae46-9e7b5d14892d/en.1193910779527.bak
URL: http://svn.apache.org/viewvc/lenya/sandbox/pubs/docu/content/authoring/34a94cd0-8731-11dc-ae46-9e7b5d14892d/en.1193910779527.bak?rev=591298&view=auto
==============================================================================
--- lenya/sandbox/pubs/docu/content/authoring/34a94cd0-8731-11dc-ae46-9e7b5d14892d/en.1193910779527.bak (added)
+++ lenya/sandbox/pubs/docu/content/authoring/34a94cd0-8731-11dc-ae46-9e7b5d14892d/en.1193910779527.bak Fri Nov 2 03:57:25 2007
@@ -0,0 +1,87 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Copyright 1999-2004 The Apache Software Foundation
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+<!-- $Id: version.xml 55543 2004-10-26 00:14:59Z gregor $ --><!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V2.0//EN" "http://forrest.apache.org/dtd/document-v20.dtd">
+
+<document>
+ <header>
+ <title>Revision</title>
+
+
+
+ </header>
+
+ <body>
+
+ <section>
+ <title>Location</title>
+ <p>The backup files are located in a rcback directory</p>
+ <source xml:space="preserve">
+ {publication}/content/rcbak/
+ </source>
+ <p> which can be configured in </p>
+ <source xml:space="preserve">
+ lenya/src/webapp/lenya/config/rc/revision-controller.xconf
+ </source>
+ <p>For a document with an xml file {publication}/content/authoring/{filename}, the backup files are </p>
+ <source xml:space="preserve">
+ {publication}/{rcback-directory}/content/authoring/{filename}.timestamp
+ </source>
+ </section>
+
+ <section>
+ <title>Revision Screen</title>
+ <p>To get the revision screen, use the serverpage</p>
+ <source xml:space="preserve">lenya/src/webapp/lenya/content/rc/versions-screen.xsp</source>
+
+ <p>Sitemap :</p>
+ <source xml:space="preserve"><![CDATA[
+ <map:generate src="content/rc/versions-screen.xsp" type="serverpages"/>
+ <map:transform src="xslt/rc/rollback.xsl"/>
+ <map:serialize/>
+ ]]></source>
+
+ </section>
+
+ <section>
+ <title>View of an old version</title>
+ <p>To get the view of a backup version, use the serverpage</p>
+ <source xml:space="preserve">lenya/src/webapp/lenya/content/rc/view.xsp</source>
+ <p>It needs the check-in time as request parameter</p>
+
+ <p>Sitemap in the publication :</p>
+ <source xml:space="preserve"><![CDATA[
+ <map:generate type="serverpages" src="../../content/rc/view.xsp">
+ </map:generate>
+ <map:transform src="xslt/toDoc.xsl"/>
+ <map:transform src="xslt/{../2}2xhtml.xsl"/>
+ <map:serialize type="xml"/>
+ ]]></source>
+ </section>
+
+ <section>
+ <title>URL</title>
+ <p>The call of the URL </p>
+ <source xml:space="preserve"><![CDATA[{document-URL}?lenya.usecase=rollback&lenya usecase.step=view&rollbackTime={time-point}]]></source>
+ <p>shows the version corresponding to the time {time-point}</p>
+ </section>
+
+ <section>
+ <title>Disable the backup </title>
+ <p>To disable the backup set in the ReservedCheckinAction the backup boolean of getRC().reservedCheckIn(String destination, String identity, boolean backup) to false.</p>
+ </section>
+ </body>
+</document>
Modified: lenya/sandbox/pubs/docu/content/authoring/34a94cd0-8731-11dc-ae46-9e7b5d14892d/en.meta
URL: http://svn.apache.org/viewvc/lenya/sandbox/pubs/docu/content/authoring/34a94cd0-8731-11dc-ae46-9e7b5d14892d/en.meta?rev=591298&r1=591297&r2=591298&view=diff
==============================================================================
--- lenya/sandbox/pubs/docu/content/authoring/34a94cd0-8731-11dc-ae46-9e7b5d14892d/en.meta (original)
+++ lenya/sandbox/pubs/docu/content/authoring/34a94cd0-8731-11dc-ae46-9e7b5d14892d/en.meta Fri Nov 2 03:57:25 2007
@@ -1,11 +1,16 @@
<?xml version="1.0" encoding="UTF-8"?>
<metadata xmlns="http://apache.org/lenya/metadata/1.0">
-<element-set namespace="http://apache.org/lenya/metadata/document/1.0">
-<element key="mimeType">
-<value>application/xml</value>
+<element-set namespace="http://purl.org/dc/elements/1.1/">
+<element key="title">
+<value>Revisions</value>
</element>
+</element-set>
+<element-set namespace="http://apache.org/lenya/metadata/document/1.0">
<element key="extension">
<value>xml</value>
+</element>
+<element key="mimeType">
+<value>application/xml</value>
</element>
<element key="resourceType">
<value>forrestDocument20</value>
Added: lenya/sandbox/pubs/docu/content/authoring/34a94cd0-8731-11dc-ae46-9e7b5d14892d/en.meta.1193910779527.bak
URL: http://svn.apache.org/viewvc/lenya/sandbox/pubs/docu/content/authoring/34a94cd0-8731-11dc-ae46-9e7b5d14892d/en.meta.1193910779527.bak?rev=591298&view=auto
==============================================================================
--- lenya/sandbox/pubs/docu/content/authoring/34a94cd0-8731-11dc-ae46-9e7b5d14892d/en.meta.1193910779527.bak (added)
+++ lenya/sandbox/pubs/docu/content/authoring/34a94cd0-8731-11dc-ae46-9e7b5d14892d/en.meta.1193910779527.bak Fri Nov 2 03:57:25 2007
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<metadata xmlns="http://apache.org/lenya/metadata/1.0">
+<element-set namespace="http://purl.org/dc/elements/1.1/">
+<element key="title">
+<value>Revisions</value>
+</element>
+</element-set>
+<element-set namespace="http://apache.org/lenya/metadata/document/1.0">
+<element key="extension">
+<value>xml</value>
+</element>
+<element key="mimeType">
+<value>application/xml</value>
+</element>
+<element key="resourceType">
+<value>forrestDocument20</value>
+</element>
+<element key="contentType">
+<value>xml</value>
+</element>
+</element-set>
+</metadata>
Modified: lenya/sandbox/pubs/docu/content/authoring/34a94cd0-8731-11dc-ae46-9e7b5d14892d/en.rcml
URL: http://svn.apache.org/viewvc/lenya/sandbox/pubs/docu/content/authoring/34a94cd0-8731-11dc-ae46-9e7b5d14892d/en.rcml?rev=591298&r1=591297&r2=591298&view=diff
==============================================================================
--- lenya/sandbox/pubs/docu/content/authoring/34a94cd0-8731-11dc-ae46-9e7b5d14892d/en.rcml (original)
+++ lenya/sandbox/pubs/docu/content/authoring/34a94cd0-8731-11dc-ae46-9e7b5d14892d/en.rcml Fri Nov 2 03:57:25 2007
@@ -1,5 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<XPSRevisionControl xmlns="">
+<CheckIn backup="true" identity="lenya" session="1f12dc80-8860-11dc-ba66-cfbbb816bd0d" time="1193910779527" version="2"/>
+<CheckOut identity="lenya" session="1f12dc80-8860-11dc-ba66-cfbbb816bd0d" time="1193910765479"/>
<CheckIn backup="true" identity="lenya" session="60798970-8730-11dc-ae46-9e7b5d14892d" time="1193781617662" version="1"/>
<CheckOut identity="lenya" session="60798970-8730-11dc-ae46-9e7b5d14892d" time="1193781605071"/>
</XPSRevisionControl>
Added: lenya/sandbox/pubs/docu/content/authoring/35dcc3c0-8731-11dc-ae46-9e7b5d14892d/en.1193910781300.bak
URL: http://svn.apache.org/viewvc/lenya/sandbox/pubs/docu/content/authoring/35dcc3c0-8731-11dc-ae46-9e7b5d14892d/en.1193910781300.bak?rev=591298&view=auto
==============================================================================
--- lenya/sandbox/pubs/docu/content/authoring/35dcc3c0-8731-11dc-ae46-9e7b5d14892d/en.1193910781300.bak (added)
+++ lenya/sandbox/pubs/docu/content/authoring/35dcc3c0-8731-11dc-ae46-9e7b5d14892d/en.1193910781300.bak Fri Nov 2 03:57:25 2007
@@ -0,0 +1,70 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Copyright 1999-2004 The Apache Software Foundation
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+<!-- $Id: rollback.xml 55543 2004-10-26 00:14:59Z gregor $ --><!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V2.0//EN" "http://forrest.apache.org/dtd/document-v20.dtd">
+
+<document>
+ <header>
+ <title>Rollback</title>
+
+
+
+ </header>
+
+ <body>
+ <section>
+ <title>Revision Controller</title>
+ <p>To rollback a file call</p>
+ <source xml:space="preserve">org.apache.lenya.cms.rc.RevisionController.rollback(String destination, String identity, boolean backupFlag, long time)</source>
+ <p>where destination is the path of the file from the publication,identity is the identity of the user,
+ backupFlag is a boolean to choose if you want a backup of the current version, and time is the time of
+ the version to roll back to.
+ </p>
+
+ </section>
+
+ <section>
+ <title>The RollbackAction</title>
+ <p>To invoke a rollback from a sitemap pipeline, you use The RollbackAction.</p>
+ <p>The check-in time is needed as request parameter</p>
+ <source xml:space="preserve"><![CDATA[
+
+ <map:components>
+ ...
+ <map:actions>
+ <map:action name="rollback" src="org.apache.lenya.cms.cocoon.acting.RollbackAction"/>
+ </map:actions>
+ ...
+ </map:components>
+
+ ]]></source>
+
+ <source xml:space="preserve"><![CDATA[
+ <map:act type="rollback">
+ <map:redirect-to session="true" uri="{location}"/>
+ </map:act>
+ ]]></source>
+ </section>
+
+ <section>
+ <title>URL</title>
+ <p>The call of the URL </p>
+ <source xml:space="preserve"><![CDATA[{document-URL}?lenya.usecase=rollback&lenya usecase.step=rollback&rollbackTime={time-point}]]></source>
+ <p>invokes the rollbak to the version corresponding to the time {time-point}</p>
+ </section>
+
+ </body>
+</document>
Modified: lenya/sandbox/pubs/docu/content/authoring/35dcc3c0-8731-11dc-ae46-9e7b5d14892d/en.meta
URL: http://svn.apache.org/viewvc/lenya/sandbox/pubs/docu/content/authoring/35dcc3c0-8731-11dc-ae46-9e7b5d14892d/en.meta?rev=591298&r1=591297&r2=591298&view=diff
==============================================================================
--- lenya/sandbox/pubs/docu/content/authoring/35dcc3c0-8731-11dc-ae46-9e7b5d14892d/en.meta (original)
+++ lenya/sandbox/pubs/docu/content/authoring/35dcc3c0-8731-11dc-ae46-9e7b5d14892d/en.meta Fri Nov 2 03:57:25 2007
@@ -1,11 +1,16 @@
<?xml version="1.0" encoding="UTF-8"?>
<metadata xmlns="http://apache.org/lenya/metadata/1.0">
-<element-set namespace="http://apache.org/lenya/metadata/document/1.0">
-<element key="mimeType">
-<value>application/xml</value>
+<element-set namespace="http://purl.org/dc/elements/1.1/">
+<element key="title">
+<value>Rollback</value>
</element>
+</element-set>
+<element-set namespace="http://apache.org/lenya/metadata/document/1.0">
<element key="extension">
<value>xml</value>
+</element>
+<element key="mimeType">
+<value>application/xml</value>
</element>
<element key="resourceType">
<value>forrestDocument20</value>
Added: lenya/sandbox/pubs/docu/content/authoring/35dcc3c0-8731-11dc-ae46-9e7b5d14892d/en.meta.1193910781300.bak
URL: http://svn.apache.org/viewvc/lenya/sandbox/pubs/docu/content/authoring/35dcc3c0-8731-11dc-ae46-9e7b5d14892d/en.meta.1193910781300.bak?rev=591298&view=auto
==============================================================================
--- lenya/sandbox/pubs/docu/content/authoring/35dcc3c0-8731-11dc-ae46-9e7b5d14892d/en.meta.1193910781300.bak (added)
+++ lenya/sandbox/pubs/docu/content/authoring/35dcc3c0-8731-11dc-ae46-9e7b5d14892d/en.meta.1193910781300.bak Fri Nov 2 03:57:25 2007
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<metadata xmlns="http://apache.org/lenya/metadata/1.0">
+<element-set namespace="http://purl.org/dc/elements/1.1/">
+<element key="title">
+<value>Rollback</value>
+</element>
+</element-set>
+<element-set namespace="http://apache.org/lenya/metadata/document/1.0">
+<element key="extension">
+<value>xml</value>
+</element>
+<element key="mimeType">
+<value>application/xml</value>
+</element>
+<element key="resourceType">
+<value>forrestDocument20</value>
+</element>
+<element key="contentType">
+<value>xml</value>
+</element>
+</element-set>
+</metadata>
Modified: lenya/sandbox/pubs/docu/content/authoring/35dcc3c0-8731-11dc-ae46-9e7b5d14892d/en.rcml
URL: http://svn.apache.org/viewvc/lenya/sandbox/pubs/docu/content/authoring/35dcc3c0-8731-11dc-ae46-9e7b5d14892d/en.rcml?rev=591298&r1=591297&r2=591298&view=diff
==============================================================================
--- lenya/sandbox/pubs/docu/content/authoring/35dcc3c0-8731-11dc-ae46-9e7b5d14892d/en.rcml (original)
+++ lenya/sandbox/pubs/docu/content/authoring/35dcc3c0-8731-11dc-ae46-9e7b5d14892d/en.rcml Fri Nov 2 03:57:25 2007
@@ -1,5 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<XPSRevisionControl xmlns="">
+<CheckIn backup="true" identity="lenya" session="1f12dc80-8860-11dc-ba66-cfbbb816bd0d" time="1193910781300" version="2"/>
+<CheckOut identity="lenya" session="1f12dc80-8860-11dc-ba66-cfbbb816bd0d" time="1193910766767"/>
<CheckIn backup="true" identity="lenya" session="60798970-8730-11dc-ae46-9e7b5d14892d" time="1193781626246" version="1"/>
<CheckOut identity="lenya" session="60798970-8730-11dc-ae46-9e7b5d14892d" time="1193781605517"/>
</XPSRevisionControl>
Added: lenya/sandbox/pubs/docu/content/authoring/35e35370-8731-11dc-ae46-9e7b5d14892d/en.1193910786299.bak
URL: http://svn.apache.org/viewvc/lenya/sandbox/pubs/docu/content/authoring/35e35370-8731-11dc-ae46-9e7b5d14892d/en.1193910786299.bak?rev=591298&view=auto
==============================================================================
--- lenya/sandbox/pubs/docu/content/authoring/35e35370-8731-11dc-ae46-9e7b5d14892d/en.1193910786299.bak (added)
+++ lenya/sandbox/pubs/docu/content/authoring/35e35370-8731-11dc-ae46-9e7b5d14892d/en.1193910786299.bak Fri Nov 2 03:57:25 2007
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Copyright 1999-2004 The Apache Software Foundation
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+<!-- $Id: index.xml 55543 2004-10-26 00:14:59Z gregor $ --><!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V2.0//EN" "http://forrest.apache.org/dtd/document-v20.dtd">
+
+<document>
+ <header>
+ <title>Apache Lenya Documentation</title>
+ </header>
+ <body>
+ <p>
+ This is a Forrest Document 2.0 sample.
+ </p>
+ </body>
+</document>
Modified: lenya/sandbox/pubs/docu/content/authoring/35e35370-8731-11dc-ae46-9e7b5d14892d/en.meta
URL: http://svn.apache.org/viewvc/lenya/sandbox/pubs/docu/content/authoring/35e35370-8731-11dc-ae46-9e7b5d14892d/en.meta?rev=591298&r1=591297&r2=591298&view=diff
==============================================================================
--- lenya/sandbox/pubs/docu/content/authoring/35e35370-8731-11dc-ae46-9e7b5d14892d/en.meta (original)
+++ lenya/sandbox/pubs/docu/content/authoring/35e35370-8731-11dc-ae46-9e7b5d14892d/en.meta Fri Nov 2 03:57:25 2007
@@ -1,11 +1,16 @@
<?xml version="1.0" encoding="UTF-8"?>
<metadata xmlns="http://apache.org/lenya/metadata/1.0">
-<element-set namespace="http://apache.org/lenya/metadata/document/1.0">
-<element key="mimeType">
-<value>application/xml</value>
+<element-set namespace="http://purl.org/dc/elements/1.1/">
+<element key="title">
+<value>Repository</value>
</element>
+</element-set>
+<element-set namespace="http://apache.org/lenya/metadata/document/1.0">
<element key="extension">
<value>xml</value>
+</element>
+<element key="mimeType">
+<value>application/xml</value>
</element>
<element key="resourceType">
<value>forrestDocument20</value>
Added: lenya/sandbox/pubs/docu/content/authoring/35e35370-8731-11dc-ae46-9e7b5d14892d/en.meta.1193910786299.bak
URL: http://svn.apache.org/viewvc/lenya/sandbox/pubs/docu/content/authoring/35e35370-8731-11dc-ae46-9e7b5d14892d/en.meta.1193910786299.bak?rev=591298&view=auto
==============================================================================
--- lenya/sandbox/pubs/docu/content/authoring/35e35370-8731-11dc-ae46-9e7b5d14892d/en.meta.1193910786299.bak (added)
+++ lenya/sandbox/pubs/docu/content/authoring/35e35370-8731-11dc-ae46-9e7b5d14892d/en.meta.1193910786299.bak Fri Nov 2 03:57:25 2007
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<metadata xmlns="http://apache.org/lenya/metadata/1.0">
+<element-set namespace="http://purl.org/dc/elements/1.1/">
+<element key="title">
+<value>Repository</value>
+</element>
+</element-set>
+<element-set namespace="http://apache.org/lenya/metadata/document/1.0">
+<element key="extension">
+<value>xml</value>
+</element>
+<element key="mimeType">
+<value>application/xml</value>
+</element>
+<element key="resourceType">
+<value>forrestDocument20</value>
+</element>
+<element key="contentType">
+<value>xml</value>
+</element>
+</element-set>
+</metadata>
Modified: lenya/sandbox/pubs/docu/content/authoring/35e35370-8731-11dc-ae46-9e7b5d14892d/en.rcml
URL: http://svn.apache.org/viewvc/lenya/sandbox/pubs/docu/content/authoring/35e35370-8731-11dc-ae46-9e7b5d14892d/en.rcml?rev=591298&r1=591297&r2=591298&view=diff
==============================================================================
--- lenya/sandbox/pubs/docu/content/authoring/35e35370-8731-11dc-ae46-9e7b5d14892d/en.rcml (original)
+++ lenya/sandbox/pubs/docu/content/authoring/35e35370-8731-11dc-ae46-9e7b5d14892d/en.rcml Fri Nov 2 03:57:25 2007
@@ -1,5 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<XPSRevisionControl xmlns="">
+<CheckIn backup="true" identity="lenya" session="1f12dc80-8860-11dc-ba66-cfbbb816bd0d" time="1193910786299" version="2"/>
+<CheckOut identity="lenya" session="1f12dc80-8860-11dc-ba66-cfbbb816bd0d" time="1193910770638"/>
<CheckIn backup="true" identity="lenya" session="60798970-8730-11dc-ae46-9e7b5d14892d" time="1193781626400" version="1"/>
<CheckOut identity="lenya" session="60798970-8730-11dc-ae46-9e7b5d14892d" time="1193781605641"/>
</XPSRevisionControl>
Added: lenya/sandbox/pubs/docu/content/authoring/37148070-8731-11dc-ae46-9e7b5d14892d/en.1193910778328.bak
URL: http://svn.apache.org/viewvc/lenya/sandbox/pubs/docu/content/authoring/37148070-8731-11dc-ae46-9e7b5d14892d/en.1193910778328.bak?rev=591298&view=auto
==============================================================================
--- lenya/sandbox/pubs/docu/content/authoring/37148070-8731-11dc-ae46-9e7b5d14892d/en.1193910778328.bak (added)
+++ lenya/sandbox/pubs/docu/content/authoring/37148070-8731-11dc-ae46-9e7b5d14892d/en.1193910778328.bak Fri Nov 2 03:57:25 2007
@@ -0,0 +1,29 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Copyright 2002-2004 The Apache Software Foundation
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+--><!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V2.0//EN" "http://forrest.apache.org/dtd/document-v20.dtd">
+
+<document>
+ <header>
+ <title>Documentation Has Moved</title>
+ </header>
+ <body>
+ <section>
+ <title>This documentation has moved.</title>
+ <p>Redirect: <a href="lenya-document:eeb40f30-8730-11dc-ae46-9e7b5d14892d">click here</a>
+</p>
+ </section>
+ </body>
+</document>
Modified: lenya/sandbox/pubs/docu/content/authoring/37148070-8731-11dc-ae46-9e7b5d14892d/en.meta
URL: http://svn.apache.org/viewvc/lenya/sandbox/pubs/docu/content/authoring/37148070-8731-11dc-ae46-9e7b5d14892d/en.meta?rev=591298&r1=591297&r2=591298&view=diff
==============================================================================
--- lenya/sandbox/pubs/docu/content/authoring/37148070-8731-11dc-ae46-9e7b5d14892d/en.meta (original)
+++ lenya/sandbox/pubs/docu/content/authoring/37148070-8731-11dc-ae46-9e7b5d14892d/en.meta Fri Nov 2 03:57:25 2007
@@ -1,11 +1,16 @@
<?xml version="1.0" encoding="UTF-8"?>
<metadata xmlns="http://apache.org/lenya/metadata/1.0">
-<element-set namespace="http://apache.org/lenya/metadata/document/1.0">
-<element key="mimeType">
-<value>application/xml</value>
+<element-set namespace="http://purl.org/dc/elements/1.1/">
+<element key="title">
+<value>WebDAV Servers</value>
</element>
+</element-set>
+<element-set namespace="http://apache.org/lenya/metadata/document/1.0">
<element key="extension">
<value>xml</value>
+</element>
+<element key="mimeType">
+<value>application/xml</value>
</element>
<element key="resourceType">
<value>forrestDocument20</value>
Added: lenya/sandbox/pubs/docu/content/authoring/37148070-8731-11dc-ae46-9e7b5d14892d/en.meta.1193910778328.bak
URL: http://svn.apache.org/viewvc/lenya/sandbox/pubs/docu/content/authoring/37148070-8731-11dc-ae46-9e7b5d14892d/en.meta.1193910778328.bak?rev=591298&view=auto
==============================================================================
--- lenya/sandbox/pubs/docu/content/authoring/37148070-8731-11dc-ae46-9e7b5d14892d/en.meta.1193910778328.bak (added)
+++ lenya/sandbox/pubs/docu/content/authoring/37148070-8731-11dc-ae46-9e7b5d14892d/en.meta.1193910778328.bak Fri Nov 2 03:57:25 2007
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<metadata xmlns="http://apache.org/lenya/metadata/1.0">
+<element-set namespace="http://purl.org/dc/elements/1.1/">
+<element key="title">
+<value>WebDAV Servers</value>
+</element>
+</element-set>
+<element-set namespace="http://apache.org/lenya/metadata/document/1.0">
+<element key="extension">
+<value>xml</value>
+</element>
+<element key="mimeType">
+<value>application/xml</value>
+</element>
+<element key="resourceType">
+<value>forrestDocument20</value>
+</element>
+<element key="contentType">
+<value>xml</value>
+</element>
+</element-set>
+</metadata>
Modified: lenya/sandbox/pubs/docu/content/authoring/37148070-8731-11dc-ae46-9e7b5d14892d/en.rcml
URL: http://svn.apache.org/viewvc/lenya/sandbox/pubs/docu/content/authoring/37148070-8731-11dc-ae46-9e7b5d14892d/en.rcml?rev=591298&r1=591297&r2=591298&view=diff
==============================================================================
--- lenya/sandbox/pubs/docu/content/authoring/37148070-8731-11dc-ae46-9e7b5d14892d/en.rcml (original)
+++ lenya/sandbox/pubs/docu/content/authoring/37148070-8731-11dc-ae46-9e7b5d14892d/en.rcml Fri Nov 2 03:57:25 2007
@@ -1,5 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<XPSRevisionControl xmlns="">
+<CheckIn backup="true" identity="lenya" session="1f12dc80-8860-11dc-ba66-cfbbb816bd0d" time="1193910778328" version="2"/>
+<CheckOut identity="lenya" session="1f12dc80-8860-11dc-ba66-cfbbb816bd0d" time="1193910764224"/>
<CheckIn backup="true" identity="lenya" session="60798970-8730-11dc-ae46-9e7b5d14892d" time="1193781618925" version="1"/>
<CheckOut identity="lenya" session="60798970-8730-11dc-ae46-9e7b5d14892d" time="1193781606780"/>
</XPSRevisionControl>
Added: lenya/sandbox/pubs/docu/content/authoring/371dcf40-8731-11dc-ae46-9e7b5d14892d/en.1193910795266.bak
URL: http://svn.apache.org/viewvc/lenya/sandbox/pubs/docu/content/authoring/371dcf40-8731-11dc-ae46-9e7b5d14892d/en.1193910795266.bak?rev=591298&view=auto
==============================================================================
--- lenya/sandbox/pubs/docu/content/authoring/371dcf40-8731-11dc-ae46-9e7b5d14892d/en.1193910795266.bak (added)
+++ lenya/sandbox/pubs/docu/content/authoring/371dcf40-8731-11dc-ae46-9e7b5d14892d/en.1193910795266.bak Fri Nov 2 03:57:25 2007
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Copyright 1999-2004 The Apache Software Foundation
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+<!-- $Id: index.xml 55543 2004-10-26 00:14:59Z gregor $ --><!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V2.0//EN" "http://forrest.apache.org/dtd/document-v20.dtd">
+
+<document>
+ <header>
+ <title>Apache Lenya Documentation</title>
+ </header>
+ <body>
+ <p>
+ This is a Forrest Document 2.0 sample.
+ </p>
+ </body>
+</document>
Modified: lenya/sandbox/pubs/docu/content/authoring/371dcf40-8731-11dc-ae46-9e7b5d14892d/en.meta
URL: http://svn.apache.org/viewvc/lenya/sandbox/pubs/docu/content/authoring/371dcf40-8731-11dc-ae46-9e7b5d14892d/en.meta?rev=591298&r1=591297&r2=591298&view=diff
==============================================================================
--- lenya/sandbox/pubs/docu/content/authoring/371dcf40-8731-11dc-ae46-9e7b5d14892d/en.meta (original)
+++ lenya/sandbox/pubs/docu/content/authoring/371dcf40-8731-11dc-ae46-9e7b5d14892d/en.meta Fri Nov 2 03:57:25 2007
@@ -1,11 +1,16 @@
<?xml version="1.0" encoding="UTF-8"?>
<metadata xmlns="http://apache.org/lenya/metadata/1.0">
-<element-set namespace="http://apache.org/lenya/metadata/document/1.0">
-<element key="mimeType">
-<value>application/xml</value>
+<element-set namespace="http://purl.org/dc/elements/1.1/">
+<element key="title">
+<value>Search</value>
</element>
+</element-set>
+<element-set namespace="http://apache.org/lenya/metadata/document/1.0">
<element key="extension">
<value>xml</value>
+</element>
+<element key="mimeType">
+<value>application/xml</value>
</element>
<element key="resourceType">
<value>forrestDocument20</value>
Added: lenya/sandbox/pubs/docu/content/authoring/371dcf40-8731-11dc-ae46-9e7b5d14892d/en.meta.1193910795266.bak
URL: http://svn.apache.org/viewvc/lenya/sandbox/pubs/docu/content/authoring/371dcf40-8731-11dc-ae46-9e7b5d14892d/en.meta.1193910795266.bak?rev=591298&view=auto
==============================================================================
--- lenya/sandbox/pubs/docu/content/authoring/371dcf40-8731-11dc-ae46-9e7b5d14892d/en.meta.1193910795266.bak (added)
+++ lenya/sandbox/pubs/docu/content/authoring/371dcf40-8731-11dc-ae46-9e7b5d14892d/en.meta.1193910795266.bak Fri Nov 2 03:57:25 2007
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<metadata xmlns="http://apache.org/lenya/metadata/1.0">
+<element-set namespace="http://purl.org/dc/elements/1.1/">
+<element key="title">
+<value>Search</value>
+</element>
+</element-set>
+<element-set namespace="http://apache.org/lenya/metadata/document/1.0">
+<element key="extension">
+<value>xml</value>
+</element>
+<element key="mimeType">
+<value>application/xml</value>
+</element>
+<element key="resourceType">
+<value>forrestDocument20</value>
+</element>
+<element key="contentType">
+<value>xml</value>
+</element>
+</element-set>
+</metadata>
Modified: lenya/sandbox/pubs/docu/content/authoring/371dcf40-8731-11dc-ae46-9e7b5d14892d/en.rcml
URL: http://svn.apache.org/viewvc/lenya/sandbox/pubs/docu/content/authoring/371dcf40-8731-11dc-ae46-9e7b5d14892d/en.rcml?rev=591298&r1=591297&r2=591298&view=diff
==============================================================================
--- lenya/sandbox/pubs/docu/content/authoring/371dcf40-8731-11dc-ae46-9e7b5d14892d/en.rcml (original)
+++ lenya/sandbox/pubs/docu/content/authoring/371dcf40-8731-11dc-ae46-9e7b5d14892d/en.rcml Fri Nov 2 03:57:25 2007
@@ -1,5 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<XPSRevisionControl xmlns="">
+<CheckIn backup="true" identity="lenya" session="1f12dc80-8860-11dc-ba66-cfbbb816bd0d" time="1193910795266" version="2"/>
+<CheckOut identity="lenya" session="1f12dc80-8860-11dc-ba66-cfbbb816bd0d" time="1193910767133"/>
<CheckIn backup="true" identity="lenya" session="60798970-8730-11dc-ae46-9e7b5d14892d" time="1193781616206" version="1"/>
<CheckOut identity="lenya" session="60798970-8730-11dc-ae46-9e7b5d14892d" time="1193781602941"/>
</XPSRevisionControl>
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@lenya.apache.org
For additional commands, e-mail: commits-help@lenya.apache.org