Added: lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/config/menus/generic.xsp
URL: http://svn.apache.org/viewvc/lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/config/menus/generic.xsp?rev=577177&view=auto
==============================================================================
--- lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/config/menus/generic.xsp (added)
+++ lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/config/menus/generic.xsp Wed Sep 19 00:09:42 2007
@@ -0,0 +1,295 @@
+<?xml version="1.0"?>
+<!--
+ 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: generic.xsp 366455 2006-01-06 08:45:43Z jann $ -->
+
+<xsp:page
+ language="java"
+ xmlns:xsp="http://apache.org/xsp"
+ xmlns:xsp-request="http://apache.org/xsp/request/2.0"
+ xmlns:input="http://apache.org/cocoon/xsp/input/1.0"
+ xmlns:i18n="http://apache.org/cocoon/i18n/2.1"
+ xmlns:wf="http://apache.org/cocoon/lenya/workflow/1.0"
+ xmlns:uc="http://apache.org/cocoon/lenya/usecase/1.0"
+ xmlns="http://apache.org/cocoon/lenya/menubar/1.0"
+>
+
+ <xsp:structure>
+ <xsp:include>org.apache.lenya.cms.publication.Document</xsp:include>
+ <xsp:include>org.apache.lenya.cms.publication.Publication</xsp:include>
+ </xsp:structure>
+
+ <menu>
+
+ <xsp:logic>
+ String projectid = parameters.getParameter("projectid","null");
+
+ String xmlSource = <input:get-attribute module="page-envelope" as="string" name="document-path"/>;
+ String documentId = <input:get-attribute module="page-envelope" as="string" name="context-prefix"/> + "/" + <input:get-attribute module="page-envelope" as="string" name="publication-id"/> + "/authoring" + <input:get-attribute module="page-envelope" as="string" name="document-id"/> + "_" + <input:get-attribute module="page-envelope" as="string" name="document-language"/>;
+ String urisParameter = "uris=" + <input:get-attribute module="page-envelope" as="string" name="context-prefix"/> + "/" + <input:get-attribute module="page-envelope" as="string" name="publication-id"/> + "/live" + <input:get-attribute module="page-envelope" as="string" name="document-url"/>;
+ String area = <input:get-attribute module="page-envelope" as="string" name="area"/>;
+
+ String docType = "";
+ try {
+ Document document = (Document) <input:get-attribute as="object" module="page-envelope" name="document"/>;
+ if (document.exists()) {
+ docType = <input:get-attribute as="string" module="page-envelope" name="document-type"/>;
+ }
+ }
+ catch (Exception e) {
+ throw new ProcessingException(e);
+ }
+
+ boolean isDocument = false;
+ {
+ Object document = <input:get-attribute module="page-envelope" as="object" name="document"/>;
+ try {
+ if (document != "" && ((Document) document).exists()) {
+ isDocument = true;
+ }
+ }
+ catch (Exception e) {
+ throw new ProcessingException(e);
+ }
+ }
+ </xsp:logic>
+
+ <menus>
+ <menu i18n:attr="name" name="File" label="File">
+ <block>
+
+ <xsp:logic>
+ {
+ if (Publication.ARCHIVE_AREA.equals(area) || Publication.TRASH_AREA.equals(area)) {
+ <item><i18n:text>New Document</i18n:text></item>
+ }
+ else {
+ <item uc:usecase="create" uc:step="showscreen" href="?doctype=xhtml"><i18n:text>New Document</i18n:text></item>
+ }
+ }
+ </xsp:logic>
+ </block>
+ <block>
+ <xsp:logic>
+ {
+ if (isDocument
+ && Publication.AUTHORING_AREA.equals(area)
+ ) {
+ <xsp:content>
+ <item uc:usecase="create-language" uc:step="showscreen" href="?"><i18n:text>New Language Version</i18n:text></item>
+ </xsp:content>
+ }
+ else {
+ <xsp:content>
+ <item><i18n:text>New Language Version</i18n:text></item>
+ </xsp:content>
+ }
+
+ String[] availableLanguages = (String[])<input:get-attribute module="page-envelope" as="object" name="document-languages"/>;
+ if (isDocument
+ && Publication.AUTHORING_AREA.equals(area)
+ && availableLanguages.length > 1
+ ) {
+ <xsp:content>
+ <item uc:usecase="removelabel" uc:step="showscreen" href="?"><i18n:text>Remove Language Version</i18n:text></item>
+ </xsp:content>
+ } else {
+ <xsp:content>
+ <item><i18n:text>Remove Language Version</i18n:text></item>
+ </xsp:content>
+ }
+ }
+ </xsp:logic>
+ </block>
+ <block>
+ <item uc:usecase="logout" href="?"><i18n:text>Logout</i18n:text></item>
+ </block>
+ </menu>
+
+ <menu i18n:attr="name" name="Edit" label="Search">
+
+ <block info="false">
+ <item wf:event="edit" uc:usecase="kupu" uc:step="open" href="?"><i18n:text>Edit with Kupu</i18n:text></item>
+ <item wf:event="edit" uc:usecase="bxeng" uc:step="open" href="?"><i18n:text>Edit with BXE</i18n:text></item>
+ <item wf:event="edit" uc:usecase="edit" uc:step="open"><xsp:attribute name="href"><xsp:expr>"?form=" + docType</xsp:expr></xsp:attribute><i18n:text>Edit with Forms</i18n:text></item>
+ <item wf:event="edit" uc:usecase="1formedit" uc:step="open" href="?"><i18n:text>Edit with one Form</i18n:text></item>
+ </block>
+ <block info="false">
+ <item wf:event="edit" uc:usecase="info-meta" uc:step="showscreen"><xsp:attribute name="href"><xsp-request:get-context-path/>/<input:get-attribute module="page-envelope" as="string" name="publication-id"/>/info-<input:get-attribute module="page-envelope" as="string" name="area"/><input:get-attribute module="page-envelope" as="string" name="document-url"/>?</xsp:attribute><i18n:text>Edit Metadata</i18n:text></item>
+ <item wf:event="edit" uc:usecase="rename-label" uc:step="showscreen"><xsp:attribute name="href"><xsp-request:get-uri/>?</xsp:attribute><i18n:text>Edit Navigation Title</i18n:text></item>
+ </block>
+
+ <block authoring="false">
+
+ <xsp:logic>
+
+ {
+ String docId = <input:get-attribute module="page-envelope" as="string" name="document-id"/>;
+
+ if (isDocument
+ && "".equals(<input:get-attribute module="sitetree" as="string" name="live-node"/>)
+ && Publication.AUTHORING_AREA.equals(area)
+ && !"/index".equals(docId)) {
+ <item uc:usecase="cut" uc:step="showscreen" href="?"><i18n:text>Cut</i18n:text></item>
+ }
+ else {
+ <item><i18n:text>Cut</i18n:text></item>
+ }
+
+ if (isDocument
+ && Publication.AUTHORING_AREA.equals(area)
+ && !"/index".equals(docId)) {
+ <item uc:usecase="copy" uc:step="showscreen" href="?"><i18n:text>Copy</i18n:text></item>
+ }
+ else {
+ <item><i18n:text>Copy</i18n:text></item>
+ }
+
+ String clipboard = (String) <input:get-attribute module="session-attr" as="object" name="org.apache.lenya.cms.info.firstdocid"/> + "/";
+ String currentDocumentId = <input:get-attribute module="page-envelope" as="string" name="document-id"/> + "/";
+
+ if (clipboard != null
+ && !"".equals(clipboard)
+ && Publication.AUTHORING_AREA.equals(area)
+ && !currentDocumentId.startsWith(clipboard)
+ && !"/index".equals(docId)) {
+ <item uc:usecase="paste" uc:step="showscreen" href="?"><i18n:text>Paste</i18n:text></item>
+ }
+ else {
+ <item><i18n:text>Paste</i18n:text></item>
+ }
+ }
+ </xsp:logic>
+
+ </block>
+ <block authoring="false">
+ <xsp:logic>
+ if (isDocument && "".equals(<input:get-attribute module="sitetree" as="string" name="live-node"/>)
+ && Publication.AUTHORING_AREA.equals(area)) {
+ <item uc:usecase="rename" uc:step="showscreen" href="?"><i18n:text>Rename URL</i18n:text></item>
+ }
+ else {
+ <item>Rename URL</item>
+ }
+
+ if (isDocument) {
+ <item wf:event="edit" uc:usecase="rename-label" uc:step="showscreen" href="?"><i18n:text>Edit Navigation Title</i18n:text></item>
+ }
+ else {
+ <item>Edit Navigation Title</item>
+ }
+ if (isDocument) {
+ <item wf:event="edit" uc:usecase="change-visibility" uc:step="showscreen" href="?"><i18n:text>Change node visibility</i18n:text></item>
+ }
+ else {
+ <item>Change node visibility</item>
+ }
+ if (isDocument && !(area.equals(Publication.TRASH_AREA) || area.equals(Publication.ARCHIVE_AREA))) {
+ <item uc:usecase="forcecheckin" uc:step="showscreen" href="?">Checkin</item>
+ }
+ else {
+ <item>Checkin</item>
+ }
+ </xsp:logic>
+ </block>
+ <block authoring="false">
+ <xsp:logic>
+ if (isDocument
+ && "".equals(<input:get-attribute module="sitetree" as="string" name="live-node"/>)
+ && Publication.AUTHORING_AREA.equals(area)
+ && !"/index".equals(<input:get-attribute module="sitetree" as="string" name="document-id"/>)) {
+ <item uc:usecase="move-node" uc:step="move-node"><xsp:attribute name="href"><xsp-request:get-uri/>?properties.movenode.direction=up</xsp:attribute><i18n:text>Move Up</i18n:text></item>
+ <item uc:usecase="move-node" uc:step="move-node"><xsp:attribute name="href"><xsp-request:get-uri/>?properties.movenode.direction=down</xsp:attribute><i18n:text>Move Down</i18n:text></item>
+ }
+ else {
+ <item><i18n:text>Move Up</i18n:text></item>
+ <item><i18n:text>Move Down</i18n:text></item>
+ }
+ </xsp:logic>
+ </block>
+ <block authoring="false">
+
+ <xsp:logic>
+ {
+
+ if (isDocument &&
+ !"/index".equals(<input:get-attribute module="page-envelope" as="string" name="document-id"/>)) {
+ <item wf:event="delete" uc:usecase="delete" uc:step="showscreen" href="?"><i18n:text>Delete</i18n:text></item>
+ <item wf:event="archive" uc:usecase="archive" uc:step="showscreen" href="?"><i18n:text>Archive</i18n:text></item>
+ }
+ else {
+ <item><i18n:text>Delete</i18n:text></item>
+ <item><i18n:text>Archive</i18n:text></item>
+ }
+
+ if (isDocument && (area.equals(Publication.TRASH_AREA) || area.equals(Publication.ARCHIVE_AREA))) {
+ <item wf:event="restore" uc:usecase="restore" uc:step="showscreen" href="?">Restore</item>
+ }
+ else {
+ <item><i18n:text>Restore</i18n:text></item>
+ }
+ }
+ </xsp:logic>
+
+ </block>
+
+ </menu>
+
+ <menu i18n:attr="name" name="Workflow" label="Help">
+ <xsp:logic>
+ {
+ if (isDocument && Publication.AUTHORING_AREA.equals(area)) {
+ <block>
+ <item uc:usecase="submit" uc:step="showscreen" wf:event="submit" href="?"><i18n:text>Submit</i18n:text></item>
+ <item uc:usecase="reject" uc:step="showscreen" wf:event="reject" href="?"><i18n:text>Reject</i18n:text></item>
+ <item uc:usecase="publish" uc:step="showscreen" wf:event="publish"><xsp:attribute name="href">?<xsp:expr>urisParameter</xsp:expr>&sources=<xsp:expr>xmlSource</xsp:expr>&task-id=publish</xsp:attribute><i18n:text>Publish</i18n:text></item>
+ <item uc:usecase="deactivate" uc:step="showscreen" wf:event="deactivate" href="?task-id=deactivateDocument"><i18n:text>Deactivate</i18n:text></item>
+ </block><block>
+ <item uc:usecase="schedule" uc:step="showscreen" href="?"><i18n:text>Schedule</i18n:text></item>
+ </block>
+ }
+ else {
+ <block>
+ <item><i18n:text>Submit</i18n:text></item>
+ <item><i18n:text>Reject</i18n:text></item>
+ <item><i18n:text>Publish</i18n:text></item>
+ <item><i18n:text>Deactivate</i18n:text></item>
+ </block><block>
+ <item><i18n:text>Schedule</i18n:text></item>
+ </block>
+ }
+ }
+ </xsp:logic>
+ </menu>
+
+ <menu i18n:attr="name" name="Help" label="Debug">
+ <block>
+ <item href="http://lenya.apache.org/1_2_x/index.html"><i18n:text>Documentation</i18n:text></item>
+ <item href="http://wiki.apache.org/lenya/"><i18n:text>Wiki</i18n:text></item>
+ </block>
+ <block>
+ <item><xsp:attribute name="href"><xsp-request:get-context-path/>/index.html</xsp:attribute><i18n:text>Apache Lenya Homepage</i18n:text></item>
+ <item><xsp:attribute name="href"><xsp-request:get-context-path/>/about.html</xsp:attribute><i18n:text>About Apache Lenya</i18n:text></item>
+ </block>
+ <block>
+ <item uc:usecase="view-logs" uc:step="overview" href="?"><i18n:text>View Task Logs</i18n:text></item>
+ </block>
+ </menu>
+ </menus>
+
+ </menu>
+</xsp:page>
Added: lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/config/menus/links.xsp
URL: http://svn.apache.org/viewvc/lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/config/menus/links.xsp?rev=577177&view=auto
==============================================================================
--- lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/config/menus/links.xsp (added)
+++ lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/config/menus/links.xsp Wed Sep 19 00:09:42 2007
@@ -0,0 +1,107 @@
+<?xml version="1.0"?>
+<!--
+ 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: links.xsp 170900 2005-05-19 09:58:37Z thorsten $ -->
+
+<xsp:page
+ language="java"
+ xmlns:xsp="http://apache.org/xsp"
+ xmlns:xsp-request="http://apache.org/xsp/request/2.0"
+ xmlns:input="http://apache.org/cocoon/xsp/input/1.0"
+ xmlns:i18n="http://apache.org/cocoon/i18n/2.1"
+ xmlns:wf="http://apache.org/cocoon/lenya/workflow/1.0"
+ xmlns:uc="http://apache.org/cocoon/lenya/usecase/1.0"
+ xmlns="http://apache.org/cocoon/lenya/menubar/1.0"
+>
+
+ <xsp:structure>
+ <xsp:include>org.apache.lenya.cms.publication.Document</xsp:include>
+ <xsp:include>org.apache.lenya.cms.publication.Publication</xsp:include>
+ </xsp:structure>
+
+ <menu>
+
+ <xsp:logic>
+ String projectid = parameters.getParameter("projectid","null");
+
+ String xmlSource = <input:get-attribute module="page-envelope" as="string" name="document-path"/>;
+ String documentId = <input:get-attribute module="page-envelope" as="string" name="context-prefix"/> + "/" + <input:get-attribute module="page-envelope" as="string" name="publication-id"/> + "/authoring" + <input:get-attribute module="page-envelope" as="string" name="document-id"/> + "_" + <input:get-attribute module="page-envelope" as="string" name="document-language"/>;
+ String urisParameter = "uris=" + <input:get-attribute module="page-envelope" as="string" name="context-prefix"/> + "/" + <input:get-attribute module="page-envelope" as="string" name="publication-id"/> + "/live" + <input:get-attribute module="page-envelope" as="string" name="document-url"/>;
+ String area = <input:get-attribute module="page-envelope" as="string" name="area"/>;
+
+ String docType = "";
+ try {
+ Document document = (Document) <input:get-attribute as="object" module="page-envelope" name="document"/>;
+ if (document.exists()) {
+ docType = <input:get-attribute as="string" module="page-envelope" name="document-type"/>;
+ }
+ }
+ catch (Exception e) {
+ throw new ProcessingException(e);
+ }
+
+ boolean isDocument = false;
+ {
+ Object document = <input:get-attribute module="page-envelope" as="object" name="document"/>;
+ try {
+ if (document != "" && ((Document) document).exists()) {
+ isDocument = true;
+ }
+ }
+ catch (Exception e) {
+ throw new ProcessingException(e);
+ }
+ }
+ </xsp:logic>
+
+ <menus>
+ <menu i18n:attr="name" name="File" label="File">
+ <block>
+ <item uc:usecase="logout" href="?"><i18n:text>Logout</i18n:text></item>
+ </block>
+ </menu>
+
+ <menu i18n:attr="name" name="Edit" label="Search">
+
+ <block info="false">
+ <!-- XSLT not finished yet -->
+ <!--<item uc:usecase="edit" uc:step="open"><xsp:attribute name="href"><xsp:expr>"?form=" + docType</xsp:expr></xsp:attribute><i18n:text>Edit with Forms</i18n:text></item>-->
+ <item uc:usecase="1formedit" uc:step="open" href="?"><i18n:text>Edit with one Form</i18n:text></item>
+ </block>
+ </menu>
+
+ <menu i18n:attr="name" name="Workflow" label="Help">
+ </menu>
+
+ <menu i18n:attr="name" name="Help" label="Debug">
+ <block>
+ <item><xsp:attribute name="href">http://lenya.apache.org/1_2_x/index.html</xsp:attribute><i18n:text>System Documentation</i18n:text></item>
+ <item href="http://wiki.apache.org/lenya/"><i18n:text>Wiki</i18n:text></item>
+ </block>
+ <block>
+ <item><xsp:attribute name="href"><xsp-request:get-context-path/>/index.html</xsp:attribute><i18n:text>Apache Lenya Homepage</i18n:text></item>
+ <item><xsp:attribute name="href"><xsp-request:get-context-path/>/about.html</xsp:attribute><i18n:text>About Apache Lenya</i18n:text></item>
+ </block>
+
+ <block>
+ <item uc:usecase="view-logs" uc:step="overview" href="?"><i18n:text>View Task Logs</i18n:text></item>
+ </block>
+ </menu>
+ </menus>
+
+ </menu>
+</xsp:page>
Added: lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/config/publication.xconf
URL: http://svn.apache.org/viewvc/lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/config/publication.xconf?rev=577177&view=auto
==============================================================================
--- lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/config/publication.xconf (added)
+++ lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/config/publication.xconf Wed Sep 19 00:09:42 2007
@@ -0,0 +1,72 @@
+<?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: publication.xconf 413547 2006-06-11 23:24:48Z solprovider $ -->
+
+<publication>
+ <languages>
+ <language default="true">en</language>
+ <language>de</language>
+ </languages>
+ <path-mapper>org.apache.lenya.cms.publication.DefaultDocumentIdToPathMapper</path-mapper>
+ <document-builder>org.apache.lenya.cms.publication.DefaultDocumentBuilder</document-builder>
+ <breadcrumb-prefix/>
+
+<!-- Set the content directory for Lenya 1.2 -->
+ <!-- NOTE: The configuration of content directories has NOT been fully tested yet and might lead to unexpected results. Use at own risk;-) -->
+<!--
+ <content-dir area="authoring">content/authoring</content-dir>
+ <content-dir area="live">content/live</content-dir>
+-->
+<!--
+ <content-dir area="authoring">/home/USERNAME/data/default/authoring</content-dir>
+ <content-dir area="live">D:\tmp\default\live</content-dir>
+-->
+
+<!-- Set the content directory for Lenya 1.3 -->
+<!-- SYNTAX: <content type="hierarchical|flat|jcr">content directory</content> -->
+<!-- The following line is the default if no content element is present. -->
+<!-- <content type="hierarchical">content</content> -->
+<!-- Use the following line after using the "flat" migration Module. -->
+<!-- <content type="flat">content</content> -->
+<content type="flat">content</content>
+
+ <!--
+ For information about these settings, read
+ http://lenya.apache.org/1_2_x/components/deployment/proxying.html
+
+ <proxy area="live" ssl="true" url="https://www.host.com/ssl/default"/>
+ <proxy area="live" ssl="false" url="http://www.host.com/default"/>
+ <proxy area="authoring" ssl="true" url="https://www.host.com/lenya/default/authoring"/>
+ <proxy area="authoring" ssl="false" url="http://www.host.com/lenya/default/authoring"/>
+ -->
+
+ <link-attribute xpath="//*[namespace-uri() = 'http://www.w3.org/1999/xhtml']/@href"/>
+
+<!-- Example Module parameters for Lenya 1.3
+<modules include="all">
+<inherit publication="template"/>
+<module name="live" external="true"/>
+<module name="xhtml" external="false"/>
+<module name="navigation" external="false"/>
+<module name="cache" external="false">
+ <variable name="cache-dir">module:///cache</variable>
+</module>
+</modules>
+-->
+
+</publication>
Added: lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/config/publishing/publisher.xconf
URL: http://svn.apache.org/viewvc/lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/config/publishing/publisher.xconf?rev=577177&view=auto
==============================================================================
--- lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/config/publishing/publisher.xconf (added)
+++ lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/config/publishing/publisher.xconf Wed Sep 19 00:09:42 2007
@@ -0,0 +1,38 @@
+<?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.xconf 413285 2006-06-10 11:10:23Z thorsten $ -->
+
+<publication>
+ <authoring>
+ <documents href="content/authoring"/>
+ <tree href="content/authoring/sitetree.xml"/>
+ <resource href="resources/images/authoring"/>
+ </authoring>
+ <live>
+ <documents href="content/live"/>
+ <tree href="content/live/sitetree.xml"/>
+ <resource href="resources/images/live"/>
+ </live>
+ <replication>
+ <pending-documents href="content/replication/pending"/>
+ </replication>
+ <export>
+ <destination href="resources/export/pending"/>
+ <substitution regexp="/lenya/default" replacement=""/>
+ </export>
+</publication>
Added: lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/config/search/crawler-live.xconf
URL: http://svn.apache.org/viewvc/lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/config/search/crawler-live.xconf?rev=577177&view=auto
==============================================================================
--- lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/config/search/crawler-live.xconf (added)
+++ lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/config/search/crawler-live.xconf Wed Sep 19 00:09:42 2007
@@ -0,0 +1,28 @@
+<?xml version="1.0"?>
+<!--
+ 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.
+-->
+
+<crawler>
+ <user-agent>lenya</user-agent>
+
+ <base-url href="http://127.0.0.1:8888/default/live/index.html"/>
+ <scope-url href="http://127.0.0.1:8888/default/live/"/>
+
+ <uri-list src="../../work/search/lucene/uris.txt"/>
+ <htdocs-dump-dir src="../../work/search/lucene/htdocs_dump"/>
+
+ <robots src="robots.txt" domain="127.0.0.1"/>
+</crawler>
Added: lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/config/search/lenyadocs.xconf
URL: http://svn.apache.org/viewvc/lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/config/search/lenyadocs.xconf?rev=577177&view=auto
==============================================================================
--- lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/config/search/lenyadocs.xconf (added)
+++ lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/config/search/lenyadocs.xconf Wed Sep 19 00:09:42 2007
@@ -0,0 +1,27 @@
+<?xml version="1.0"?>
+<luc:document xmlns:luc="http://apache.org/cocoon/lenya/lucene/1.0">
+<luc:field name="title" type="Text">
+<namespace prefix="lenya">http://apache.org/cocoon/lenya/page-envelope/1.0</namespace>
+<namespace prefix="dc">http://purl.org/dc/elements/1.1/</namespace>
+<xpath>/*/lenya:meta/dc:subject</xpath>
+</luc:field>
+<luc:field name="htmltitle" type="Text">
+<namespace prefix="xhtml">http://www.w3.org/1999/xhtml</namespace>
+<xpath>/xhtml:html/xhtml:head/xhtml:title</xpath>
+</luc:field>
+<luc:field name="language" type="Text">
+<namespace prefix="lenya">http://apache.org/cocoon/lenya/page-envelope/1.0</namespace>
+<namespace prefix="dc">http://purl.org/dc/elements/1.1/</namespace>
+<xpath>/*/lenya:meta/dc:language</xpath>
+</luc:field>
+<luc:field name="description" type="Text">
+<namespace prefix="lenya">http://apache.org/cocoon/lenya/page-envelope/1.0</namespace>
+<namespace prefix="dc">http://purl.org/dc/elements/1.1/</namespace>
+<xpath>/*/lenya:meta/dc:description</xpath>
+</luc:field>
+<luc:field name="htmlbody" type="Text">
+<namespace prefix="xhtml">http://www.w3.org/1999/xhtml</namespace>
+<xpath>/xhtml:html/xhtml:body</xpath>
+</luc:field>
+<luc:field name="contents" type="UnStored" xpath="/"/>
+</luc:document>
\ No newline at end of file
Added: lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/config/search/lucene-live.xconf
URL: http://svn.apache.org/viewvc/lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/config/search/lucene-live.xconf?rev=577177&view=auto
==============================================================================
--- lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/config/search/lucene-live.xconf (added)
+++ lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/config/search/lucene-live.xconf Wed Sep 19 00:09:42 2007
@@ -0,0 +1,10 @@
+<?xml version="1.0"?>
+<lucene>
+<update-index type="new"/>
+<index-dir src="../../work/search/lucene/index/live/index"/>
+<htdocs-dump-dir src="../../content/live"/>
+<indexer class="org.apache.lenya.lucene.index.ConfigurableIndexer">
+<configuration src="lenyadocs.xconf"/>
+<extensions src="xml"/>
+</indexer>
+</lucene>
\ No newline at end of file
Added: lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/config/search/robots.txt
URL: http://svn.apache.org/viewvc/lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/config/search/robots.txt?rev=577177&view=auto
==============================================================================
--- lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/config/search/robots.txt (added)
+++ lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/config/search/robots.txt Wed Sep 19 00:09:42 2007
@@ -0,0 +1,9 @@
+# 127.0.0.1
+
+User-agent: *
+Disallow: /there_seems_to_be_a_bug_within_websphinx_Robot_Exclusion.html
+#Disallow:
+
+User-agent: lenya
+Disallow: /foo/bar.html
+#Disallow: /foo/bar/
Added: lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/config/tasks/targets.xml
URL: http://svn.apache.org/viewvc/lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/config/tasks/targets.xml?rev=577177&view=auto
==============================================================================
--- lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/config/tasks/targets.xml (added)
+++ lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/config/tasks/targets.xml Wed Sep 19 00:09:42 2007
@@ -0,0 +1,738 @@
+<?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: targets.xml 158615 2005-03-22 16:08:55Z edith $ -->
+
+<project name="Ant Test Project" default="test" basedir=".">
+
+<property name="text" value="Hello World!"/>
+
+<property name="pub.dir" value=""/>
+<property name="pub.id" value=""/>
+<property name="sitetree" value="sitetree.xml"/>
+<property name="authoring.area" value="authoring"/>
+<property name="authoring.dir" value="content/authoring"/>
+<property name="authoring.resource.dir" value="resources/authoring"/>
+<property name="live.dir" value="content/live"/>
+<property name="live.resource.dir" value="resources/live"/>
+<property name="live.area" value="live"/>
+<property name="archive.dir" value="content/archive"/>
+<property name="archive.area" value="archive"/>
+<property name="archive.resource.dir" value="resources/archive"/>
+<property name="trash.dir" value="content/trash"/>
+<property name="trash.area" value="trash"/>
+<property name="trash.resource.dir" value="resources/trash"/>
+<property name="rcml.dir" value="content/rcml"/>
+<property name="rcbak.dir" value="content/rcbak"/>
+<property name="policies.dir" value="config/ac/policies"/>
+
+<!-- workflow-->
+<property name="wf.history.trash.dir" value="content/workflow/history/trash"/>
+
+<!-- publishing properties -->
+<property name="replication.dir" value="content/replication/pending"/>
+<property name="export.server-port" value=""/>
+<property name="export.context-path" value=""/>
+<property name="export.dir" value="work/export/pending"/>
+<property name="export.expression" value="/lenya/default/live/"/>
+<property name="export.replacement" value="/"/>
+<property name="export.uris" value=""/>
+
+<property name="servlet.context" value=""/>
+
+<!--copy/move/rename properties -->
+<property name="node.firstdocumentid" value=""/>
+<property name="node.secdocumentid" value=""/>
+<property name="node.newdocumentid" value=""/>
+<property name="file.firstdocumentdir" value=""/>
+<property name="file.secdocumentdir" value=""/>
+<property name="firstarea" value=""/>
+<property name="secarea" value=""/>
+<property name="copy.userid" value=""/>
+<property name="copy.ipaddress" value=""/>
+<property name="node.refdocumentid" value=""/>
+
+<!--properties setted by task SetAreaProperties-->
+<property name="firstarea.dir" value=""/>
+<property name="secarea.dir" value=""/>
+<property name="secarea.resource.dir" value=""/>
+
+<taskdef name="copyresources" classname="org.apache.lenya.cms.ant.CopyResourcesTask"/>
+
+ <taskdef name="mapdocumentidtofile" classname="org.apache.lenya.cms.ant.DocumentIdToFile"/>
+
+ <target name="test">
+ <echo>This is a test of the AntTask: ${text}</echo>
+ </target>
+
+
+<target name="notification">
+ <property name="notification.from" value="[email protected]"/>
+ <property name="notification.tolist" value=""/>
+ <property name="notification.subject" value=""/>
+ <property name="notification.message" value=""/>
+ <property name="mail.mailhost" value="localhost"/>
+
+ <echo>Sending Mail</echo>
+ <echo>From: [${notification.from}]</echo>
+ <echo>To: [${notification.tolist}]</echo>
+ <echo>Subject: [${notification.subject}]</echo>
+ <echo>Message: [${notification.message}]</echo>
+ <echo>Mailhost: [${mail.mailhost}]</echo>
+
+ <mail
+ from="${notification.from}"
+ tolist="${notification.tolist}"
+ subject="${notification.subject}"
+ message="${notification.message}"
+ mailhost="${mail.mailhost}"
+ />
+</target>
+
+ <taskdef name="init-history" classname="org.apache.lenya.cms.ant.InitWorkflowHistoryTask"/>
+ <target name="create">
+
+ <property name="create.parent-id" value=""/>
+ <property name="create.child-id" value=""/>
+ <property name="create.child-name" value=""/>
+ <property name="create.child-type" value=""/>
+ <property name="create.doctype" value=""/>
+ <property name="create.language" value=""/>
+ <property name="create.title" value=""/>
+ <property name="create.creator" value=""/>
+ <property name="create.description" value=""/>
+ <property name="create.subject" value=""/>
+ <property name="create.publisher" value=""/>
+ <property name="create.date" value=""/>
+ <property name="create.rights" value=""/>
+ <property name="create.columns" value=""/>
+ <property name="create.userid" value=""/>
+ <property name="create.ipaddress" value=""/>
+ <property name="create.visible" value=""/>
+
+ <taskdef name="create" classname="org.apache.lenya.cms.ant.DocumentCreatorTask"/>
+ <create
+ authoringpath="${authoring.dir}"
+ area="${authoring.area}"
+ parentid="${create.parent-id}"
+ childid="${create.child-id}"
+ childname="${create.child-name}"
+ childtype="${create.child-type}"
+ documenttype="${create.doctype}"
+ language="${create.language}"
+ visibleinnav="${create.visible}"
+ />
+
+ <!-- Init the workflow history -->
+ <echo>init the workflow history with document-id: ${create.parent-id}/${create.child-id}</echo>
+ <echo>with document-type: ${create.doctype}</echo>
+ <echo>with language: ${create.language}</echo>
+ <echo>with user ID: ${create.userid}</echo>
+ <echo>with IP address: ${create.ipaddress}</echo>
+ <init-history
+ documentid="${create.parent-id}/${create.child-id}"
+ documenttype="${create.doctype}"
+ language="${create.language}"
+ userid="${create.userid}"
+ machineip="${create.ipaddress}"
+ />
+
+ <!-- Add the meta data to the newly created file. -->
+ <property name="document.file" value=""/>
+ <mapdocumentidtofile
+ area="${authoring.area}"
+ documentid="${create.parent-id}/${create.child-id}"
+ language="${create.language}"
+ propertyname="document.file"
+ />
+ <tempfile property="temp.file" destDir="work"/>
+ <xslt in="${document.file}"
+ out="${temp.file}"
+ force="true"
+ style="${pub.dir}/../../xslt/authoring/addMetaData.xsl">
+ <param name="title" expression="${create.title}"/>
+ <param name="creator" expression="${create.creator}"/>
+ <param name="subject" expression="${create.subject}"/>
+ <param name="description" expression="${create.description}"/>
+ <param name="language" expression="${create.language}"/>
+ <param name="publisher" expression="${create.publisher}"/>
+ <param name="date" expression="${create.date}"/>
+ <param name="rights" expression="${create.rights}"/>
+ <param name="columns" expression="${create.columns}"/>
+ </xslt>
+ <move file="${temp.file}" tofile="${document.file}"/>
+ </target>
+
+ <!-- Create a copy of an existing document for a new language -->
+ <target name="create-language">
+
+ <property name="create.document-id" value=""/>
+ <property name="create.doctype" value=""/>
+ <property name="create.child-name" value=""/>
+ <property name="create.old.language" value=""/>
+ <property name="create.new.language" value=""/>
+ <property name="create.title" value=""/>
+ <property name="create.creator" value=""/>
+ <property name="create.description" value=""/>
+ <property name="create.subject" value=""/>
+ <property name="create.publisher" value=""/>
+ <property name="create.date" value=""/>
+ <property name="create.rights" value=""/>
+ <property name="create.userid" value=""/>
+ <property name="create.ipaddress" value=""/>
+
+ <!-- Add a node to the tree -->
+ <taskdef name="insertlabel" classname="org.apache.lenya.cms.ant.InsertLabelTask"/>
+ <insertlabel
+ documentid="${create.document-id}"
+ labelName="${create.child-name}"
+ language="${create.new.language}"
+ area="${authoring.area}"
+ />
+
+ <!-- Init the workflow history -->
+ <echo>init the workflow history with document-id: ${create.document-id}</echo>
+ <echo>with document-type: ${create.doctype}</echo>
+ <echo>with language: ${create.new.language}</echo>
+ <init-history
+ documentid="${create.document-id}"
+ documenttype="${create.doctype}"
+ language="${create.new.language}"
+ userid="${create.userid}"
+ machineip="${create.ipaddress}"
+ />
+
+ <!-- Copy the existing file over -->
+ <property name="document.old.file" value=""/>
+ <mapdocumentidtofile
+ area="${authoring.area}"
+ documentid="${create.document-id}"
+ language="${create.old.language}"
+ propertyname="document.old.file"
+ />
+ <echo>Old file: ${document.old.file}</echo>
+ <property name="document.new.file" value=""/>
+ <mapdocumentidtofile
+ area="${authoring.area}"
+ documentid="${create.document-id}"
+ language="${create.new.language}"
+ propertyname="document.new.file"
+ />
+ <echo>New file: ${document.new.file}</echo>
+
+ <echo>Add the meta data to the newly created file: ${document.new.file}</echo>
+ <!-- Add the meta data to the newly created file. -->
+ <xslt in="${document.old.file}"
+ out="${document.new.file}"
+ force="true"
+ style="${pub.dir}/../../xslt/authoring/addMetaData.xsl">
+ <param name="title" expression="${create.title}"/>
+ <param name="creator" expression="${create.creator}"/>
+ <param name="subject" expression="${create.subject}"/>
+ <param name="description" expression="${create.description}"/>
+ <param name="language" expression="${create.new.language}"/>
+ <param name="publisher" expression="${create.publisher}"/>
+ <param name="date" expression="${create.date}"/>
+ <param name="rights" expression="${create.rights}"/>
+ </xslt>
+ </target>
+
+ <!-- Remove a language from an existing document -->
+ <target name="remove-language">
+
+ <property name="remove.label.document-id" value=""/>
+ <property name="remove.label.label-name" value=""/>
+ <property name="remove.label.language" value=""/>
+
+ <!-- Remove a label from a node in the tree -->
+ <echo>Remove label: ${remove.label.label-name}</echo>
+ <echo>for language: ${remove.label.language}</echo>
+ <echo>from document: ${remove.label.document-id}</echo>
+ <echo>in area: ${authoring.area}</echo>
+ <taskdef name="removelabel" classname="org.apache.lenya.cms.ant.RemoveLabelTask"/>
+ <removelabel
+ documentid="${remove.label.document-id}"
+ labelName="${remove.label.label-name}"
+ language="${remove.label.language}"
+ area="${authoring.area}"
+ />
+ <!-- Remove the language document -->
+ <property name="document.file" value=""/>
+ <mapdocumentidtofile
+ area="${authoring.area}"
+ documentid="${remove.label.document-id}"
+ language="${remove.label.language}"
+ propertyname="document.file"
+ />
+ <echo>Remove file: ${document.file}</echo>
+ <delete file="${document.file}"/>
+ </target>
+
+ <!-- Save the dublin core meta data -->
+ <target name="save-meta-data">
+
+ <property name="save.meta.documentid" value=""/>
+ <property name="save.meta.area" value=""/>
+ <property name="save.meta.creator" value=""/>
+ <property name="save.meta.title" value=""/>
+ <property name="save.meta.description" value=""/>
+ <property name="save.meta.subject" value=""/>
+ <property name="save.meta.language" value=""/>
+ <property name="save.meta.publisher" value=""/>
+ <property name="save.meta.rights" value=""/>
+
+ <echo>Writing meta data</echo>
+ <echo>meta.documentid ${save.meta.documentid}</echo>
+ <echo>meta.area ${save.meta.area}</echo>
+ <echo>meta.creator ${save.meta.creator}</echo>
+ <echo>meta.title ${save.meta.title}</echo>
+ <echo>meta.description ${save.meta.description}</echo>
+ <echo>meta.subject ${save.meta.subject}</echo>
+ <echo>meta.language ${save.meta.language}</echo>
+ <echo>meta.publisher ${save.meta.publisher}</echo>
+ <echo>meta.rights ${save.meta.rights}</echo>
+
+ <taskdef name="write-dc-params" classname="org.apache.lenya.cms.ant.WriteDCParametersTask"/>
+ <write-dc-params
+ documentid="${save.meta.documentid}"
+ area="${save.meta.area}"
+ language="${save.meta.language}"
+ title="${save.meta.title}"
+ creator="${save.meta.creator}"
+ subject="${save.meta.subject}"
+ description="${save.meta.description}"
+ publisher="${save.meta.publisher}"
+ rights="${save.meta.rights}"
+ />
+ </target>
+
+ <!-- Remove an asset -->
+ <target name="remove-asset">
+ <property name="remove.asset.document-id" value=""/>
+ <property name="remove.asset.name" value=""/>
+ <echo>Remove file: ${pub.dir}/${authoring.resource.dir}/${remove.asset.document-id}/${remove.asset.name}</echo>
+ <echo>Remove file: ${pub.dir}/${authoring.resource.dir}/${remove.asset.document-id}/${remove.asset.name}.meta</echo>
+ <delete file="${pub.dir}/${authoring.resource.dir}/${remove.asset.document-id}/${remove.asset.name}"/>
+ <delete file="${pub.dir}/${authoring.resource.dir}/${remove.asset.document-id}/${remove.asset.name}.meta"/>
+ </target>
+
+ <!-- Insert an asset -->
+ <target name="insert-asset">
+ <property name="insert.asset.assetXPath" value=""/>
+ <property name="insert.asset.insertWhere" value=""/>
+ <property name="insert.asset.insertTemplate" value="insertAsset.xml"/>
+ <property name="insert.asset.insertReplace" value=""/>
+ <property name="insert.asset.area" value=""/>
+ <property name="insert.asset.document-id" value=""/>
+ <property name="insert.asset.language" value=""/>
+ <property name="asset.data" value=""/>
+ <property name="insert.asset.type" value=""/>
+ <property name="insert.asset.size" value=""/>
+ <property name="insert.asset.caption" value=""/>
+ <property name="asset.title" value=""/>
+ <property name="insert.asset.link" value=""/>
+
+ <echo>Generate temporary xsl style sheet with ${pub.dir}/../xslt/util/generate-insertAsset-xsl.xsl </echo>
+ <echo>from ${pub.dir}/config/assets/${insert.asset.insertTemplate}</echo>
+ <tempfile property="temp.stylesheet" destDir="work"/>
+ <tempfile property="temp.file" destDir="work"/>
+ <xslt in="${pub.dir}/config/assets/${insert.asset.insertTemplate}"
+ out="${temp.stylesheet}"
+ force="true"
+ style="${pub.dir}/../../xslt/util/generate-insertAsset-xsl.xsl">
+ <param name="assetXPath" expression="${insert.asset.assetXPath}"/>
+ <param name="insertWhere" expression="${insert.asset.insertWhere}"/>
+ <param name="insertReplace" expression="${insert.asset.insertReplace}"/>
+ </xslt>
+
+ <property name="document.file" value=""/>
+ <mapdocumentidtofile
+ area="${insert.asset.area}"
+ documentid="${insert.asset.document-id}"
+ language="${insert.asset.language}"
+ propertyname="document.file"
+ />
+
+ <basename property="asset.filename" file="${asset.data}"/>
+ <echo>Apply temporary stylesheet (${temp.file}) on document ${document.file}</echo>
+ <echo>with args data: ${asset.filename}</echo>
+ <echo>type: ${insert.asset.type}</echo>
+ <echo>size: ${insert.asset.size}</echo>
+ <echo>caption: ${insert.asset.caption}</echo>
+ <echo>title: ${asset.title}</echo>
+ <echo>link: ${insert.asset.link}</echo>
+ <xslt in="${document.file}"
+ out="${temp.file}"
+ force="true"
+ style="${temp.stylesheet}">
+ <param name="data" expression="${asset.filename}"/>
+ <param name="type" expression="${insert.asset.type}"/>
+ <param name="size" expression="${insert.asset.size}"/>
+ <param name="title" expression="${asset.title}"/>
+ <param name="caption" expression="${insert.asset.caption}"/>
+ <param name="link" expression="${insert.asset.link}"/>
+ </xslt>
+ <move file="${temp.file}" tofile="${document.file}"/>
+ </target>
+
+ <taskdef name="computesecdocumentid" classname="org.apache.lenya.cms.ant.ComputeCopyDocumentId"/>
+ <target name = "newcopydocumentid">
+ <computesecdocumentid
+ area="${authoring.area}"
+ firstdocumentid="${node.firstdocumentid}"
+ secdocumentid="${node.secdocumentid}"
+ />
+ <echo>the document id for the copy is now ${node.newdocumentid}</echo>
+ </target>
+
+ <target name = "newnamedocumentid">
+ <taskdef name="computerenamedocumentid" classname="org.apache.lenya.cms.ant.ComputeRenameDocumentId"/>
+ <computerenamedocumentid
+ area="authoring"
+ firstdocumentid="${node.firstdocumentid}"
+ secdocumentid="${node.secdocumentid}"
+ />
+ <echo>the document id for the renamed file is now ${node.newdocumentid}</echo>
+ </target>
+
+ <taskdef name="computearchivedocumentid" classname="org.apache.lenya.cms.ant.ComputeArchiveDocumentId"/>
+
+ <target name = "newarchivedocumentid">
+ <computearchivedocumentid
+ area="${secarea}"
+ firstdocumentid="${node.firstdocumentid}"
+ secdocumentid="${node.secdocumentid}"
+ />
+ <echo>the document id for the ${secarea} is ${node.newdocumentid}</echo>
+ </target>
+
+<taskdef name="mapdocumentidtopath" classname="org.apache.lenya.cms.ant.DocumentIdToPath"/>
+
+<target name = "firstdocumentpath">
+ <mapdocumentidtopath
+ area="${firstarea}"
+ documentid="${node.firstdocumentid}"
+ propertyname="file.firstdocumentdir"
+ />
+</target>
+
+<target name = "secdocumentpath">
+ <mapdocumentidtopath
+ area="${secarea}"
+ documentid="${node.newdocumentid}"
+ propertyname="file.secdocumentdir"
+ />
+</target>
+
+<target name = "livedocumentpath">
+ <mapdocumentidtopath
+ area="${live.area}"
+ documentid="${node.firstdocumentid}"
+ propertyname="file.firstdocumentdir"
+ />
+</target>
+
+<taskdef name="copycontent" classname="org.apache.lenya.cms.ant.CopyContentTask"/>
+<taskdef name="copyworkflow" classname="org.apache.lenya.cms.ant.InitCopyWorkflowTask"/>
+<taskdef name="initrc" classname="org.apache.lenya.cms.ant.InitRCTask"/>
+
+<target name = "copyDocument" depends="newcopydocumentid">
+ <echo>Copy Content</echo>
+ <copycontent
+ firstarea = "${firstarea}"
+ firstdocumentid="${node.firstdocumentid}"
+ secarea="${secarea}"
+ secdocumentid="${node.newdocumentid}"
+ />
+
+ <copyresources
+ firstarea = "${firstarea}"
+ firstdocumentid="${node.firstdocumentid}"
+ secarea="${secarea}"
+ secdocumentid="${node.newdocumentid}"
+ />
+
+ <echo>Init RC</echo>
+ <initrc
+ firstarea = "${firstarea}"
+ firstdocumentid="${node.firstdocumentid}"
+ secarea="${secarea}"
+ secdocumentid="${node.newdocumentid}"
+ rcmlDir = "${rcml.dir}"
+ rcbakDir = "${rcbak.dir}"
+ userId = "${copy.userid}"
+ />
+
+ <copyworkflow
+ firstdocumentid="${node.firstdocumentid}"
+ secdocumentid="${node.newdocumentid}"
+ firstarea="${firstarea}"
+ secarea="${secarea}"
+ userid="${copy.userid}"
+ machineip="${copy.ipaddress}"
+ />
+
+ <echo> Insert copied node</echo>
+
+ <taskdef name="insertcopynode" classname="org.apache.lenya.cms.ant.InsertCopyNode"/>
+ <insertcopynode
+ firstdocumentid="${node.firstdocumentid}"
+ secdocumentid="${node.newdocumentid}"
+ firstarea="${firstarea}"
+ secarea="${secarea}"
+ />
+
+</target>
+
+<taskdef name="setareaproperties" classname="org.apache.lenya.cms.ant.SetAreaProperties"/>
+<target name = "firstareaproperties">
+ <setareaproperties
+ area="${firstarea}"
+ dirpropertyname="firstarea.dir"
+ />
+</target>
+
+<target name = "secareaproperties">
+ <setareaproperties
+ area="${secarea}"
+ dirpropertyname="secarea.dir"
+ />
+</target>
+
+<taskdef name="movenode" classname="org.apache.lenya.cms.ant.MoveNode"/>
+<taskdef name="moveworkflow" classname="org.apache.lenya.cms.ant.MoveWorkflowTask"/>
+<taskdef name="copypolicies" classname="org.apache.lenya.cms.ant.CopyPoliciesTask"/>
+<taskdef name="deleteschedulerentry" classname="org.apache.lenya.cms.ant.DeleteSchedulerEntryTask"/>
+<taskdef name="deletecontent" classname="org.apache.lenya.cms.ant.DeleteContentTask"/>
+<taskdef name="deleteresources" classname="org.apache.lenya.cms.ant.DeleteResourcesTask"/>
+<taskdef name="deletepolicies" classname="org.apache.lenya.cms.ant.DeletePoliciesTask"/>
+<taskdef name="deleterc" classname="org.apache.lenya.cms.ant.DeleteRCTask"/>
+
+<target name = "move">
+ <echo>Copy Content</echo>
+ <copycontent
+ firstarea = "${firstarea}"
+ firstdocumentid="${node.firstdocumentid}"
+ secarea="${secarea}"
+ secdocumentid="${node.newdocumentid}"
+ />
+
+ <echo>Copy Resources</echo>
+ <copyresources
+ firstarea = "${firstarea}"
+ firstdocumentid="${node.firstdocumentid}"
+ secarea="${secarea}"
+ secdocumentid="${node.newdocumentid}"
+ />
+
+ <echo>Copy Policies</echo>
+ <copypolicies
+ firstarea = "${firstarea}"
+ firstdocumentid="${node.firstdocumentid}"
+ secarea="${secarea}"
+ secdocumentid="${node.newdocumentid}"
+ policiesDir="${pub.dir}/${policies.dir}"
+ />
+
+ <echo>Copy Revision</echo>
+ <mkdir dir="${pub.dir}/${rcml.dir}/${firstarea.dir}/${file.firstdocumentdir}"/>
+ <copy todir="${pub.dir}/${rcml.dir}/${secarea.dir}/${file.secdocumentdir}">
+ <fileset dir="${pub.dir}/${rcml.dir}/${firstarea.dir}/${file.firstdocumentdir}/"/>
+ </copy>
+
+ <echo>Copy Backups</echo>
+ <mkdir dir="${pub.dir}/${rcbak.dir}/${firstarea.dir}/${file.firstdocumentdir}"/>
+ <copy todir="${pub.dir}/${rcbak.dir}/${secarea.dir}/${file.secdocumentdir}">
+ <fileset dir="${pub.dir}/${rcbak.dir}/${firstarea.dir}/${file.firstdocumentdir}/"/>
+ </copy>
+
+ <moveworkflow
+ firstdocumentid="${node.firstdocumentid}"
+ secdocumentid="${node.newdocumentid}"
+ firstarea="${firstarea}"
+ secarea="${secarea}"
+ />
+<!-- FIXME: temporarily disabled. see http://nagoya.apache.org/bugzilla/show_bug.cgi?id=27252
+ <deleteschedulerentry
+ documentid="${node.firstdocumentid}"
+ area="${firstarea}"
+ servletcontextpath="${servlet.context}"
+ />
+-->
+ <movenode
+ firstdocumentid="${node.firstdocumentid}"
+ secdocumentid="${node.newdocumentid}"
+ firstarea="${firstarea}"
+ secarea="${secarea}"
+ refdocumentid = "${node.refdocumentid}"
+ />
+
+ <deletecontent
+ firstarea = "${firstarea}"
+ firstdocumentid="${node.firstdocumentid}"
+ secarea="${secarea}"
+ secdocumentid="${node.newdocumentid}"
+ />
+
+ <deleteresources
+ firstarea = "${firstarea}"
+ firstdocumentid="${node.firstdocumentid}"
+ secarea="${secarea}"
+ secdocumentid="${node.newdocumentid}"
+ />
+
+ <deletepolicies
+ firstarea = "${firstarea}"
+ firstdocumentid="${node.firstdocumentid}"
+ secarea="${secarea}"
+ secdocumentid="${node.newdocumentid}"
+ policiesDir="${pub.dir}/${policies.dir}"
+ />
+
+ <deleterc
+ firstarea = "${firstarea}"
+ firstdocumentid="${node.firstdocumentid}"
+ secarea="${secarea}"
+ secdocumentid="${node.newdocumentid}"
+ rcmldir="${rcml.dir}"
+ rcbakdir="${rcbak.dir}"
+ srcareadir="${firstarea.dir}"
+ />
+</target>
+
+ <target name = "rewrite-links">
+
+ <taskdef name="linkRewrite" classname="org.apache.lenya.cms.ant.LinkRewriteTask"/>
+
+ <linkRewrite baseDir="${pub.dir}/${authoring.dir}"
+ stylesheet="${pub.dir}/../../xslt/util/linkRewrite.xsl"
+ area="${authoring.area}"
+ oldDocumentId="${node.firstdocumentid}"
+ newDocumentId="${node.newdocumentid}"/>
+
+ </target>
+
+ <taskdef name="renameLabel" classname="org.apache.lenya.cms.ant.RenameLabelTask"/>
+
+ <target name = "rename-label">
+ <property name="rename.label.document-id" value=""/>
+ <property name="rename.label.label-name" value=""/>
+ <property name="rename.label.language" value=""/>
+ <property name="rename.label.area" value=""/>
+
+ <echo>Rename Label</echo>
+ <renameLabel
+ documentid="${rename.label.document-id}"
+ labelName="${rename.label.label-name}"
+ language="${rename.label.language}"
+ area="${rename.label.area}"
+ />
+ </target>
+
+ <taskdef name="changeVisibility" classname="org.apache.lenya.cms.ant.ChangeVisibilityTask"/>
+
+ <target name = "change-visibility">
+ <property name="change.visibility.document-id" value=""/>
+ <property name="change.visibility.area" value=""/>
+
+ <echo>Change Visibility</echo>
+ <changeVisibility
+ documentid="${change.visibility.document-id}"
+ area="${change.visibility.area}"
+ />
+ </target>
+
+<target name = "moveDocument" depends="firstareaproperties,
+ secareaproperties, newcopydocumentid, firstdocumentpath,
+ secdocumentpath, move, rewrite-links">
+ <echo>moveDocument</echo>
+</target>
+
+<target name = "renameDocument" depends="firstareaproperties,
+ secareaproperties, newnamedocumentid, firstdocumentpath,
+ secdocumentpath, move, rewrite-links">
+ <echo>renameDocument</echo>
+</target>
+
+<target name = "setIdentifier">
+ <taskdef name="setidentifier" classname="org.apache.lenya.cms.ant.SetIdentifier"/>
+ <setidentifier
+ area="${firstarea}"
+ documentid="${node.firstdocumentid}"
+ />
+</target>
+
+<target name = "archiveDocument" depends="firstareaproperties,
+ secareaproperties, newarchivedocumentid, firstdocumentpath,
+ secdocumentpath, setIdentifier, move">
+ <echo>archiveDocument</echo>
+</target>
+
+<target name = "deleteDocument" depends="firstareaproperties,
+ secareaproperties, newarchivedocumentid, firstdocumentpath,
+ secdocumentpath, setIdentifier, move">
+ <echo>deleteDocument</echo>
+</target>
+
+<target name = "restoreDocument" depends="firstareaproperties,
+ secareaproperties, newcopydocumentid, firstdocumentpath,
+ secdocumentpath, move">
+ <echo>restore Document</echo>
+</target>
+
+<target name = "deleteTrash">
+ <echo>delete the trash</echo>
+ <!-- To do workflow -->
+ <delete includeEmptyDirs="true">
+ <fileset dir="${pub.dir}/">
+ <include name="**/${trash.dir}/**"/>
+ <exclude name="**/${trash.dir}/${sitetree}"/>
+ <exclude name="**/${trash.dir}"/>
+ <include name="**/${trash.resource.dir}/**"/>
+ <exclude name="**/${trash.resource.dir}"/>
+ <include name="**/${wf.history.trash.dir}/**"/>
+ <exclude name="**/${wf.history.trash.dir}"/>
+ </fileset>
+ </delete>
+
+ <taskdef name="resetsitetree" classname="org.apache.lenya.cms.ant.SiteTreeResetTask"/>
+ <resetsitetree
+ area="${trash.area}"
+ />
+
+</target>
+
+<target name="movenode">
+ <property name="movenode.documentid" value=""/>
+ <property name="movenode.direction" value=""/>
+
+ <echo>Moving sitetree node</echo>
+ <echo>Document ID: ${movenode.documentid}</echo>
+ <echo>Direction: ${movenode.direction}</echo>
+
+ <taskdef name="movenodeupdown" classname="org.apache.lenya.cms.ant.MoveSiteTreeNodeTask"/>
+ <movenodeupdown
+ documentid="${movenode.documentid}"
+ direction="${movenode.direction}"
+ />
+</target>
+
+ <target name="deletecache">
+ <delete dir="${cachedir}"/>
+ </target>
+
+</project>
Added: lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/config/tasks/tasks.xconf
URL: http://svn.apache.org/viewvc/lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/config/tasks/tasks.xconf?rev=577177&view=auto
==============================================================================
--- lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/config/tasks/tasks.xconf (added)
+++ lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/config/tasks/tasks.xconf Wed Sep 19 00:09:42 2007
@@ -0,0 +1,137 @@
+<?xml version="1.0"?>
+<!--
+ 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: tasks.xconf 158618 2005-03-22 16:16:27Z edith $ -->
+
+<tasks>
+
+ <task id="ant-test" class="org.apache.lenya.cms.task.AntTask">
+ <label>Ant Test</label>
+ <parameter name="target" value="test"/>
+ <parameter name="properties.text" value="The test was successful."/>
+ </task>
+
+ <task id="publish">
+ <label>Publish and Export</label>
+ <task id="publish" class="org.apache.lenya.defaultpub.cms.task.Publish"/>
+ <task id="delect-cache" class="org.apache.lenya.cms.task.AntTask">
+ <label>Delete Cache</label>
+ <parameter name="target" value="deletecache"/>
+ <parameter name="properties.cachedir" value="work/cache"/>
+ </task>
+<!--
+ <task id="export" class="org.apache.lenya.cms.publishing.StaticHTMLExporter">
+ <parameter name="export-path" value="work/export/pending"/>
+ <parameter name="substitute-regexp" value="/lenya/default/live/"/>
+ <parameter name="substitute-replacement" value="/"/>
+ <parameter name="my-server-port" value="1313"/>
+ </task>
+-->
+ </task>
+
+ <task id="deactivateDocument">
+ <label>Deactivate</label>
+ <task id="deactivateDocument" class="org.apache.lenya.defaultpub.cms.task.Deactivate"/>
+ <task id="delect-cache" class="org.apache.lenya.cms.task.AntTask">
+ <label>Delete Cache</label>
+ <parameter name="target" value="deletecache"/>
+ <parameter name="properties.cachedir" value="work/cache"/>
+ </task>
+ </task>
+
+
+ <task id="create" class="org.apache.lenya.cms.task.AntTask">
+ <label>Create</label>
+ <parameter name="target" value="create"/>
+ </task>
+
+ <task id="create-language" class="org.apache.lenya.cms.task.AntTask">
+ <label>CreateLanguage</label>
+ <parameter name="target" value="create-language"/>
+ </task>
+
+ <task id="remove-language" class="org.apache.lenya.cms.task.AntTask">
+ <label>RemoveLanguage</label>
+ <parameter name="target" value="remove-language"/>
+ </task>
+
+ <task id="rename-label" class="org.apache.lenya.cms.task.AntTask">
+ <label>Edit Navigation Title</label>
+ <parameter name="target" value="rename-label"/>
+ </task>
+
+ <task id="change-visibility" class="org.apache.lenya.cms.task.AntTask">
+ <label>Change Node Visibility</label>
+ <parameter name="target" value="change-visibility"/>
+ </task>
+
+ <task id="save-meta-data" class="org.apache.lenya.cms.task.AntTask">
+ <label>SaveMetaData</label>
+ <parameter name="target" value="save-meta-data"/>
+ </task>
+
+ <task id="copyDocument" class="org.apache.lenya.cms.task.AntTask">
+ <label>CopyOfDocument</label>
+ <parameter name="target" value="copyDocument"/>
+ </task>
+
+ <task id="moveDocument" class="org.apache.lenya.cms.task.AntTask">
+ <label>MoveDocument</label>
+ <parameter name="target" value="moveDocument"/>
+ </task>
+
+ <task id="renameDocument" class="org.apache.lenya.cms.task.AntTask">
+ <label>RenameDocument</label>
+ <parameter name="target" value="renameDocument"/>
+ </task>
+
+ <task id="movenode" class="org.apache.lenya.cms.task.AntTask">
+ <label>Move Node</label>
+ <parameter name="target" value="movenode"/>
+ </task>
+
+ <task id="deleteDocument" class="org.apache.lenya.cms.task.AntTask">
+ <label>DeleteDocument</label>
+ <parameter name="target" value="deleteDocument"/>
+ </task>
+
+ <task id="archiveDocument" class="org.apache.lenya.cms.task.AntTask">
+ <label>ArchiveDocument</label>
+ <parameter name="target" value="archiveDocument"/>
+ </task>
+
+ <task id="remove-asset" class="org.apache.lenya.cms.task.AntTask">
+ <label>RemoveAsset</label>
+ <parameter name="target" value="remove-asset"/>
+ </task>
+
+ <task id="insert-asset" class="org.apache.lenya.cms.task.AntTask">
+ <label>InsertAsset</label>
+ <parameter name="target" value="insert-asset"/>
+ </task>
+
+ <task id="restoreDocument" class="org.apache.lenya.cms.task.AntTask">
+ <label>RestoreDocument</label>
+ <parameter name="target" value="restoreDocument"/>
+ </task>
+
+ <task id="deleteTrash" class="org.apache.lenya.cms.task.AntTask">
+ <label>DeleteTrash</label>
+ <parameter name="target" value="deleteTrash"/>
+ </task>
+
+</tasks>
Added: lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/config/workflow/workflow.xml
URL: http://svn.apache.org/viewvc/lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/config/workflow/workflow.xml?rev=577177&view=auto
==============================================================================
--- lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/config/workflow/workflow.xml (added)
+++ lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/config/workflow/workflow.xml Wed Sep 19 00:09:42 2007
@@ -0,0 +1,86 @@
+<?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: workflow.xml 153817 2005-02-14 18:07:04Z gregor $ -->
+
+<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.xsd">
+
+ <state id="authoring" initial="true"/>
+ <state id="review"/>
+ <state id="live"/>
+ <state id="trash"/>
+ <state id="archive"/>
+
+ <variable name="is_live" value="false"/>
+
+ <transition source="authoring" destination="review">
+ <event id="submit"/>
+ <condition class="org.apache.lenya.cms.workflow.RoleCondition">edit</condition>
+ </transition>
+
+ <transition source="review" destination="live">
+ <event id="publish"/>
+ <condition class="org.apache.lenya.cms.workflow.RoleCondition">review</condition>
+ <assign variable="is_live" value="true"/>
+ </transition>
+
+ <transition source="review" destination="authoring">
+ <event id="reject"/>
+ <condition class="org.apache.lenya.cms.workflow.RoleCondition">review</condition>
+ </transition>
+
+ <transition source="live" destination="authoring">
+ <event id="edit"/>
+ <condition class="org.apache.lenya.cms.workflow.RoleCondition">edit</condition>
+ </transition>
+
+ <transition source="authoring" destination="authoring">
+ <event id="edit"/>
+ <condition class="org.apache.lenya.cms.workflow.RoleCondition">edit</condition>
+ </transition>
+
+ <transition source="live" destination="authoring">
+ <event id="deactivate"/>
+ <condition class="org.apache.lenya.cms.workflow.RoleCondition">review</condition>
+ <assign variable="is_live" value="false"/>
+ </transition>
+
+ <transition source="authoring" destination="trash">
+ <event id="delete"/>
+ <condition class="org.apache.lenya.cms.workflow.RoleCondition">edit</condition>
+ <assign variable="is_live" value="false"/>
+ </transition>
+
+ <transition source="authoring" destination="archive">
+ <event id="archive"/>
+ <condition class="org.apache.lenya.cms.workflow.RoleCondition">edit</condition>
+ <assign variable="is_live" value="false"/>
+ </transition>
+
+ <transition source="archive" destination="authoring">
+ <event id="restore"/>
+ <condition class="org.apache.lenya.cms.workflow.RoleCondition">edit</condition>
+ </transition>
+
+ <transition source="trash" destination="authoring">
+ <event id="restore"/>
+ <condition class="org.apache.lenya.cms.workflow.RoleCondition">edit</condition>
+ </transition>
+</workflow>
Added: lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/content/archive/sitetree.xml
URL: http://svn.apache.org/viewvc/lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/content/archive/sitetree.xml?rev=577177&view=auto
==============================================================================
--- lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/content/archive/sitetree.xml (added)
+++ lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/content/archive/sitetree.xml Wed Sep 19 00:09:42 2007
@@ -0,0 +1,25 @@
+<?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: sitetree.xml 413285 2006-06-10 11:10:23Z thorsten $ -->
+
+<site i18n:attr="label" label="Archive"
+ xmlns="http://apache.org/cocoon/lenya/sitetree/1.0"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xmlns:i18n="http://apache.org/cocoon/i18n/2.1"
+>
+</site>
Added: lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/content/authoring/concepts/index_de.xml
URL: http://svn.apache.org/viewvc/lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/content/authoring/concepts/index_de.xml?rev=577177&view=auto
==============================================================================
--- lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/content/authoring/concepts/index_de.xml (added)
+++ lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/content/authoring/concepts/index_de.xml Wed Sep 19 00:09:42 2007
@@ -0,0 +1,84 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<html xmlns="http://www.w3.org/1999/xhtml"
+xmlns:xhtml="http://www.w3.org/1999/xhtml"
+xmlns:dc="http://purl.org/dc/elements/1.1/"
+xmlns:dcterms="http://purl.org/dc/terms/"
+xmlns:lenya="http://apache.org/cocoon/lenya/page-envelope/1.0"
+xhtml:dummy="FIXME:keepNamespace" dc:dummy="FIXME:keepNamespace"
+lenya:dummy="FIXME:keepNamespace" dcterms:dummy="FIXME:keepNamespace">
+
+<!--
+ 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_de.xml 149362 2005-02-01 03:33:00Z gregor $ -->
+ <lenya:meta>
+ <dc:title>Konzepte</dc:title>
+ <dc:creator>Lenya Development Team</dc:creator>
+ <dc:subject>Lenya Konzepte</dc:subject>
+ <dc:description>Erklärt Lenya Konzepte.</dc:description>
+ <dc:publisher>Apache Software Foundation</dc:publisher>
+ <dc:contributor/>
+ <dc:date>2005-01-31</dc:date>
+ <dc:type/>
+ <dc:format/>
+ <dc:identifier/>
+ <dc:source/>
+ <dc:language>de</dc:language>
+ <dc:relation/>
+ <dc:coverage/>
+ <dc:rights>Alle Rechte vorbehalten</dc:rights>
+ </lenya:meta>
+ <head>
+ <title>Konzepte</title>
+ </head>
+ <body>
+ <h1>Konzepte</h1>
+
+ <h2>Publications</h2>
+
+ <p>In Apache Lenya, a website is called a
+ <strong>publication</strong>.</p>
+
+ <h2>Areas: Authoring and Live</h2>
+
+ <p>Apache Lenya separates between different areas:</p>
+ <ul>
+ <li>The authoring area is for creating and editing of
+ content. All CMS functions are available here.</li>
+
+ <li>Once the content has been published it is moved to the live
+ area. The live area can be served by a web server directly or
+ you can add another intermediate step where the content is
+ replicated from the live area to the actual web server. In any
+ case the live area simply serves as a preview to the content
+ that will be served by the web server.</li>
+ </ul>
+
+ <h2>Document types</h2>
+
+ <p>As Apache Lenya is based on Apache Cocoon, it has strong XML and
+ XSLT foundations. It is possible to ensure that a document
+ conforms to an XML schema. Typically you define different types of
+ documents, like an news article or an opinion piece, conforming to
+ different XML schemas. These different types are referred to as
+ document types. They are used to ensure the XML schema conformance
+ when editing and typically also when preparing a presentation of
+ the document, where an opinion piece has a different layout than a
+ news article.</p>
+
+ </body>
+</html>
Added: lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/content/authoring/concepts/index_en.xml
URL: http://svn.apache.org/viewvc/lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/content/authoring/concepts/index_en.xml?rev=577177&view=auto
==============================================================================
--- lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/content/authoring/concepts/index_en.xml (added)
+++ lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/content/authoring/concepts/index_en.xml Wed Sep 19 00:09:42 2007
@@ -0,0 +1,78 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<html xmlns="http://www.w3.org/1999/xhtml" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:dcterms="http://purl.org/dc/terms/" xmlns:lenya="http://apache.org/cocoon/lenya/page-envelope/1.0" xmlns:xhtml="http://www.w3.org/1999/xhtml" dc:dummy="FIXME:keepNamespace" dcterms:dummy="FIXME:keepNamespace" lenya:dummy="FIXME:keepNamespace" xhtml:dummy="FIXME:keepNamespace">
+<!--
+ 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_en.xml 149362 2005-02-01 03:33:00Z gregor $ -->
+ <lenya:meta>
+<dc:title>Some Lenya Concepts</dc:title>
+<dc:creator>Lenya Development Team</dc:creator>
+<dc:subject>Lenya Concepts</dc:subject>
+<dc:description>An introduction to some Lenya concepts</dc:description>
+<dc:publisher>alice|Alice|[email protected]</dc:publisher>
+<dc:contributor/>
+<dc:date>2005-01-31</dc:date>
+<dc:type/>
+<dc:format/>
+<dc:identifier/>
+<dc:source/>
+<dc:language>en</dc:language>
+<dc:relation/>
+<dc:coverage/>
+<dc:rights>All rights reserved</dc:rights>
+<dcterms:issued>2007-09-19 01:32:05</dcterms:issued>
+<dcterms:modified>2007-09-19 01:32:05</dcterms:modified>
+</lenya:meta>
+ <head>
+ <title>Concepts</title>
+ </head>
+ <body>
+ <h1>Concepts</h1>
+
+ <h2>Publications</h2>
+
+ <p>In Apache Lenya, a website is called a
+ <strong>publication</strong>.</p>
+
+ <h2>Areas: Authoring and Live</h2>
+
+ <p>Apache Lenya separates between different areas:</p>
+ <ul>
+ <li>The authoring area is for creating and editing of
+ content. All CMS functions are available here.</li>
+
+ <li>Once the content has been published it is moved to the live
+ area. The live area can be served by a web server directly or
+ you can add another intermediate step where the content is
+ replicated from the live area to the actual web server. In any
+ case the live area simply serves as a preview to the content
+ that will be served by the web server.</li>
+ </ul>
+
+ <h2>Document types</h2>
+
+ <p>As Apache Lenya is based on Apache Cocoon, it has strong XML and
+ XSLT foundations. It is possible to ensure that a document
+ conforms to an XML schema. Typically you define different types of
+ documents, like an news article or an opinion piece, conforming to
+ different XML schemas. These different types are referred to as
+ document types. They are used to ensure the XML schema conformance
+ when editing and typically also when preparing a presentation of
+ the document, where an opinion piece has a different layout than a
+ news article.</p>
+
+ </body>
+</html>
Added: lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/content/authoring/doctypes/index_de.xml
URL: http://svn.apache.org/viewvc/lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/content/authoring/doctypes/index_de.xml?rev=577177&view=auto
==============================================================================
--- lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/content/authoring/doctypes/index_de.xml (added)
+++ lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/content/authoring/doctypes/index_de.xml Wed Sep 19 00:09:42 2007
@@ -0,0 +1,58 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<html xmlns="http://www.w3.org/1999/xhtml"
+xmlns:xhtml="http://www.w3.org/1999/xhtml"
+xmlns:dc="http://purl.org/dc/elements/1.1/"
+xmlns:dcterms="http://purl.org/dc/terms/"
+xmlns:lenya="http://apache.org/cocoon/lenya/page-envelope/1.0"
+xhtml:dummy="FIXME:keepNamespace" dc:dummy="FIXME:keepNamespace"
+lenya:dummy="FIXME:keepNamespace" dcterms:dummy="FIXME:keepNamespace">
+
+<!--
+ 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_de.xml 149362 2005-02-01 03:33:00Z gregor $ -->
+ <lenya:meta>
+ <dc:title>Einige Dokumenttyp Beispiele</dc:title>
+ <dc:creator>Lenya Development Team</dc:creator>
+ <dc:subject>Dokumenttyp Beispiele</dc:subject>
+ <dc:description>Enthält Beispiele von Dokumenttypen</dc:description>
+ <dc:publisher>Apache Software Foundation</dc:publisher>
+ <dc:contributor/>
+ <dc:date>2005-01-31</dc:date>
+ <dc:type/>
+ <dc:format/>
+ <dc:identifier/>
+ <dc:source/>
+ <dc:language>de</dc:language>
+ <dc:relation/>
+ <dc:coverage/>
+ <dc:rights>Alle Rechte vorbehalten</dc:rights>
+ </lenya:meta>
+ <head>
+ <title>Dokumenttyp Beispiele</title>
+ </head>
+ <body>
+ <h1>Dokumenttyp Beispiele</h1>
+
+ <p>The default publication comes with the <a href="/lenya/default/authoring/doctypes/xhtml-document.html">XHTML Doctype.</a></p>
+
+ <p>The XHTML Doctype is for situations where
+ users ask for complete freedom on what information can be inserted
+ into a document. While this approach doesn't restrict you, it also
+ looses some of the major benefits of well defined document types.</p>
+
+ </body>
+</html>
Added: lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/content/authoring/doctypes/index_en.xml
URL: http://svn.apache.org/viewvc/lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/content/authoring/doctypes/index_en.xml?rev=577177&view=auto
==============================================================================
--- lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/content/authoring/doctypes/index_en.xml (added)
+++ lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/content/authoring/doctypes/index_en.xml Wed Sep 19 00:09:42 2007
@@ -0,0 +1,54 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<html xmlns="http://www.w3.org/1999/xhtml" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:dcterms="http://purl.org/dc/terms/" xmlns:lenya="http://apache.org/cocoon/lenya/page-envelope/1.0" xmlns:xhtml="http://www.w3.org/1999/xhtml" dc:dummy="FIXME:keepNamespace" dcterms:dummy="FIXME:keepNamespace" lenya:dummy="FIXME:keepNamespace" xhtml:dummy="FIXME:keepNamespace">
+
+<!--
+ 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_en.xml 149362 2005-02-01 03:33:00Z gregor $ -->
+ <lenya:meta>
+<dc:title>Some Document Type Samples</dc:title>
+<dc:creator>Lenya Development Team</dc:creator>
+<dc:subject>Doctype Samples</dc:subject>
+<dc:description>Contains various samples of document types</dc:description>
+<dc:publisher>alice|Alice|[email protected]</dc:publisher>
+<dc:contributor/>
+<dc:date>2005-01-31</dc:date>
+<dc:type/>
+<dc:format/>
+<dc:identifier/>
+<dc:source/>
+<dc:language>en</dc:language>
+<dc:relation/>
+<dc:coverage/>
+<dc:rights>All rights reserved</dc:rights>
+<dcterms:issued>2007-09-19 01:32:19</dcterms:issued>
+<dcterms:modified>2007-09-19 01:32:19</dcterms:modified>
+</lenya:meta>
+ <head>
+ <title>Document Type Examples</title>
+ </head>
+ <body>
+ <h1>Document Type Examples</h1>
+
+ <p>The default publication comes with the <a href="/lenya/default/authoring/doctypes/xhtml-document.html">XHTML Doctype</a>.</p>
+
+ <p>The XHTML Doctype is for situations where
+ users ask for complete freedom on what information can be inserted
+ into a document. While this approach doesn't restrict you, it also
+ looses some of the major benefits of well defined document types.</p>
+
+ </body>
+</html>
Added: lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/content/authoring/doctypes/xhtml-document/index_de.xml
URL: http://svn.apache.org/viewvc/lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/content/authoring/doctypes/xhtml-document/index_de.xml?rev=577177&view=auto
==============================================================================
--- lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/content/authoring/doctypes/xhtml-document/index_de.xml (added)
+++ lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/content/authoring/doctypes/xhtml-document/index_de.xml Wed Sep 19 00:09:42 2007
@@ -0,0 +1,56 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<html xmlns="http://www.w3.org/1999/xhtml"
+xmlns:xhtml="http://www.w3.org/1999/xhtml"
+xmlns:dc="http://purl.org/dc/elements/1.1/"
+xmlns:dcterms="http://purl.org/dc/terms/"
+xmlns:lenya="http://apache.org/cocoon/lenya/page-envelope/1.0"
+xhtml:dummy="FIXME:keepNamespace" dc:dummy="FIXME:keepNamespace"
+lenya:dummy="FIXME:keepNamespace" dcterms:dummy="FIXME:keepNamespace">
+
+<!--
+ 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_de.xml 149362 2005-02-01 03:33:00Z gregor $ -->
+ <lenya:meta>
+ <dc:title>Der XHTML Dokumenttyp</dc:title>
+ <dc:creator>Lenya Development Team</dc:creator>
+ <dc:subject>XHTML Dokumenttyp</dc:subject>
+ <dc:description>Erklärt den XHTML Dokumenttyp</dc:description>
+ <dc:publisher>Apache Software Foundation</dc:publisher>
+ <dc:contributor/>
+ <dc:date>2005-01-31</dc:date>
+ <dc:type/>
+ <dc:format/>
+ <dc:identifier/>
+ <dc:source/>
+ <dc:language>de</dc:language>
+ <dc:relation/>
+ <dc:coverage/>
+ <dc:rights>Alle Rechte vorbehalten</dc:rights>
+ </lenya:meta>
+ <head>
+ <title>Der XHTML Dokumenttyp</title>
+ </head>
+ <body>
+ <h1>Der XHTML Dokumenttyp</h1>
+
+ <p>The XHTML Document Doctype is simply a XHTML document that
+ conforms to the <a href="http://www.w3.org/TR/xhtml1/">XHTML 1.0
+ definition</a> of the <a href="http://www.w3.org/">World Wide Web
+ Consortium (W3C)</a>.</p>
+
+ </body>
+</html>
Added: lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/content/authoring/doctypes/xhtml-document/index_en.xml
URL: http://svn.apache.org/viewvc/lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/content/authoring/doctypes/xhtml-document/index_en.xml?rev=577177&view=auto
==============================================================================
--- lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/content/authoring/doctypes/xhtml-document/index_en.xml (added)
+++ lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/content/authoring/doctypes/xhtml-document/index_en.xml Wed Sep 19 00:09:42 2007
@@ -0,0 +1,52 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<html xmlns="http://www.w3.org/1999/xhtml" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:dcterms="http://purl.org/dc/terms/" xmlns:lenya="http://apache.org/cocoon/lenya/page-envelope/1.0" xmlns:xhtml="http://www.w3.org/1999/xhtml" dc:dummy="FIXME:keepNamespace" dcterms:dummy="FIXME:keepNamespace" lenya:dummy="FIXME:keepNamespace" xhtml:dummy="FIXME:keepNamespace">
+
+<!--
+ 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_en.xml 149362 2005-02-01 03:33:00Z gregor $ -->
+ <lenya:meta>
+<dc:title>The XHTML Doctype</dc:title>
+<dc:creator>Lenya Development Team</dc:creator>
+<dc:subject>XHTML Doctype</dc:subject>
+<dc:description>Explains the XHTML Doctype</dc:description>
+<dc:publisher>alice|Alice|[email protected]</dc:publisher>
+<dc:contributor/>
+<dc:date>2005-01-31</dc:date>
+<dc:type/>
+<dc:format/>
+<dc:identifier/>
+<dc:source/>
+<dc:language>en</dc:language>
+<dc:relation/>
+<dc:coverage/>
+<dc:rights>All rights reserved</dc:rights>
+<dcterms:issued>2007-09-19 01:32:25</dcterms:issued>
+<dcterms:modified>2007-09-19 01:32:25</dcterms:modified>
+</lenya:meta>
+ <head>
+ <title>The XHTML Document Doctype</title>
+ </head>
+ <body>
+ <h1>The XHTML Document Doctype</h1>
+
+ <p>The XHTML Document Doctype is simply a XHTML document that
+ conforms to the <a href="http://www.w3.org/TR/xhtml1/">XHTML 1.0
+ definition</a> of the <a href="http://www.w3.org/">World Wide Web
+ Consortium (W3C)</a>.</p>
+
+ </body>
+</html>
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.