Added: lenya/sandbox/pubs/docu/content/authoring/47e305c0-8731-11dc-ae46-9e7b5d14892d/en.1195221899793.bak
URL: http://svn.apache.org/viewvc/lenya/sandbox/pubs/docu/content/authoring/47e305c0-8731-11dc-ae46-9e7b5d14892d/en.1195221899793.bak?rev=595691&view=auto
==============================================================================
--- lenya/sandbox/pubs/docu/content/authoring/47e305c0-8731-11dc-ae46-9e7b5d14892d/en.1195221899793.bak (added)
+++ lenya/sandbox/pubs/docu/content/authoring/47e305c0-8731-11dc-ae46-9e7b5d14892d/en.1195221899793.bak Fri Nov 16 07:11:58 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: anttask.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>The AntTask</title>
+
+
+
+</header>
+<body>
+
+<p>
+The <code>org.apache.lenya.cms.task.AntTask</code> class can be used to invoke targets
+of an Ant project.
+</p>
+
+<section>
+<title>Task Parameters</title>
+<p>
+The task parameters are:
+</p>
+<ul>
+ <li>
+<strong>
+<code>publication-id</code>
+</strong>: The publication ID</li>
+ <li>
+<strong>
+<code>buildfile (optional)</code>
+</strong>: The location of the build file
+ relative to the publication directory. If this parameter is
+ not provided, the file is loaded from the default location (see section <a href="#File+Locations">File Locations</a>).</li>
+ <li>
+<strong>
+<code>target (optional)</code>
+</strong>: The build target. If this parameter
+ is not provided, the default target is executed.</li>
+ <li>
+<strong>
+<code>properties.*</code>
+</strong>: The project properties.</li>
+ <li>
+<strong>
+<code>ant.*</code>
+</strong>: The command-line parameters for Ant <strong>(not implemented yet!)</strong>
+</li>
+</ul>
+</section>
+
+<section>
+<title>Logging</title>
+
+<p>
+Every time an <code>AntTask</code> is invoked, a log file is created unsing
+the <code>XmlLogger</code>
+(<a href="http://ant.apache.org/manual/listeners.html">manual entry</a>,
+<a href="http://issues.apache.org/gump/javadoc/ant/build/javadocs/org/apache/tools/ant/XmlLogger.html">JavaDoc</a>).
+For the location of the log files, see section <a href="#File+Locations">File Locations</a>.
+The log history can be viewed at the URI
+</p>
+<source xml:space="preserve">
+http://.../<publication>/logs/tasks/index.html
+</source>
+</section>
+
+<section>
+<title>Writing AntTask Buildfiles</title>
+<p>
+Any Ant project file can be used as a buildfile for the <code>AntTask</code>.
+There is one implicit property that is always set when an
+<code>AntTask</code> is executed:
+</p>
+<ul>
+ <li>
+<strong>
+<code>pub.dir</code>
+</strong>: The absolute path of publication directory.</li>
+</ul>
+<p>
+The runtime properties of the target can be set using task parameters
+with the prefix <code>properties</code>, e. g. <code>properties.filename</code>
+for a buildfile property named <code>filename</code>.
+</p>
+</section>
+
+<section>
+<title>Using custom Ant Tasks</title>
+<p>
+The implementation of custom Ant tasks is described in the
+<a href="http://ant.apache.org/manual/index.html">Ant User Manual</a>.
+If you want to write a general Lenya task, put it into the package
+<code>org.lenya.cms.ant</code>. If you want to write a task
+that is only suited for your publication, put it in the
+<code><publication>/java/src/</code> directory.
+</p>
+</section>
+
+<section>
+<title>File Locations</title>
+
+<p>Default buildfile location:</p>
+<source xml:space="preserve"><publication>/config/tasks/targets.xml</source>
+
+<p>Log files:</p>
+<source xml:space="preserve"><publication>/logs/tasks/*.xml</source>
+
+<p>Log file presentation stylesheets:</p>
+<source xml:space="preserve"><webapp>/lenya/xslt/logs/*.xsl</source>
+</section>
+
+<section>
+<title>Example</title>
+
+<p>
+The following buildfile contains the target <code>publish</code>
+that can be invoked using the <code>AntTask</code>:
+</p>
+<source xml:space="preserve">
+<![CDATA[<project name="Example Project" default="publish" basedir=".">
+
+ <!-- implicit properties (set by the AntTask) -->
+ <property name="pub.dir" value=""/>
+
+ <!-- publishing properties -->
+ <property name="authoring.dir" value="content/authoring"/>
+ <property name="live.dir" value="content/live"/>
+ <property name="publish.sources" value=""/>
+
+ <target name="publish">
+ <echo>Publish: Copying files from ${authoring.dir} to ${live.dir}</echo>
+ <copy todir="${pub.dir}/${live.dir}">
+ <fileset dir="${pub.dir}/${authoring.dir}">
+ <include name="${publish.sources}"/>
+ </fileset>
+ </copy>
+ </target>
+
+</project>]]>
+</source>
+
+<p>
+You define the task in your <code>tasks.xconf</code> file:
+</p>
+<source xml:space="preserve">
+<![CDATA[<task id="ant" class="org.lenya.cms.task.AntTask"/>]]>
+</source>
+
+<p>
+To invoke the task from your sitemap, you have to define an appropriate
+<code>TaskAction</code> instance:
+</p>
+<source xml:space="preserve">
+<![CDATA[<map:action name="publish"
+ src="org.lenya.cms.cocoon.acting.TaskAction">
+ <task id="ant"/>
+</map:action>]]>
+</source>
+
+<p>
+You call the action in a pipeline:
+</p>
+<source xml:space="preserve">
+<![CDATA[<map:match pattern="publish.html">
+ <map:act type="publish">
+ ...
+ </map:act>
+</map:match>]]>
+</source>
+
+<p>And finally, go to your browser and call the URI with the appropriate
+parameter(s):</p>
+<source xml:space="preserve">http://.../publish.html?properties.publish.sources=test.xml</source>
+
+</section>
+
+</body>
+</document>
Added: lenya/sandbox/pubs/docu/content/authoring/47e305c0-8731-11dc-ae46-9e7b5d14892d/en.meta.1195221899793.bak
URL: http://svn.apache.org/viewvc/lenya/sandbox/pubs/docu/content/authoring/47e305c0-8731-11dc-ae46-9e7b5d14892d/en.meta.1195221899793.bak?rev=595691&view=auto
==============================================================================
--- lenya/sandbox/pubs/docu/content/authoring/47e305c0-8731-11dc-ae46-9e7b5d14892d/en.meta.1195221899793.bak (added)
+++ lenya/sandbox/pubs/docu/content/authoring/47e305c0-8731-11dc-ae46-9e7b5d14892d/en.meta.1195221899793.bak Fri Nov 16 07:11:58 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>AntTask</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/47e305c0-8731-11dc-ae46-9e7b5d14892d/en.rcml
URL: http://svn.apache.org/viewvc/lenya/sandbox/pubs/docu/content/authoring/47e305c0-8731-11dc-ae46-9e7b5d14892d/en.rcml?rev=595691&r1=595690&r2=595691&view=diff
==============================================================================
--- lenya/sandbox/pubs/docu/content/authoring/47e305c0-8731-11dc-ae46-9e7b5d14892d/en.rcml (original)
+++ lenya/sandbox/pubs/docu/content/authoring/47e305c0-8731-11dc-ae46-9e7b5d14892d/en.rcml Fri Nov 16 07:11:58 2007
@@ -1,5 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<XPSRevisionControl xmlns="">
+<CheckIn backup="true" identity="lenya" session="fde084c0-944b-11dc-8f2e-e6c0ff9903ab" time="1195221899793" version="3"/>
+<CheckOut identity="lenya" session="fde084c0-944b-11dc-8f2e-e6c0ff9903ab" time="1195221889998"/>
<CheckIn backup="true" identity="lenya" session="1f12dc80-8860-11dc-ba66-cfbbb816bd0d" time="1193910783649" version="2"/>
<CheckOut identity="lenya" session="1f12dc80-8860-11dc-ba66-cfbbb816bd0d" time="1193910768455"/>
<CheckIn backup="true" identity="lenya" session="60798970-8730-11dc-ae46-9e7b5d14892d" time="1193781626033" version="1"/>
Added: lenya/sandbox/pubs/docu/content/authoring/490b0b00-8731-11dc-ae46-9e7b5d14892d/en.1195221909726.bak
URL: http://svn.apache.org/viewvc/lenya/sandbox/pubs/docu/content/authoring/490b0b00-8731-11dc-ae46-9e7b5d14892d/en.1195221909726.bak?rev=595691&view=auto
==============================================================================
--- lenya/sandbox/pubs/docu/content/authoring/490b0b00-8731-11dc-ae46-9e7b5d14892d/en.1195221909726.bak (added)
+++ lenya/sandbox/pubs/docu/content/authoring/490b0b00-8731-11dc-ae46-9e7b5d14892d/en.1195221909726.bak Fri Nov 16 07:11:58 2007
@@ -0,0 +1,97 @@
+<?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: publisher.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>The DefaultFilePublisher Task</title>
+
+ <type>Overview document</type>
+
+</header>
+<body>
+
+<p>
+The DefaultFilePublisher is a task that copies XML source files from
+the authoring directory to another location, usually the live directory.
+It needs the following parameters:
+</p>
+<ul>
+ <li>
+<strong>publication-id</strong>: the publication identifier</li>
+ <li>
+<strong>authoring-path</strong>: the authoring path</li>
+ <li>
+<strong>tree-authoring-path</strong>: the location of the <code>tree.xml</code> file</li>
+ <li>
+<strong>live-path</strong>: the live path</li>
+ <li>
+<strong>tree-live-path</strong>: the location of the <code>tree.xml</code> file</li>
+ <li>
+<strong>sources</strong>: a comma-separated list of files to publish</li>
+</ul>
+<p>
+All paths are relative to the publication directory. Usually, the path information is read
+from the <code>[publication-directory]/config/publishing/publisher.xconf</code> file:
+</p>
+<source xml:space="preserve"><![CDATA[
+
+<publication>
+ <authoring>
+ <documents href="content/authoring"/>
+ <tree href="content/authoring/tree.xml"/>
+ </authoring>
+ <live>
+ <documents href="content/live"/>
+ <tree href="content/live/tree.xml"/>
+ </live>
+ ...
+</publication>
+
+]]></source>
+
+<p>
+You can override the paths in the task configuration file <code>tasks.xconf</code>,
+e. g. to use several publishers to publish into different directories:
+</p>
+
+<source xml:space="preserve"><![CDATA[
+
+<tasks>
+
+ <task id="publish-test" class="org.apache.lenya.cms.publishing.DefaultFilePublisher">
+ <label>Publish</label>
+ <parameter name="live-path" value="content/live-test"/>
+ <parameter name="tree-live-path" value="content/live-test/tree.xml"/>
+ </task>
+
+ <task id="publish-real" class="org.apache.lenya.cms.publishing.DefaultFilePublisher">
+ <label>Publish</label>
+ <parameter name="live-path" value="content/live"/>
+ <parameter name="tree-live-path" value="content/live/tree.xml"/>
+ </task>
+
+</tasks>
+
+]]></source>
+<p>
+The remaining parameters, <code>publication-id</code> and <code>sources</code>, are
+passed to the task as request parameters.
+</p>
+</body>
+</document>
Added: lenya/sandbox/pubs/docu/content/authoring/490b0b00-8731-11dc-ae46-9e7b5d14892d/en.meta.1195221909726.bak
URL: http://svn.apache.org/viewvc/lenya/sandbox/pubs/docu/content/authoring/490b0b00-8731-11dc-ae46-9e7b5d14892d/en.meta.1195221909726.bak?rev=595691&view=auto
==============================================================================
--- lenya/sandbox/pubs/docu/content/authoring/490b0b00-8731-11dc-ae46-9e7b5d14892d/en.meta.1195221909726.bak (added)
+++ lenya/sandbox/pubs/docu/content/authoring/490b0b00-8731-11dc-ae46-9e7b5d14892d/en.meta.1195221909726.bak Fri Nov 16 07:11:58 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>DefaultFilePublisher</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/490b0b00-8731-11dc-ae46-9e7b5d14892d/en.rcml
URL: http://svn.apache.org/viewvc/lenya/sandbox/pubs/docu/content/authoring/490b0b00-8731-11dc-ae46-9e7b5d14892d/en.rcml?rev=595691&r1=595690&r2=595691&view=diff
==============================================================================
--- lenya/sandbox/pubs/docu/content/authoring/490b0b00-8731-11dc-ae46-9e7b5d14892d/en.rcml (original)
+++ lenya/sandbox/pubs/docu/content/authoring/490b0b00-8731-11dc-ae46-9e7b5d14892d/en.rcml Fri Nov 16 07:11:58 2007
@@ -1,5 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<XPSRevisionControl xmlns="">
+<CheckIn backup="true" identity="lenya" session="fde084c0-944b-11dc-8f2e-e6c0ff9903ab" time="1195221909726" version="3"/>
+<CheckOut identity="lenya" session="fde084c0-944b-11dc-8f2e-e6c0ff9903ab" time="1195221889191"/>
<CheckIn backup="true" identity="lenya" session="1f12dc80-8860-11dc-ba66-cfbbb816bd0d" time="1193910787081" version="2"/>
<CheckOut identity="lenya" session="1f12dc80-8860-11dc-ba66-cfbbb816bd0d" time="1193910771357"/>
<CheckIn backup="true" identity="lenya" session="60798970-8730-11dc-ae46-9e7b5d14892d" time="1193781623550" version="1"/>
Added: lenya/sandbox/pubs/docu/content/authoring/4a366ba0-8731-11dc-ae46-9e7b5d14892d/en.1195221900132.bak
URL: http://svn.apache.org/viewvc/lenya/sandbox/pubs/docu/content/authoring/4a366ba0-8731-11dc-ae46-9e7b5d14892d/en.1195221900132.bak?rev=595691&view=auto
==============================================================================
--- lenya/sandbox/pubs/docu/content/authoring/4a366ba0-8731-11dc-ae46-9e7b5d14892d/en.1195221900132.bak (added)
+++ lenya/sandbox/pubs/docu/content/authoring/4a366ba0-8731-11dc-ae46-9e7b5d14892d/en.1195221900132.bak Fri Nov 16 07:11:58 2007
@@ -0,0 +1,89 @@
+<?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: exporter.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>The StaticHTMLExporter Task</title>
+
+ <type>Overview document</type>
+
+</header>
+<body>
+
+<p>
+The StaticHTMLExporter is a task that downloads HTML pages from a server and
+saves them as HTML files. It needs the following
+parameters:
+</p>
+<ul>
+ <li>
+<strong>server-uri</strong>: the server uri, e. g. <code>http://authoring.yourdomain.com</code>
+</li>
+ <li>
+<strong>server-port</strong>: the server port, e. g. 8080</li>
+ <li>
+<strong>publication-id</strong>: the publication id</li>
+ <li>
+<strong>export-path-prefix</strong>: the path to save the files to</li>
+ <li>
+<strong>uris</strong>: a comma-separated list of uris to download (without server + port)</li>
+ <li>
+<strong>substitute-regexp</strong>: a regular expression to substitute a part of the path</li>
+</ul>
+<p>
+Usually, the path information is read
+from the <code>[publication-directory]/config/publishing/publisher.xconf</code> file:
+</p>
+<source xml:space="preserve"><![CDATA[
+
+<publication>
+ ...
+ <export>
+ <destination href="work/export/pending"/>
+ <substitution regexp="s/\/lenya\/unipublic//g"/>
+ </export>
+</publication>
+
+]]></source>
+
+<p>
+You can override the paths in the task configuration file <code>tasks.xconf</code>,
+e. g. to use several publishers to publish into different directories:
+</p>
+
+<source xml:space="preserve"><![CDATA[
+
+<tasks>
+
+ <task id="export-pending" class="org.apache.lenya.cms.publishing.StaticHTMLExporter">
+ <parameter name="export-path" value="work/export/pending"/>
+ <parameter name="substitute-regexp" value="s/\/lenya\/your-publication//g"/>
+ </task>
+
+ <task id="export-backup" class="org.apache.lenya.cms.publishing.StaticHTMLExporter">
+ <parameter name="export-path" value="work/backup"/>
+ <parameter name="substitute-regexp" value="s/\/lenya\/your-publication//g"/>
+ </task>
+
+</tasks>
+
+]]></source>
+
+</body>
+</document>
Added: lenya/sandbox/pubs/docu/content/authoring/4a366ba0-8731-11dc-ae46-9e7b5d14892d/en.meta.1195221900132.bak
URL: http://svn.apache.org/viewvc/lenya/sandbox/pubs/docu/content/authoring/4a366ba0-8731-11dc-ae46-9e7b5d14892d/en.meta.1195221900132.bak?rev=595691&view=auto
==============================================================================
--- lenya/sandbox/pubs/docu/content/authoring/4a366ba0-8731-11dc-ae46-9e7b5d14892d/en.meta.1195221900132.bak (added)
+++ lenya/sandbox/pubs/docu/content/authoring/4a366ba0-8731-11dc-ae46-9e7b5d14892d/en.meta.1195221900132.bak Fri Nov 16 07:11:58 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>StaticHTMLExporter</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/4a366ba0-8731-11dc-ae46-9e7b5d14892d/en.rcml
URL: http://svn.apache.org/viewvc/lenya/sandbox/pubs/docu/content/authoring/4a366ba0-8731-11dc-ae46-9e7b5d14892d/en.rcml?rev=595691&r1=595690&r2=595691&view=diff
==============================================================================
--- lenya/sandbox/pubs/docu/content/authoring/4a366ba0-8731-11dc-ae46-9e7b5d14892d/en.rcml (original)
+++ lenya/sandbox/pubs/docu/content/authoring/4a366ba0-8731-11dc-ae46-9e7b5d14892d/en.rcml Fri Nov 16 07:11:58 2007
@@ -1,5 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<XPSRevisionControl xmlns="">
+<CheckIn backup="true" identity="lenya" session="fde084c0-944b-11dc-8f2e-e6c0ff9903ab" time="1195221900132" version="3"/>
+<CheckOut identity="lenya" session="fde084c0-944b-11dc-8f2e-e6c0ff9903ab" time="1195221890158"/>
<CheckIn backup="true" identity="lenya" session="1f12dc80-8860-11dc-ba66-cfbbb816bd0d" time="1193910795033" version="2"/>
<CheckOut identity="lenya" session="1f12dc80-8860-11dc-ba66-cfbbb816bd0d" time="1193910766968"/>
<CheckIn backup="true" identity="lenya" session="60798970-8730-11dc-ae46-9e7b5d14892d" time="1193781617767" version="1"/>
Added: lenya/sandbox/pubs/docu/content/authoring/4b6f39c0-8731-11dc-ae46-9e7b5d14892d/en.1195221907640.bak
URL: http://svn.apache.org/viewvc/lenya/sandbox/pubs/docu/content/authoring/4b6f39c0-8731-11dc-ae46-9e7b5d14892d/en.1195221907640.bak?rev=595691&view=auto
==============================================================================
--- lenya/sandbox/pubs/docu/content/authoring/4b6f39c0-8731-11dc-ae46-9e7b5d14892d/en.1195221907640.bak (added)
+++ lenya/sandbox/pubs/docu/content/authoring/4b6f39c0-8731-11dc-ae46-9e7b5d14892d/en.1195221907640.bak Fri Nov 16 07:11:58 2007
@@ -0,0 +1,134 @@
+<?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: mailtask.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>The MailTask</title>
+
+ <type>Overview document</type>
+
+</header>
+<body>
+
+<p>
+A <code>MailTask</code> sends an e-mail. The parameters, such as recipient
+address, subject, and body, can either be provided as a task parameter or
+extracted from an XML document.
+</p>
+
+<section>
+<title>Task Parameters</title>
+
+<p>
+The following parameters must be provided:</p>
+<ul>
+ <li>
+<strong>server</strong>: the SMTP server URI</li>
+ <li>
+<strong>from</strong>: [email protected]</li>
+ <li>
+<strong>to</strong>: [email protected]</li>
+ <li>
+<strong>cc</strong>: [email protected]</li>
+ <li>
+<strong>subject</strong>: Hello World!</li>
+ <li>
+<strong>body</strong>: How are you?</li>
+</ul>
+
+
+<section>
+<title>Getting the mail data from an XML source</title>
+<p>
+Additionally, you can pass a <code>uri</code> parameter to the <code>MailTask</code>:</p>
+<ul>
+ <li>
+<strong>uri</strong>: the URI to get the XML file from</li>
+</ul>
+<p>If this parameter is present, the task tries to fetch an XML document from the URI.
+If the parameter <code>uri</code> starts with a <code>http://</code> or <code>ftp://</code>
+prefix, the absolute URI is used. If not, the URI is interpreted as relative to the
+local publication.</p>
+<p>
+A complete XML document could look like this:
+</p>
+<source xml:space="preserve"><![CDATA[
+
+<mail:mail xmlns:mail="http://apache.org/cocoon/lenya/mail/1.0">
+ <mail:server>mail.yourhost.com</mail:server>
+ <mail:from>[email protected]</mail:from>
+ <mail:to>[email protected]</mail:to>
+ <mail:cc>[email protected]</mail:cc>
+ <mail:subject>Hello Friends!</mail:subject>
+ <mail:body>How are you?</mail:body>
+</mail:mail>
+
+]]></source>
+<p>
+All child elements of <code><mail:mail></code> are optional.
+If the <code>uri</code> task parameter is provided, the XML
+document is fetched from the URI and the parameters are extracted.
+</p>
+<p>
+Task parameters have a higher priority than elements of the document. This makes it
+possible to access one complete XML file from different <code>MailTask</code>s and override
+the recepient address or other values.
+</p>
+</section>
+</section>
+
+<section>
+<title>Declaring and Using the MailTask</title>
+<p>
+In <code>tasks.xconf</code>, a typical mail task looks like follows:
+</p>
+<source xml:space="preserve"><![CDATA[
+
+ <task id="send-newsletter" class="org.lenya.cms.mail.MailTask">
+ <label>Send Newsletter</label>
+ <parameter name="server" value="mail.example.com"/>
+ <parameter name="from" value="[email protected]"/>
+ <parameter name="to" value="[email protected]"/>
+ <parameter name="uri" value="/authoring/newsletter/mail.xml"/>
+ </task>
+
+]]></source>
+<p>
+The actual newsletter is received from the URI that is interpreted
+relativly to the publication URI. The task can be invoked in a sitemap pipeline:
+</p>
+<source xml:space="preserve"><![CDATA[
+
+ <map:action name="task" src="org.lenya.cms.cocoon.acting.TaskAction"/>
+
+ ...
+
+ <map:match pattern="newsletter/send">
+ <map:act type="task">
+ <map:parameter name="task-id" value="send-newsletter"/>
+ <map:redirect-to uri="report-success.html" session="true"/>
+ </map:act>
+ <map:redirect-to uri="report-failure.html" session="true"/>
+ </map:match>
+
+]]></source>
+</section>
+
+</body>
+</document>
Added: lenya/sandbox/pubs/docu/content/authoring/4b6f39c0-8731-11dc-ae46-9e7b5d14892d/en.meta.1195221907640.bak
URL: http://svn.apache.org/viewvc/lenya/sandbox/pubs/docu/content/authoring/4b6f39c0-8731-11dc-ae46-9e7b5d14892d/en.meta.1195221907640.bak?rev=595691&view=auto
==============================================================================
--- lenya/sandbox/pubs/docu/content/authoring/4b6f39c0-8731-11dc-ae46-9e7b5d14892d/en.meta.1195221907640.bak (added)
+++ lenya/sandbox/pubs/docu/content/authoring/4b6f39c0-8731-11dc-ae46-9e7b5d14892d/en.meta.1195221907640.bak Fri Nov 16 07:11:58 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>MailTask</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/4b6f39c0-8731-11dc-ae46-9e7b5d14892d/en.rcml
URL: http://svn.apache.org/viewvc/lenya/sandbox/pubs/docu/content/authoring/4b6f39c0-8731-11dc-ae46-9e7b5d14892d/en.rcml?rev=595691&r1=595690&r2=595691&view=diff
==============================================================================
--- lenya/sandbox/pubs/docu/content/authoring/4b6f39c0-8731-11dc-ae46-9e7b5d14892d/en.rcml (original)
+++ lenya/sandbox/pubs/docu/content/authoring/4b6f39c0-8731-11dc-ae46-9e7b5d14892d/en.rcml Fri Nov 16 07:11:58 2007
@@ -1,5 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<XPSRevisionControl xmlns="">
+<CheckIn backup="true" identity="lenya" session="fde084c0-944b-11dc-8f2e-e6c0ff9903ab" time="1195221907640" version="3"/>
+<CheckOut identity="lenya" session="fde084c0-944b-11dc-8f2e-e6c0ff9903ab" time="1195221887127"/>
<CheckIn backup="true" identity="lenya" session="1f12dc80-8860-11dc-ba66-cfbbb816bd0d" time="1193910778484" version="2"/>
<CheckOut identity="lenya" session="1f12dc80-8860-11dc-ba66-cfbbb816bd0d" time="1193910764319"/>
<CheckIn backup="true" identity="lenya" session="60798970-8730-11dc-ae46-9e7b5d14892d" time="1193781622914" version="1"/>
Added: lenya/sandbox/pubs/docu/content/authoring/4cadd440-8731-11dc-ae46-9e7b5d14892d/en.1195221905851.bak
URL: http://svn.apache.org/viewvc/lenya/sandbox/pubs/docu/content/authoring/4cadd440-8731-11dc-ae46-9e7b5d14892d/en.1195221905851.bak?rev=595691&view=auto
==============================================================================
--- lenya/sandbox/pubs/docu/content/authoring/4cadd440-8731-11dc-ae46-9e7b5d14892d/en.1195221905851.bak (added)
+++ lenya/sandbox/pubs/docu/content/authoring/4cadd440-8731-11dc-ae46-9e7b5d14892d/en.1195221905851.bak Fri Nov 16 07:11:58 2007
@@ -0,0 +1,49 @@
+<?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: development.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>Developing Your Own Tasks</title>
+
+ <type>Overview document</type>
+
+</header>
+<body>
+<section>
+ <title>org.lenya.cms.task.Task</title>
+<p>
+Every task must implement the <code>org.lenya.cms.task.Task</code> interface.
+</p>
+<p>
+The easiest way to develop your own task is to extend the <code>AbstractTask</code> class.
+Its <code>parameterize()</code> method simply replaces old parameter values with new
+ones. All you have to do is implementing the <code>execute(String contextPath)</code>
+method.
+</p>
+<p>
+You may wonder why we pass the <code>contextPath</code> as a method parameter
+since we already pass it as a task parameter. This ensures that the task is always
+able to access the Lenya CMS directory, even if it is not created by a <code>TaskAction</code>
+or a <code>TaskJob</code>. Furthermore, if you enter a task in the <code>jobs.xml</code>
+file manually, you won't have to provide a hard-coded <code>servlet-context</code> parameter.
+</p>
+</section>
+
+</body>
+</document>
Added: lenya/sandbox/pubs/docu/content/authoring/4cadd440-8731-11dc-ae46-9e7b5d14892d/en.meta.1195221905851.bak
URL: http://svn.apache.org/viewvc/lenya/sandbox/pubs/docu/content/authoring/4cadd440-8731-11dc-ae46-9e7b5d14892d/en.meta.1195221905851.bak?rev=595691&view=auto
==============================================================================
--- lenya/sandbox/pubs/docu/content/authoring/4cadd440-8731-11dc-ae46-9e7b5d14892d/en.meta.1195221905851.bak (added)
+++ lenya/sandbox/pubs/docu/content/authoring/4cadd440-8731-11dc-ae46-9e7b5d14892d/en.meta.1195221905851.bak Fri Nov 16 07:11:58 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>Developing Tasks</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/4cadd440-8731-11dc-ae46-9e7b5d14892d/en.rcml
URL: http://svn.apache.org/viewvc/lenya/sandbox/pubs/docu/content/authoring/4cadd440-8731-11dc-ae46-9e7b5d14892d/en.rcml?rev=595691&r1=595690&r2=595691&view=diff
==============================================================================
--- lenya/sandbox/pubs/docu/content/authoring/4cadd440-8731-11dc-ae46-9e7b5d14892d/en.rcml (original)
+++ lenya/sandbox/pubs/docu/content/authoring/4cadd440-8731-11dc-ae46-9e7b5d14892d/en.rcml Fri Nov 16 07:11:58 2007
@@ -1,5 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<XPSRevisionControl xmlns="">
+<CheckIn backup="true" identity="lenya" session="fde084c0-944b-11dc-8f2e-e6c0ff9903ab" time="1195221905851" version="3"/>
+<CheckOut identity="lenya" session="fde084c0-944b-11dc-8f2e-e6c0ff9903ab" time="1195221884853"/>
<CheckIn backup="true" identity="lenya" session="1f12dc80-8860-11dc-ba66-cfbbb816bd0d" time="1193910799199" version="2"/>
<CheckOut identity="lenya" session="1f12dc80-8860-11dc-ba66-cfbbb816bd0d" time="1193910770093"/>
<CheckIn backup="true" identity="lenya" session="60798970-8730-11dc-ae46-9e7b5d14892d" time="1193781629239" version="1"/>
Added: lenya/sandbox/pubs/docu/content/authoring/4deb5d50-8731-11dc-ae46-9e7b5d14892d/en.1195221899341.bak
URL: http://svn.apache.org/viewvc/lenya/sandbox/pubs/docu/content/authoring/4deb5d50-8731-11dc-ae46-9e7b5d14892d/en.1195221899341.bak?rev=595691&view=auto
==============================================================================
--- lenya/sandbox/pubs/docu/content/authoring/4deb5d50-8731-11dc-ae46-9e7b5d14892d/en.1195221899341.bak (added)
+++ lenya/sandbox/pubs/docu/content/authoring/4deb5d50-8731-11dc-ae46-9e7b5d14892d/en.1195221899341.bak Fri Nov 16 07:11:58 2007
@@ -0,0 +1,133 @@
+<?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: terms.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>Workflow Terms</title>
+
+ <type>Overview document</type>
+
+</header>
+<body>
+
+<section>
+<title>Terms</title>
+
+<dl>
+
+<dt>Workflow Schema</dt>
+<dd>A workflow schema defines a state machine (deterministic finite
+automaton - DFA), consisting of
+ <ul>
+ <li>states, including a marked initial state,</li>
+ <li>transitions, and</li>
+ <li>state variables.</li>
+ </ul>
+</dd>
+
+<dt>Workflow Instance</dt>
+<dd>A workflow instance is an incarnation of a workflow schema.
+It consists of
+<ul>
+ <li>a current state,</li>
+ <li>a mapping which assigns values to all state variables.</li>
+</ul>
+</dd>
+
+<dt>Transition</dt>
+<dd>A transition describes the switching of a workflow instance
+from one state to another. A transition has
+<ul>
+ <li>a source state,</li>
+ <li>a destination state,</li>
+ <li>an event,</li>
+ <li>a set of conditions,</li>
+ <li>a set of assignments.</li>
+</ul>
+Additionally, a transition can be marked as synchronized.
+</dd>
+
+<dt>History</dt>
+<dd>The history of a workflow instance contains a list of all versions
+of the instance. A version contains
+<ul>
+ <li>the state,</li>
+ <li>the event that caused the transition (omitted in the first version),</li>
+ <li>a description of the identity that invoked the event (username and IP address)</li>
+</ul>
+</dd>
+
+<dt>State Variable</dt>
+<dd>A workflow schema can contain a set of state variables.
+For each instance, the state variables hold certain values.
+Values can be assigned during transitions, so a variable can change
+its value when a transition fires. Currently, Lenya supports only
+boolean state variables.
+</dd>
+
+<dt>Condition</dt>
+<dd>
+A condition can prevent a transition from firing, based on
+the current situation.
+Examples:
+<ul>
+ <li>Does the current user have a certain role on the current URL?
+ (<code>RoleCondition</code>, included in Lenya)</li>
+ <li>Does a certain state variable have a certain value
+ (e.g., is the document published)?
+ (<code>BooleanVariableCondition</code>, included in Lenya)</li>
+ <li>Is the sun shining? (e.g., if the weather report may only
+ be published on sunny days)</li>
+</ul>
+</dd>
+
+<dt>Situation</dt>
+<dd>A situation defines the state of the environment
+of a workflow instance. Examples are:
+<ul>
+ <li>the current user ID</li>
+ <li>the roles of the current user on the current URL</li>
+</ul>
+</dd>
+
+<dt>Synchronization</dt>
+<dd>
+<p>A set of workflow instances with the same workflow schema
+can be synchronized. If a transition in this schema is marked as
+synchronized, it can only be invoked on all instances in the
+set at the same time.</p>
+<p>When a workflow event is invoked on a set of synchronized
+workflow instances, the transition is invoked only if</p>
+<ul>
+ <li>all instances are in the source state of the transition, and</li>
+ <li>all conditions of the transition are complied for all
+ instances.</li>
+</ul>
+<p>Then the transition is invoked for all instances in the set.</p>
+<p>A common usecase of this concept is the simultaneous publishing
+of a set of documents (all language versions of a document,
+a section, ...).</p>
+</dd>
+
+</dl>
+
+</section>
+
+</body>
+</document>
Added: lenya/sandbox/pubs/docu/content/authoring/4deb5d50-8731-11dc-ae46-9e7b5d14892d/en.meta.1195221899341.bak
URL: http://svn.apache.org/viewvc/lenya/sandbox/pubs/docu/content/authoring/4deb5d50-8731-11dc-ae46-9e7b5d14892d/en.meta.1195221899341.bak?rev=595691&view=auto
==============================================================================
--- lenya/sandbox/pubs/docu/content/authoring/4deb5d50-8731-11dc-ae46-9e7b5d14892d/en.meta.1195221899341.bak (added)
+++ lenya/sandbox/pubs/docu/content/authoring/4deb5d50-8731-11dc-ae46-9e7b5d14892d/en.meta.1195221899341.bak Fri Nov 16 07:11:58 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>Terms</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/4deb5d50-8731-11dc-ae46-9e7b5d14892d/en.rcml
URL: http://svn.apache.org/viewvc/lenya/sandbox/pubs/docu/content/authoring/4deb5d50-8731-11dc-ae46-9e7b5d14892d/en.rcml?rev=595691&r1=595690&r2=595691&view=diff
==============================================================================
--- lenya/sandbox/pubs/docu/content/authoring/4deb5d50-8731-11dc-ae46-9e7b5d14892d/en.rcml (original)
+++ lenya/sandbox/pubs/docu/content/authoring/4deb5d50-8731-11dc-ae46-9e7b5d14892d/en.rcml Fri Nov 16 07:11:58 2007
@@ -1,5 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<XPSRevisionControl xmlns="">
+<CheckIn backup="true" identity="lenya" session="fde084c0-944b-11dc-8f2e-e6c0ff9903ab" time="1195221899341" version="3"/>
+<CheckOut identity="lenya" session="fde084c0-944b-11dc-8f2e-e6c0ff9903ab" time="1195221889219"/>
<CheckIn backup="true" identity="lenya" session="1f12dc80-8860-11dc-ba66-cfbbb816bd0d" time="1193910801245" version="2"/>
<CheckOut identity="lenya" session="1f12dc80-8860-11dc-ba66-cfbbb816bd0d" time="1193910771328"/>
<CheckIn backup="true" identity="lenya" session="60798970-8730-11dc-ae46-9e7b5d14892d" time="1193781628747" version="1"/>
Added: lenya/sandbox/pubs/docu/content/authoring/4f245280-8731-11dc-ae46-9e7b5d14892d/en.1195221905893.bak
URL: http://svn.apache.org/viewvc/lenya/sandbox/pubs/docu/content/authoring/4f245280-8731-11dc-ae46-9e7b5d14892d/en.1195221905893.bak?rev=595691&view=auto
==============================================================================
--- lenya/sandbox/pubs/docu/content/authoring/4f245280-8731-11dc-ae46-9e7b5d14892d/en.1195221905893.bak (added)
+++ lenya/sandbox/pubs/docu/content/authoring/4f245280-8731-11dc-ae46-9e7b5d14892d/en.1195221905893.bak Fri Nov 16 07:11:58 2007
@@ -0,0 +1,153 @@
+<?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: state-machine.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>The Workflow State Machine</title>
+</header>
+<body>
+
+<section>
+<title>Syntax</title>
+
+<p>A workflow description is called a <strong>workflow schema</strong>. It is a guarded automaton: </p>
+
+<p>
+<strong>W</strong> = (<strong>S</strong>, <strong>T</strong>, <strong>E</strong>, <strong>C</strong>, <strong>A</strong>, <strong>V</strong>, <strong>s0</strong>) </p>
+
+<p>with </p>
+<ul>
+<li>
+<p> <strong>S</strong> is a set of states </p>
+</li>
+<li>
+<p> <strong>E</strong> is a set of events </p>
+</li>
+<li>
+<p> <strong>C</strong> is a set of conditions </p>
+
+</li>
+<li>
+<p> <strong>A</strong> is a set of actions </p>
+</li>
+<li>
+<p> <strong>V</strong> is a set of boolean variables </p>
+</li>
+<li>
+<p> <strong>Ass</strong> is a set of assignments: <strong>Ass</strong> subseteq <strong>V</strong> x {true, false} </p>
+
+</li>
+<li>
+<p> <strong>T</strong> is a set of transitions: <strong>T</strong> subseteq <strong>E</strong> x <strong>S</strong> --> <strong>S</strong> x <strong>CS</strong> x <strong>AS</strong> </p>
+
+<ul>
+<li>
+<p>with </p>
+</li>
+<li>
+<p> <strong>CS</strong> subseteq <strong>C</strong> </p>
+</li>
+<li>
+<p> <strong>AS</strong> = {(A1, ..., An)} for Ai in <strong>A</strong> union <strong>Ass</strong> and n in N0 </p>
+
+</li>
+</ul>
+</li>
+<li>
+<p> <strong>s0</strong> in <strong>S</strong> is the initial state </p>
+</li>
+</ul>
+
+</section>
+<section>
+<title id="head-945e87ed4208e632a5490049df50982140ecc57a">Semantics</title>
+
+<p>A <strong>workflow instance</strong> is defined as follows: </p>
+<p>
+<strong>I</strong> = (<strong>W</strong>, <strong>s</strong>, <strong>i</strong>) </p>
+<p>with </p>
+
+<ul>
+<li>
+<p> a workflow schema <strong>W</strong> = (<strong>S</strong>, <strong>T</strong>, <strong>E</strong>, <strong>C</strong>, <strong>A</strong>, <strong>V</strong>, <strong>s0</strong>) </p>
+
+</li>
+<li>
+<p> a current state <strong>s</strong> in <strong>S</strong> </p>
+</li>
+<li>
+<p> a variable instantiation <strong>i</strong>: <strong>V</strong> --> {true, false} </p>
+
+</li>
+</ul>
+<p>Be <strong>I</strong> = (<strong>W</strong>, <strong>s</strong>, <strong>i</strong>) a workflow instance. The successor of <strong>I</strong> for the event <strong>e</strong> is </p>
+
+<p>(a) the workflow instance <strong>I</strong>' = (<strong>W</strong>, <strong>s</strong>', <strong>i</strong>') with </p>
+<ul>
+<li>
+<p> there is a t in <strong>T</strong> with </p>
+
+<ul>
+<li>
+<p> t = (<strong>e</strong>, <strong>s</strong>, <strong>s</strong>', <strong>cs</strong>, <strong>as</strong>) </p>
+</li>
+<li>
+<p> all c in <strong>cs</strong> are complied </p>
+
+</li>
+</ul>
+</li>
+<li>
+<p> <strong>i</strong>'(v) = b for all v with (v, b) in <strong>as</strong> </p>
+</li>
+<li>
+<p> <strong>i</strong>'(v) = <strong>i</strong>(v) for all other v </p>
+</li>
+
+</ul>
+<p>(b) <strong>I</strong>, if such a t does not exist. </p>
+
+</section>
+<section>
+<title>Invoking a Transition</title>
+<p>
+When an event <em>e</em> is invoked on a workflow instance <em>I</em>, the following
+algorithm is executed:
+</p>
+<ul>
+ <li>The current state <em>s<sub>current</sub>
+</em> is determined.</li>
+ <li>The transition <em>t</em> from <em>s<sub>current</sub>
+</em> to <em>s<sub>next</sub>
+</em>
+ which has the event <em>e</em> is determined.</li>
+ <li>If <em>t</em> is not exactly defined, an exception is thrown.</li>
+ <li>All conditions of <em>t</em> are validated.</li>
+ <li>If all conditions are complied, the transition <em>t</em> fires:
+ <ul>
+ <li>All assignments of <em>t</em> are executed.</li>
+ <li>The workflow instance <em>I</em> is advanced to the state <em>s<sub>next</sub>
+</em>.</li>
+ </ul>
+ </li>
+</ul>
+</section>
+
+</body>
+</document>
Added: lenya/sandbox/pubs/docu/content/authoring/4f245280-8731-11dc-ae46-9e7b5d14892d/en.meta.1195221905893.bak
URL: http://svn.apache.org/viewvc/lenya/sandbox/pubs/docu/content/authoring/4f245280-8731-11dc-ae46-9e7b5d14892d/en.meta.1195221905893.bak?rev=595691&view=auto
==============================================================================
--- lenya/sandbox/pubs/docu/content/authoring/4f245280-8731-11dc-ae46-9e7b5d14892d/en.meta.1195221905893.bak (added)
+++ lenya/sandbox/pubs/docu/content/authoring/4f245280-8731-11dc-ae46-9e7b5d14892d/en.meta.1195221905893.bak Fri Nov 16 07:11:58 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>The State Machine</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/4f245280-8731-11dc-ae46-9e7b5d14892d/en.rcml
URL: http://svn.apache.org/viewvc/lenya/sandbox/pubs/docu/content/authoring/4f245280-8731-11dc-ae46-9e7b5d14892d/en.rcml?rev=595691&r1=595690&r2=595691&view=diff
==============================================================================
--- lenya/sandbox/pubs/docu/content/authoring/4f245280-8731-11dc-ae46-9e7b5d14892d/en.rcml (original)
+++ lenya/sandbox/pubs/docu/content/authoring/4f245280-8731-11dc-ae46-9e7b5d14892d/en.rcml Fri Nov 16 07:11:58 2007
@@ -1,5 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<XPSRevisionControl xmlns="">
+<CheckIn backup="true" identity="lenya" session="fde084c0-944b-11dc-8f2e-e6c0ff9903ab" time="1195221905893" version="3"/>
+<CheckOut identity="lenya" session="fde084c0-944b-11dc-8f2e-e6c0ff9903ab" time="1195221884873"/>
<CheckIn backup="true" identity="lenya" session="1f12dc80-8860-11dc-ba66-cfbbb816bd0d" time="1193910798228" version="2"/>
<CheckOut identity="lenya" session="1f12dc80-8860-11dc-ba66-cfbbb816bd0d" time="1193910769372"/>
<CheckIn backup="true" identity="lenya" session="60798970-8730-11dc-ae46-9e7b5d14892d" time="1193781618859" version="1"/>
Added: lenya/sandbox/pubs/docu/content/authoring/5059c540-8731-11dc-ae46-9e7b5d14892d/en.1195221902475.bak
URL: http://svn.apache.org/viewvc/lenya/sandbox/pubs/docu/content/authoring/5059c540-8731-11dc-ae46-9e7b5d14892d/en.1195221902475.bak?rev=595691&view=auto
==============================================================================
--- lenya/sandbox/pubs/docu/content/authoring/5059c540-8731-11dc-ae46-9e7b5d14892d/en.1195221902475.bak (added)
+++ lenya/sandbox/pubs/docu/content/authoring/5059c540-8731-11dc-ae46-9e7b5d14892d/en.1195221902475.bak Fri Nov 16 07:11:58 2007
@@ -0,0 +1,185 @@
+<?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: configuration.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>Workflow Configuration</title>
+
+ <type>Overview document</type>
+
+</header>
+<body>
+
+<section>
+<title>Workflow Schemas</title>
+<p>The workflow schema definition files of a publication are located at</p>
+<source xml:space="preserve">
+{publication}/config/workflow/
+</source>
+
+<p>
+ A workflow schema definition looks as follows:
+</p>
+
+<source xml:space="preserve"><![CDATA[
+<workflow xmlns="http://apache.org/cocoon/lenya/workflow/1.0"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://apache.org/cocoon/lenya/workflow/1.0
+ ../../../resources/entities/workflow/workflow.xsd">
+
+ <state id="authoring" initial="true"/>
+ <state id="live"/>
+ <state id="trash"/>
+ <state id="archive"/>
+
+ <variable name="is_live" value="false"/>
+
+ <transition source="authoring" destination="authoring">
+ <event id="edit"/>
+ <condition class="org.apache.lenya.cms.workflow.RoleCondition">
+ edit, review, organize
+ </condition>
+ </transition>
+
+ <transition source="authoring" destination="authoring">
+ <event id="deactivate"/>
+ <condition class="org.apache.lenya.workflow.impl.BooleanVariableCondition">
+ is_live = true
+ </condition>
+ <condition class="org.apache.lenya.cms.workflow.RoleCondition">
+ review, organize
+ </condition>
+ <assign variable="is_live" value="false"/>
+ </transition>
+
+ ...
+
+</workflow>
+]]></source>
+
+<p>The workflow namespace URI is</p>
+<source xml:space="preserve">http://apache.org/cocoon/lenya/workflow/1.0</source>
+</section>
+
+<section>
+<title>States</title>
+<p>
+ All states that are used in the workflow schema have to be declared
+ using <code><state></code> elements. The initial state is
+ marked with the <code>initial="true"</code> attribute.
+</p>
+</section>
+
+<section>
+<title>Variables</title>
+<p>
+ All used variables have to be declared using <code><variable></code>
+ elements. The initial value of the variable is assigned using the
+ <code>value</code> attribute.
+</p>
+</section>
+
+<section>
+<title>Transitions</title>
+<p>
+ A transition is declared using the <code><transition></code> element.
+ The required attributes <code>source</code> and <code>destination</code>
+ denote the states that are connected by this transition.
+</p>
+<p>
+ The transition element must contain one <code><event></code> element
+ with an <code>id</code> attribute. Furthermore, it can contain an
+ arbitrary number of <code><condition></code> and <code><assign></code>
+ elements.
+</p>
+<p>
+ A transition element can have a <code>synchronized="true"</code> attribute.
+ In this case, if the transition is triggered using a
+ <em>SynchronizedWorkflowInstance</em>, it is invoked on all instances.
+</p>
+</section>
+
+<section>
+<title>Variable Assignments</title>
+<p>A variable assignment has the form</p>
+<source xml:space="preserve"><![CDATA[<assign variable="..." value="..."/>]]></source>
+<p>
+ The variable must have been declared in this workflow schema.
+ Because only boolean variables are supported, <code>value</code> must
+ be either <code>true</code> or <code>false</code>.
+</p>
+</section>
+
+<section>
+<title>Conditions</title>
+<p>A condition has the form</p>
+<source xml:space="preserve"><![CDATA[<condition class="...">...</condition>]]></source>
+
+<p>The <code>class</code> attribute contains the complete name
+(including the package) of the condition class. You can use the
+condition classes that ship with Lenya (see below) or implement your
+own conditions. All condition classes must implement the
+<code>org.apache.lenya.workflow.Condition</code> interface.
+The text inside the element is the expression that should
+be evaluated. It is passed as an argument to the <code>setExpression()</code>
+method.
+</p>
+
+<section>
+<title>BooleanVariableCondition</title>
+<p>The <em>org.apache.lenya.workflow.impl.BooleanVariableCondition</em> requires
+an expression of the form</p>
+<source xml:space="preserve">{variable-name} = {value}</source>
+<p>
+<code>{variable-name}</code> is the name of a variable that
+was declared in the workflow schema. <code>{value}</code> is either
+<code>true</code> or <code>false</code>.</p>
+</section>
+
+<section>
+<title>RoleCondition</title>
+<p>The <em>org.apache.lenya.cms.workflow.RoleCondition</em> requires a
+comma-separated list of role IDs:
+</p>
+<source xml:space="preserve">{role-id-1}, {role-id-2}, ...</source>
+<p>
+ The condition is complied when the current identity has one
+ of these roles on the requested URL.
+</p>
+</section>
+
+</section>
+
+<section>
+<title>Assigning Workflow Schemas to Document Types</title>
+<p>A workflow schema can be assigned to a document type in</p>
+<source xml:space="preserve">
+{publication}/config/doctypes/doctypes.xconf
+</source>
+<source xml:space="preserve"><![CDATA[<doctypes>
+ <doc type="content-page">
+ ...
+ <workflow src="workflow.xml"/>
+ </doc>
+ ...
+</doctypes>]]></source>
+</section>
+
+</body>
+</document>
Added: lenya/sandbox/pubs/docu/content/authoring/5059c540-8731-11dc-ae46-9e7b5d14892d/en.meta.1195221902475.bak
URL: http://svn.apache.org/viewvc/lenya/sandbox/pubs/docu/content/authoring/5059c540-8731-11dc-ae46-9e7b5d14892d/en.meta.1195221902475.bak?rev=595691&view=auto
==============================================================================
--- lenya/sandbox/pubs/docu/content/authoring/5059c540-8731-11dc-ae46-9e7b5d14892d/en.meta.1195221902475.bak (added)
+++ lenya/sandbox/pubs/docu/content/authoring/5059c540-8731-11dc-ae46-9e7b5d14892d/en.meta.1195221902475.bak Fri Nov 16 07:11:58 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>Configuration</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/5059c540-8731-11dc-ae46-9e7b5d14892d/en.rcml
URL: http://svn.apache.org/viewvc/lenya/sandbox/pubs/docu/content/authoring/5059c540-8731-11dc-ae46-9e7b5d14892d/en.rcml?rev=595691&r1=595690&r2=595691&view=diff
==============================================================================
--- lenya/sandbox/pubs/docu/content/authoring/5059c540-8731-11dc-ae46-9e7b5d14892d/en.rcml (original)
+++ lenya/sandbox/pubs/docu/content/authoring/5059c540-8731-11dc-ae46-9e7b5d14892d/en.rcml Fri Nov 16 07:11:58 2007
@@ -1,5 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<XPSRevisionControl xmlns="">
+<CheckIn backup="true" identity="lenya" session="fde084c0-944b-11dc-8f2e-e6c0ff9903ab" time="1195221902475" version="3"/>
+<CheckOut identity="lenya" session="fde084c0-944b-11dc-8f2e-e6c0ff9903ab" time="1195221881374"/>
<CheckIn backup="true" identity="lenya" session="1f12dc80-8860-11dc-ba66-cfbbb816bd0d" time="1193910784483" version="2"/>
<CheckOut identity="lenya" session="1f12dc80-8860-11dc-ba66-cfbbb816bd0d" time="1193910769356"/>
<CheckIn backup="true" identity="lenya" session="60798970-8730-11dc-ae46-9e7b5d14892d" time="1193781628088" version="1"/>
Added: lenya/sandbox/pubs/docu/content/authoring/52732f60-8731-11dc-ae46-9e7b5d14892d/en.1195221905975.bak
URL: http://svn.apache.org/viewvc/lenya/sandbox/pubs/docu/content/authoring/52732f60-8731-11dc-ae46-9e7b5d14892d/en.1195221905975.bak?rev=595691&view=auto
==============================================================================
--- lenya/sandbox/pubs/docu/content/authoring/52732f60-8731-11dc-ae46-9e7b5d14892d/en.1195221905975.bak (added)
+++ lenya/sandbox/pubs/docu/content/authoring/52732f60-8731-11dc-ae46-9e7b5d14892d/en.1195221905975.bak Fri Nov 16 07:11:58 2007
@@ -0,0 +1,85 @@
+<?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: implementation.xml 43104 2004-07-01 23:59:25Z thorsten $ --><!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V2.0//EN" "http://forrest.apache.org/dtd/document-v20.dtd">
+
+<document>
+
+<header>
+ <title>Workflow Implementation</title>
+</header>
+<body>
+
+<section>
+<title>Important Classes</title>
+
+<p>
+<em>org.apache.lenya.workflow</em> The actual workflow API. It defines the workflow model. </p>
+<ul>
+<li>
+<strong>Workflow</strong> - A workflow object describes a workflow schema.</li>
+<li>
+<strong>WorkflowInstance</strong> - A workflow instance.</li>
+<li> <strong>Situation</strong> - The environment of the workflow before the invocation of an event.</li>
+</ul>
+<p>
+<em>org.apache.lenya.workflow.impl</em> A basic abstract implementation of the API. </p>
+<ul>
+<li> <strong>WorkflowInstanceImpl</strong> - Basic implementation of a workflow instance. </li>
+<li> <strong>History</strong> - The history of a workflow instance. Use a history object to restore</li>
+</ul>
+<p>the state of a workflow instance. </p>
+<p>
+<em>org.apache.lenya.cms.workflow</em> Some CMS-specific workflow implementation classes. </p>
+<ul>
+<li> <strong>WorkflowFactory</strong> - A factory to build all workflow-related objects. </li>
+<li> <strong>WorkflowDocument</strong> - A workflow instance wrapper for a CMS document. </li>
+<li> <strong>CMSHistory</strong> - CMS-specific workflow instance history. </li>
+<li> <strong>CMSSituation</strong> - CMS-specific environment situation. </li>
+</ul>
+
+</section>
+<section>
+<title id="head-2d1540f5c092fb4a2a534c9f988b419503a58bfc">Obtaining Workflow Instance and Situation Objects</title>
+
+<p>Use the <em>WorkflowFactory</em> to obtain workflow-related objects: </p>
+
+<source xml:space="preserve">
+Document document = new DefaultDocument(
+ publication, pageEnvelope.getDocumentId());
+
+WorkflowFactory factory = WorkflowFactory.newInstance();
+
+if (factory.hasWorkflow(document)) {
+
+ WorkflowInstance instance;
+ Situation situation;
+
+ try {
+ instance = factory.buildInstance(document);
+ situation = factory.buildSituation(objectModel);
+ }
+ catch (WorkflowException e) {
+ ...
+ }
+
+ ...
+}
+</source>
+</section>
+
+</body>
+</document>
Added: lenya/sandbox/pubs/docu/content/authoring/52732f60-8731-11dc-ae46-9e7b5d14892d/en.meta.1195221905975.bak
URL: http://svn.apache.org/viewvc/lenya/sandbox/pubs/docu/content/authoring/52732f60-8731-11dc-ae46-9e7b5d14892d/en.meta.1195221905975.bak?rev=595691&view=auto
==============================================================================
--- lenya/sandbox/pubs/docu/content/authoring/52732f60-8731-11dc-ae46-9e7b5d14892d/en.meta.1195221905975.bak (added)
+++ lenya/sandbox/pubs/docu/content/authoring/52732f60-8731-11dc-ae46-9e7b5d14892d/en.meta.1195221905975.bak Fri Nov 16 07:11:58 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>Implementation</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/52732f60-8731-11dc-ae46-9e7b5d14892d/en.rcml
URL: http://svn.apache.org/viewvc/lenya/sandbox/pubs/docu/content/authoring/52732f60-8731-11dc-ae46-9e7b5d14892d/en.rcml?rev=595691&r1=595690&r2=595691&view=diff
==============================================================================
--- lenya/sandbox/pubs/docu/content/authoring/52732f60-8731-11dc-ae46-9e7b5d14892d/en.rcml (original)
+++ lenya/sandbox/pubs/docu/content/authoring/52732f60-8731-11dc-ae46-9e7b5d14892d/en.rcml Fri Nov 16 07:11:58 2007
@@ -1,5 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<XPSRevisionControl xmlns="">
+<CheckIn backup="true" identity="lenya" session="fde084c0-944b-11dc-8f2e-e6c0ff9903ab" time="1195221905975" version="3"/>
+<CheckOut identity="lenya" session="fde084c0-944b-11dc-8f2e-e6c0ff9903ab" time="1195221884933"/>
<CheckIn backup="true" identity="lenya" session="1f12dc80-8860-11dc-ba66-cfbbb816bd0d" time="1193910778202" version="2"/>
<CheckOut identity="lenya" session="1f12dc80-8860-11dc-ba66-cfbbb816bd0d" time="1193910764142"/>
<CheckIn backup="true" identity="lenya" session="60798970-8730-11dc-ae46-9e7b5d14892d" time="1193781622786" version="1"/>
Added: lenya/sandbox/pubs/docu/content/authoring/53c26bb0-8731-11dc-ae46-9e7b5d14892d/en.1195221911558.bak
URL: http://svn.apache.org/viewvc/lenya/sandbox/pubs/docu/content/authoring/53c26bb0-8731-11dc-ae46-9e7b5d14892d/en.1195221911558.bak?rev=595691&view=auto
==============================================================================
--- lenya/sandbox/pubs/docu/content/authoring/53c26bb0-8731-11dc-ae46-9e7b5d14892d/en.1195221911558.bak (added)
+++ lenya/sandbox/pubs/docu/content/authoring/53c26bb0-8731-11dc-ae46-9e7b5d14892d/en.1195221911558.bak Fri Nov 16 07:11:58 2007
@@ -0,0 +1,116 @@
+<?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: archive.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>Archive</title>
+
+
+
+ </header>
+
+ <body>
+
+ <section>
+ <title>Introduction</title>
+ <p>The archive operation corresponds to a move operation from the authoring area to the archive</p>
+ </section>
+
+ <section>
+ <title>Implementation</title>
+ <p>Similar to the operation <a href="move.html">move</a>
+</p>
+ </section>
+
+ <section>
+ <title>Parameters</title>
+ <p>Required parameters:</p>
+ <ul>
+ <li>the area for the source document</li>
+ <li>the document id for the source document</li>
+ <li>the task id</li>
+ </ul>
+ </section>
+
+ <section>
+ <title>usecase</title>
+ <section>
+ <title>Archive screen</title>
+ <p>URL :</p>
+ <source xml:space="preserve"><![CDATA[{document-URL}?lenya.usecase=archive&lenya.step=showscreen]]></source>
+ <p>usecase sitemap:</p>
+ <source xml:space="preserve"><![CDATA[
+ <map:match pattern="archive" type="usecase">
+ <map:match pattern="showscreen" type="step">
+ <map:generate src="content/info/archive.xsp" type="serverpages"/>
+ <map:transform src="xslt/info/archive.xsl">
+ <map:parameter name="use-request-parameters" value="true"/>
+ </map:transform>
+ <map:call resource="style-cms-page"/>
+ </map:match>
+ </map:match>
+ ]]></source>
+ <p>The parameters for the source are get with the serverpage through the page envelope input module.
+ The area for the destination is set to archive in the stylesheet.
+ A form (build with the xslt transformation) sends then the parameters as request parameters with the new URL.</p>
+ </section>
+ <section>
+ <title>Archive confirmation</title>
+ <p>URL :</p>
+ <source xml:space="preserve"><![CDATA[{document-URL}?lenya.usecase=archive&lenya.step=step&...{source parameters}]]></source>
+ <p>usecase sitemap:</p>
+ <source xml:space="preserve"><![CDATA[
+ <map:match pattern="archive" type="usecase">
+ <map:match pattern="archive" type="step">
+ <map:act type="task">
+ <map:redirect-to session="true" uri="{request-param:parenturl}"/>
+ </map:act>
+ </map:match>
+ </map:match>
+ ]]></source>
+ <p>The action org.apache.lenya.cms.cocoon.acting.TaskAction calls the execution of the ant task.</p>
+ </section>
+ </section>
+
+ <section>
+ <title>Ant Task </title>
+ <p>The ant target <code>archiveDocument</code> is in the publication :</p>
+ <source xml:space="preserve">{publication}/config/tasks/targets.xml</source>
+ <p>and depends on the different targets </p>
+ <ul>
+ <li>
+<code>firstareaproperties</code>, to set the needed properties dependent of the source area</li>
+ <li>
+<code>secareaproperties</code>, to set the needed properties dependent of the destination area</li>
+ <li>
+<code>newarchivedocumentid</code>, to compute the unique destination id from the source document id</li>
+ <li>
+<code>firstdocumentpath</code>, to compute the directory of the source contents (Needed for the revisions and the rcml files)</li>
+ <li>
+<code>secdocumentpath</code>, to compute the directory where are the destination contents (Needed for the revisions and the rcml files)</li>
+ <li>
+<code>setIdentifier</code>, to save the source document id (in the dc:identifier). Necessary to be able to restore later the document</li>
+ <li>
+<code>move</code>, to execute the different move operations</li>
+ </ul>
+ <p>More about ant task, see the documentation <a href="../tasks/anttask.html">Ant Task</a> and the <a href="../../apidocs/1.2/index.html">Javadoc</a>
+</p>
+ </section>
+
+ </body>
+</document>
Added: lenya/sandbox/pubs/docu/content/authoring/53c26bb0-8731-11dc-ae46-9e7b5d14892d/en.meta.1195221911558.bak
URL: http://svn.apache.org/viewvc/lenya/sandbox/pubs/docu/content/authoring/53c26bb0-8731-11dc-ae46-9e7b5d14892d/en.meta.1195221911558.bak?rev=595691&view=auto
==============================================================================
--- lenya/sandbox/pubs/docu/content/authoring/53c26bb0-8731-11dc-ae46-9e7b5d14892d/en.meta.1195221911558.bak (added)
+++ lenya/sandbox/pubs/docu/content/authoring/53c26bb0-8731-11dc-ae46-9e7b5d14892d/en.meta.1195221911558.bak Fri Nov 16 07:11:58 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>Archive</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/53c26bb0-8731-11dc-ae46-9e7b5d14892d/en.rcml
URL: http://svn.apache.org/viewvc/lenya/sandbox/pubs/docu/content/authoring/53c26bb0-8731-11dc-ae46-9e7b5d14892d/en.rcml?rev=595691&r1=595690&r2=595691&view=diff
==============================================================================
--- lenya/sandbox/pubs/docu/content/authoring/53c26bb0-8731-11dc-ae46-9e7b5d14892d/en.rcml (original)
+++ lenya/sandbox/pubs/docu/content/authoring/53c26bb0-8731-11dc-ae46-9e7b5d14892d/en.rcml Fri Nov 16 07:11:58 2007
@@ -1,5 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<XPSRevisionControl xmlns="">
+<CheckIn backup="true" identity="lenya" session="fde084c0-944b-11dc-8f2e-e6c0ff9903ab" time="1195221911558" version="3"/>
+<CheckOut identity="lenya" session="fde084c0-944b-11dc-8f2e-e6c0ff9903ab" time="1195221891293"/>
<CheckIn backup="true" identity="lenya" session="1f12dc80-8860-11dc-ba66-cfbbb816bd0d" time="1193910798605" version="2"/>
<CheckOut identity="lenya" session="1f12dc80-8860-11dc-ba66-cfbbb816bd0d" time="1193910769627"/>
<CheckIn backup="true" identity="lenya" session="60798970-8730-11dc-ae46-9e7b5d14892d" time="1193781623225" version="1"/>
Added: lenya/sandbox/pubs/docu/content/authoring/54f59480-8731-11dc-ae46-9e7b5d14892d/en.1195221894827.bak
URL: http://svn.apache.org/viewvc/lenya/sandbox/pubs/docu/content/authoring/54f59480-8731-11dc-ae46-9e7b5d14892d/en.1195221894827.bak?rev=595691&view=auto
==============================================================================
--- lenya/sandbox/pubs/docu/content/authoring/54f59480-8731-11dc-ae46-9e7b5d14892d/en.1195221894827.bak (added)
+++ lenya/sandbox/pubs/docu/content/authoring/54f59480-8731-11dc-ae46-9e7b5d14892d/en.1195221894827.bak Fri Nov 16 07:11:58 2007
@@ -0,0 +1,168 @@
+<?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: copy.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>Copy</title>
+
+
+
+ </header>
+
+ <body>
+
+ <section>
+ <title>Introduction</title>
+ <p>The copy operation is performed on the subtree corresponding to a given document id and a given area.</p>
+ <p>We have to :</p>
+ <ul>
+ <li>compute a new id (to not overwrite an already existing file)</li>
+ <li>copy the contents (xml file)</li>
+ <li>copy the resources</li>
+ <li>instantiate the workflow for the new documents</li>
+ <li>insert a node (with the subtree) in the site tree</li>
+ </ul>
+ </section>
+
+ <section>
+ <title>Implementation</title>
+ <p>It is implemented in a sequence of usecases to get all needed parameters, and use the task concept to execute some ant task</p>
+ <p>To perform the different operations on the desired subtree, we used the visitor pattern</p>
+ </section>
+
+ <section>
+ <title>Parameters</title>
+ <p>The parameters are string-value parameters</p>
+ <p>Required parameters:</p>
+ <ul>
+ <li>the area for the source document</li>
+ <li>the document id for the source document</li>
+ <li>the area for the destination document</li>
+ <li>the document id for the destination document</li>
+ <li>the user id</li>
+ <li>the ip adress</li>
+ <li>the task id</li>
+ </ul>
+ </section>
+
+ <section>
+ <title>usecase</title>
+ <p>They are implemented in the usecase sitmap (core)</p>
+ <section>
+ <title>Copy screen</title>
+ <p>URL :</p>
+ <source xml:space="preserve"><![CDATA[{document-URL}?lenya.usecase=copy&lenya.step=showscreen]]></source>
+ <p>usecase sitemap:</p>
+ <source xml:space="preserve"><![CDATA[
+ <map:match pattern="copy" type="usecase">
+ <map:match pattern="showscreen" type="step">
+ <map:generate src="content/info/copy.xsp" type="serverpages"/>
+ <map:transform src="xslt/info/copy.xsl"/>
+ <map:call resource="style-cms-page"/>
+ </map:match>
+ </map:match>
+ ]]></source>
+ <p>The parameters for the source are get with the serverpage through the page envelope input module.
+ A form (build with the xslt transformation) sends then the parameters as request parameters with the new URL.</p>
+ </section>
+ <section>
+ <title>Copy confirmation</title>
+ <p>URL :</p>
+ <source xml:space="preserve"><![CDATA[{document-URL}?lenya.usecase=copy&lenya.step=step&...{source parameters}]]></source>
+ <p>usecase sitemap:</p>
+ <source xml:space="preserve"><![CDATA[
+ <map:match pattern="copy" type="usecase">
+ <map:match pattern="copy" type="step">
+ <map:act type="session-propagator">
+ <map:parameter name="org.apache.lenya.cms.info.cutdocumentid" value=""/>
+ <map:parameter name="org.apache.lenya.cms.info.firstdocid" value="{request-param:documentid}"/>
+ <map:parameter name="org.apache.lenya.cms.info.firstarea" value="{request-param:area}"/>
+ <map:parameter name="org.apache.lenya.cms.info.action" value="{request-param:action}"/>
+ </map:act>
+ <map:redirect-to session="true" uri="{request:requestURI}"/>
+ </map:match>
+ </map:match>
+ ]]></source>
+ <p>The source parameters are saved in the session with the org.apache.cocoon.acting.SessionPropagatorAction</p>
+ <note>Rem</note>
+<p>The session parameter org.apache.lenya.cms.info.cutdocumentid is needed by the move function. It must be reset to "" else</p>
+ </section>
+ <section>
+ <title>Paste screen</title>
+ <p>URL :</p>
+ <source xml:space="preserve"><![CDATA[{document-URL}?lenya.usecase=paste&lenya.step=showscreen]]></source>
+ <p>usecase sitemap (Core):</p>
+ <source xml:space="preserve"><![CDATA[
+ <map:match pattern="paste" type="usecase">
+ <map:match pattern="showscreen" type="step">
+ <map:generate src="content/info/paste.xsp" type="serverpages"/>
+ <map:transform src="xslt/info/paste.xsl"/>
+ <map:call resource="style-cms-page"/>
+ </map:match>
+ </map:match>
+ ]]></source>
+ <p>The parameters for the destination are get with the serverpage through the page envelope input module.
+ Parameters needed by the access controller are also get with this serverpage through the access control input module.
+ The parameters for the source are get from the session with the serverpage .
+ A form (build with the xslt transformation) sends then the parameters as request parameters with the new URL.</p>
+ </section>
+ <section>
+ <title>Paste confirmation</title>
+ <p>URL :</p>
+ <source xml:space="preserve"><![CDATA[{document-URL}?lenya.usecase=paste&lenya.step=paste&...{parameters}]]></source>
+ <p>usecase sitemap (Core):</p>
+ <source xml:space="preserve"><![CDATA[
+ <map:match pattern="paste" type="usecase">
+ <map:match pattern="paste" type="step">
+ <map:select type="request-parameter">
+ <map:parameter name="parameter-name" value="task-id"/>
+ <map:when test="moveDocument">
+ <map:act type="session-propagator">
+ <map:parameter name="org.apache.lenya.cms.info.firstdocid" value=""/>
+ <map:parameter name="org.apache.lenya.cms.info.cutdocumentid" value=""/>
+ </map:act>
+ </map:when>
+ <map:otherwise>
+ <map:act type="session-propagator">
+ <map:parameter name="org.apache.lenya.cms.info.cutdocumentid" value=""/>
+ </map:act>
+ </map:otherwise>
+ </map:select>
+ <map:act type="task">
+ <map:redirect-to session="true" uri="{request:requestURI}"/>
+ </map:act>
+ </map:match>
+ </map:match>
+ ]]></source>
+ <p>The paste step is also used by the move operation. In this case the parameter org.apache.lenya.cms.info.cutdocumentid must be set to the value of the document id (see <a href="move.html">Move</a>).
+ In case of the copy function the value of org.apache.lenya.cms.info.cutdocumentid in the session must be "".
+ The action org.apache.lenya.cms.cocoon.acting.TaskAction calls the execution of the ant task.</p>
+ </section>
+ </section>
+
+ <section>
+ <title>Ant Task </title>
+ <p>The ant target is in the publication :</p>
+ <source xml:space="preserve">{publication}/config/tasks/targets.xml</source>
+ <p>The target for copying a document depends on the target newdocumentid, to be sure, that the document id for the destination is unique</p>
+ <p>More about ant task, see the documentation <a href="../tasks/anttask.html">Ant Task</a> and the <a href="../../apidocs/1.2/index.html">Javadoc</a>
+</p>
+ </section>
+
+ </body>
+</document>
Added: lenya/sandbox/pubs/docu/content/authoring/54f59480-8731-11dc-ae46-9e7b5d14892d/en.meta.1195221894827.bak
URL: http://svn.apache.org/viewvc/lenya/sandbox/pubs/docu/content/authoring/54f59480-8731-11dc-ae46-9e7b5d14892d/en.meta.1195221894827.bak?rev=595691&view=auto
==============================================================================
--- lenya/sandbox/pubs/docu/content/authoring/54f59480-8731-11dc-ae46-9e7b5d14892d/en.meta.1195221894827.bak (added)
+++ lenya/sandbox/pubs/docu/content/authoring/54f59480-8731-11dc-ae46-9e7b5d14892d/en.meta.1195221894827.bak Fri Nov 16 07:11:58 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>Copy</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/54f59480-8731-11dc-ae46-9e7b5d14892d/en.rcml
URL: http://svn.apache.org/viewvc/lenya/sandbox/pubs/docu/content/authoring/54f59480-8731-11dc-ae46-9e7b5d14892d/en.rcml?rev=595691&r1=595690&r2=595691&view=diff
==============================================================================
--- lenya/sandbox/pubs/docu/content/authoring/54f59480-8731-11dc-ae46-9e7b5d14892d/en.rcml (original)
+++ lenya/sandbox/pubs/docu/content/authoring/54f59480-8731-11dc-ae46-9e7b5d14892d/en.rcml Fri Nov 16 07:11:58 2007
@@ -1,5 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<XPSRevisionControl xmlns="">
+<CheckIn backup="true" identity="lenya" session="fde084c0-944b-11dc-8f2e-e6c0ff9903ab" time="1195221894827" version="3"/>
+<CheckOut identity="lenya" session="fde084c0-944b-11dc-8f2e-e6c0ff9903ab" time="1195221881180"/>
<CheckIn backup="true" identity="lenya" session="1f12dc80-8860-11dc-ba66-cfbbb816bd0d" time="1193910786762" version="2"/>
<CheckOut identity="lenya" session="1f12dc80-8860-11dc-ba66-cfbbb816bd0d" time="1193910770938"/>
<CheckIn backup="true" identity="lenya" session="60798970-8730-11dc-ae46-9e7b5d14892d" time="1193781620036" version="1"/>
Added: lenya/sandbox/pubs/docu/content/authoring/5631be00-8731-11dc-ae46-9e7b5d14892d/en.1195221901350.bak
URL: http://svn.apache.org/viewvc/lenya/sandbox/pubs/docu/content/authoring/5631be00-8731-11dc-ae46-9e7b5d14892d/en.1195221901350.bak?rev=595691&view=auto
==============================================================================
--- lenya/sandbox/pubs/docu/content/authoring/5631be00-8731-11dc-ae46-9e7b5d14892d/en.1195221901350.bak (added)
+++ lenya/sandbox/pubs/docu/content/authoring/5631be00-8731-11dc-ae46-9e7b5d14892d/en.1195221901350.bak Fri Nov 16 07:11:58 2007
@@ -0,0 +1,110 @@
+<?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: deactivate.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>Deactivate a document</title>
+
+
+
+ </header>
+
+ <body>
+
+ <section>
+ <title>Introduction</title>
+ <p>We have to :</p>
+ <ul>
+ <li>look if there are some live children, if no other language version is live</li>
+ <li>delete the live contents (xml file) for the given document id and the given language</li>
+ <li>delete the live resources for the given document id only if no other language version is live</li>
+ <li>delete the language from the node corresponding to given the document id or
+ all the node, if no other language version is live.</li>
+ </ul>
+ </section>
+
+ <section>
+ <title>Implementation</title>
+ <p>It is implemented in a sequence of usecases to get all needed parameters, and uses the task concept to execute some ant task</p>
+ </section>
+
+ <section>
+ <title>Parameters</title>
+ <p>The parameters are string-value parameters</p>
+ <p>Required parameters:</p>
+ <ul>
+ <li>the document id</li>
+ <li>the language</li>
+ <li>the task id</li>
+ </ul>
+ </section>
+
+ <section>
+ <title>usecase</title>
+ <p>They are implemented in the usecase sitmap (core)</p>
+ <section>
+ <title>Deactivate screen</title>
+ <p>URL :</p>
+ <source xml:space="preserve"><![CDATA[{document-URL}?lenya.usecase=deactivate&lenya.step=showscreen]]></source>
+ <p>usecase sitemap:</p>
+ <source xml:space="preserve"><![CDATA[
+ <map:match pattern="deactivate" type="usecase">
+ <map:match pattern="showscreen" type="step">
+ <map:generate src="content/info/deactivate.xsp" type="serverpages"/>
+ <map:transform src="xslt/info/deactivate.xsl">
+ <map:parameter name="use-request-parameters" value="true"/>
+ </map:transform>
+ <map:transform src="cocoon:/notification/{../../1}/deactivate.xsl"/>
+ <map:transform src="cocoon://scheduler/{../../1}/{../../2}/{../../3}.xsl"/>
+ <map:call resource="style-cms-page"/>
+ </map:match>
+ </map:match>
+ ]]></source>
+ <p>
+ In the serverpage, we get the required parameters and if no other language version is live, we look for the live children.
+ The stylesheet <code>xslt/info/deactivate.xsl</code> builds a form, if the requirement are achieved, else shows a message.</p>
+ </section>
+ <section>
+ <title>Deactivate confirmation</title>
+ <p>URL :</p>
+ <source xml:space="preserve"><![CDATA[{document-URL}?lenya.usecase=deactivate&lenya.step=deactivate&...{source parameters}]]></source>
+ <p>usecase sitemap:</p>
+ <source xml:space="preserve"><![CDATA[
+ <map:match pattern="deactivate" type="usecase">
+ <map:match pattern="deactivate" type="step">
+ <map:act type="task">
+ <map:redirect-to session="true" uri="{request:requestURI}"/>
+ </map:act>
+ </map:match>
+ </map:match>
+ ]]></source>
+ <p>The action org.apache.lenya.cms.cocoon.acting.TaskAction calls the execution of the ant task.</p>
+ </section>
+ </section>
+
+ <section>
+ <title>Ant Task </title>
+ <p>The ant target <code>deactivateDocument</code>is in the publication :</p>
+ <source xml:space="preserve">{publication}/config/tasks/targets.xml</source>
+ <p>and depends on the target <code>livedocumentpath</code>, to compute the live directory of the contents</p>
+ <p>More about ant task, see the documentation <a href="../tasks/anttask.html">Ant Task</a> and the <a href="../../apidocs/1.2/index.html">Javadoc</a>
+</p>
+ </section>
+
+ </body>
+</document>
Added: lenya/sandbox/pubs/docu/content/authoring/5631be00-8731-11dc-ae46-9e7b5d14892d/en.meta.1195221901350.bak
URL: http://svn.apache.org/viewvc/lenya/sandbox/pubs/docu/content/authoring/5631be00-8731-11dc-ae46-9e7b5d14892d/en.meta.1195221901350.bak?rev=595691&view=auto
==============================================================================
--- lenya/sandbox/pubs/docu/content/authoring/5631be00-8731-11dc-ae46-9e7b5d14892d/en.meta.1195221901350.bak (added)
+++ lenya/sandbox/pubs/docu/content/authoring/5631be00-8731-11dc-ae46-9e7b5d14892d/en.meta.1195221901350.bak Fri Nov 16 07:11:58 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>Deactivate</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/5631be00-8731-11dc-ae46-9e7b5d14892d/en.rcml
URL: http://svn.apache.org/viewvc/lenya/sandbox/pubs/docu/content/authoring/5631be00-8731-11dc-ae46-9e7b5d14892d/en.rcml?rev=595691&r1=595690&r2=595691&view=diff
==============================================================================
--- lenya/sandbox/pubs/docu/content/authoring/5631be00-8731-11dc-ae46-9e7b5d14892d/en.rcml (original)
+++ lenya/sandbox/pubs/docu/content/authoring/5631be00-8731-11dc-ae46-9e7b5d14892d/en.rcml Fri Nov 16 07:11:58 2007
@@ -1,5 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<XPSRevisionControl xmlns="">
+<CheckIn backup="true" identity="lenya" session="fde084c0-944b-11dc-8f2e-e6c0ff9903ab" time="1195221901350" version="3"/>
+<CheckOut identity="lenya" session="fde084c0-944b-11dc-8f2e-e6c0ff9903ab" time="1195221891379"/>
<CheckIn backup="true" identity="lenya" session="1f12dc80-8860-11dc-ba66-cfbbb816bd0d" time="1193910799259" version="2"/>
<CheckOut identity="lenya" session="1f12dc80-8860-11dc-ba66-cfbbb816bd0d" time="1193910770110"/>
<CheckIn backup="true" identity="lenya" session="60798970-8730-11dc-ae46-9e7b5d14892d" time="1193781624557" version="1"/>
lmpx.com only provides a reader for public news (NNTP) servers. It is not
affiliated with the servers or forums shown here and is not responsible for
the content of articles, which is written by their respective authors.