You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lenya.apache.org by mi...@apache.org on 2003/08/15 11:54:03 UTC
cvs commit: cocoon-lenya/src/webapp/lenya/pubs/blog/content/authoring/entries/2003/07/28/1 test.xml
michi 2003/08/15 02:54:03
Modified: src/webapp/lenya/pubs/blog sitemap.xmap
src/webapp/lenya/pubs/blog/config/menus entry.xsp
Added: src/webapp/lenya/pubs/blog/content/authoring/entries/2003/07/28/1
test.xml
Log:
started to implement BXENG
Revision Changes Path
1.4 +12 -1 cocoon-lenya/src/webapp/lenya/pubs/blog/sitemap.xmap
Index: sitemap.xmap
===================================================================
RCS file: /home/cvs/cocoon-lenya/src/webapp/lenya/pubs/blog/sitemap.xmap,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- sitemap.xmap 10 Aug 2003 17:39:32 -0000 1.3
+++ sitemap.xmap 15 Aug 2003 09:54:03 -0000 1.4
@@ -50,6 +50,17 @@
</map:handle-errors>
</map:pipeline>
+ <!-- Entries BX Editor -->
+ <map:pipeline>
+ <map:match pattern="*/entries/*/*/*/*/index-bxeng.xml">
+ <map:generate src="content/{1}/entries/{2}/{3}/{4}/{5}/test.xml"/>
+ <map:serialize type="xml"/>
+ </map:match>
+ <map:handle-errors type="500">
+ <map:serialize type="xml"/>
+ </map:handle-errors>
+ </map:pipeline>
+
<!-- Feeds -->
<map:pipeline>
<map:match pattern="*/feeds/*/index.xml">
1.4 +8 -0 cocoon-lenya/src/webapp/lenya/pubs/blog/config/menus/entry.xsp
Index: entry.xsp
===================================================================
RCS file: /home/cvs/cocoon-lenya/src/webapp/lenya/pubs/blog/config/menus/entry.xsp,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- entry.xsp 11 Aug 2003 15:51:24 -0000 1.3
+++ entry.xsp 15 Aug 2003 09:54:03 -0000 1.4
@@ -40,7 +40,12 @@
<menu name="File" label="File">
<block>
<item uc:usecase="edit" href="?lenya.step=open&doctype=entry">Edit with Forms</item>
+<!--
+ <item href="/bxeng/index.html?xml=/lenya/blog/authoring/entries/2003/07/28/1/index-bxeng.xml">Edit with BXENG</item>
+-->
<item>Edit with Midas</item>
+ </block>
+ <block>
<item uc:usecase="publish" uc:step="showscreen"><xsp:attribute name="href">?sources=<xsp:expr>source</xsp:expr>&uris=<xsp:expr>uri</xsp:expr></xsp:attribute>Publish</item>
</block>
<block>
@@ -68,6 +73,9 @@
<menu name="Debug" label="Debug">
<block>
<item href="index.xml">XML</item>
+<!--
+ <item href="index-bxeng.xml">XML for BXENG</item>
+-->
</block>
</menu>
</menus>
1.1 cocoon-lenya/src/webapp/lenya/pubs/blog/content/authoring/entries/2003/07/28/1/test.xml
Index: test.xml
===================================================================
<?xml version="1.0" encoding="UTF-8"?>
<unizh:content-document xmlns="http://www.w3.org/1999/xhtml" xmlns:lenya="http://apache.org/cocoon/lenya/document/1.0" xmlns:dc="http://dc.org/2003/" xmlns:unizh="http://unizh.ch/2003/">
<!-- the root element indicates the doctype -->
<lenya:meta>
<dc:title>Dokument- bzw. Seitentitel</dc:title>
<dc:description>Abstract</dc:description>
<dc:creator>Autor der Dokuments</dc:creator>
<dc:subject>Keywords</dc:subject>
<dc:publisher>Universität Zürich</dc:publisher>
<dc:date>
<dc:created>Creation date</dc:created>
<dc:issued>First published date</dc:issued>
</dc:date>
<dc:language>de</dc:language>
<dc:rights>Universität Zürich</dc:rights>
</lenya:meta>
<unizh:highlights>
<unizh:highlight>
<unizh:highlight-title>Title of the highlight (link allowed)</unizh:highlight-title>
<p>The text of the highlight.</p>
<p>Styles and links are allowed.</p>
</unizh:highlight>
</unizh:highlights>
<body>
<unizh:parenttitle/>
<!-- <h1>Headline 1</h1> wird durch dc:title eingefuellt -->
<anchor/>
<p> Paragraph</p>
<h2>Lenya is using BXENG (headline 2)</h2>
<p>Different <b>text style</b>s can be used: <b>bold</b> or <i>italic</i> or
<small>small</small></p>
<p>There is also an element <attention>attdddention"</attention>.</p>
<p>Links can be set to <a href="http://www.unizh.ch/">external resources</a>
as well as to <a href="/studium/mobilitaet/sokrates.html">internal
pages</a>.</p>
<p>There are also markups: <attention>warning</attention> and cite</p>
<lala src="http://www.unizh.ch/img_uni/unilogo.gif" alt="Logo der Universität Zürich">
<lenya:caption>Caption</lenya:caption>
<lenya:producer>Author</lenya:producer>
</lala>
<lenya:asset src="anmeldeformular.pdf" mime-type="application/pdf">
<lenya:asset-title>Anmeldeformular für den Sommerkurs</lenya:asset-title>
</lenya:asset>
<lenya:asset src="briefvorlage.doc" mime-type="application/msword">
<lenya:asset-title>Briefvorlage</lenya:asset-title>
</lenya:asset>
<h2>Tablessss</h2>
<table class="basic">
<caption>Table Title</caption>
<col/>
<col align="center"/>
<col align="right"/>
<tr align="right">
<td>x</td>
<td>y</td>
<td>z</td>
</tr>
<tr align="center">
<td>xx</td>
<td>yy</td>
<td>zz</td>
</tr>
</table>
<h2>Lists</h2>
<h3>Unordered List</h3>
<ul class="simple">
<li>This is an unordered list</li>
<li>The xml follows the xhtml standard</li>
</ul>
<h3>Unordered List</h3>
<ol>
<li>This is an ordered list</li>
<li>The xml follows the xhtml standard</li>
</ol>
<index abstracts="true"/>
</body>
</unizh:content-document>
---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-cvs-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-cvs-help@cocoon.apache.org