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/09/10 01:09:44 UTC
cvs commit: cocoon-lenya/src/webapp/lenya/pubs/blog/content introspection.xml
michi 2003/09/09 16:09:44
Modified: src/webapp/lenya/pubs/blog sitemap.xmap
Added: src/webapp/lenya/pubs/blog/config/ac/policies/atomapi
subtree-policy.acml
src/webapp/lenya/pubs/blog atomapi.xmap
src/webapp/lenya/pubs/blog/content introspection.xml
Log:
atomapi implementation started
Revision Changes Path
1.1 cocoon-lenya/src/webapp/lenya/pubs/blog/config/ac/policies/atomapi/subtree-policy.acml
Index: subtree-policy.acml
===================================================================
<?xml version="1.0"?>
<policy xmlns="http://apache.org/cocoon/lenya/ac/1.0">
<world>
<role id="visitor"/>
</world>
<user id="lenya">
<role id="editor"/>
</user>
</policy>
1.33 +15 -8 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.32
retrieving revision 1.33
diff -u -r1.32 -r1.33
--- sitemap.xmap 9 Sep 2003 20:18:50 -0000 1.32
+++ sitemap.xmap 9 Sep 2003 23:09:44 -0000 1.33
@@ -18,6 +18,20 @@
<map:read src="resources/css/styles.css" mime-type="text/css"/>
</map:match>
</map:pipeline>
+
+ <!-- WebDAV -->
+ <map:pipeline>
+ <map:match pattern="webdav/**">
+ <map:mount src="webdav.xmap" uri-prefix="webdav" check-reload="yes"/>
+ </map:match>
+ </map:pipeline>
+
+ <!-- AtomAPI -->
+ <map:pipeline>
+ <map:match pattern="atomapi/**">
+ <map:mount src="atomapi.xmap" uri-prefix="atomapi" check-reload="yes"/>
+ </map:match>
+ </map:pipeline>
<!-- Redirects -->
<map:pipeline>
@@ -36,13 +50,6 @@
<!-- The HTML Form Editor does send a redirect -->
<map:match pattern="*/sidebar.html">
<map:redirect-to uri="feeds/all/index.html"/>
- </map:match>
- </map:pipeline>
-
- <!-- WebDAV -->
- <map:pipeline>
- <map:match pattern="webdav/**">
- <map:mount src="webdav.xmap" uri-prefix="webdav" check-reload="yes"/>
</map:match>
</map:pipeline>
1.1 cocoon-lenya/src/webapp/lenya/pubs/blog/atomapi.xmap
Index: atomapi.xmap
===================================================================
<?xml version="1.0"?>
<!-- CVS: $Id: atomapi.xmap,v 1.1 2003/09/09 23:09:44 michi Exp $ -->
<map:sitemap xmlns:map="http://apache.org/cocoon/sitemap/1.0">
<map:components>
<map:selectors default="browser">
<map:selector logger="sitemap.selector.request-method" name="request-method" src="org.apache.cocoon.selection.RequestMethodSelector"/>
<map:selector logger="sitemap.selector.request-parameter" name="request-parameter" src="org.apache.cocoon.selection.RequestParameterSelector"/>
</map:selectors>
</map:components>
<map:views/>
<map:resources/>
<map:pipelines>
<!-- Introspection -->
<map:pipeline type="noncaching">
<map:match pattern="">
<map:generate src="content/introspection.xml"/>
<map:serialize type="xml"/>
</map:match>
<map:handle-errors type="500"/>
</map:pipeline>
<!-- search-entries -->
<map:pipeline type="noncaching">
<map:match pattern="search">
<map:select type="request-parameter">
<map:parameter name="parameter-name" value="atom-all"/>
<map:when test="">
<map:generate type="directory" src="content/authoring/entries/{1}/"/>
<map:serialize type="xml"/>
</map:when>
<map:otherwise> <!-- Introspection -->
<map:generate src="sitemap.xmap"/>
<map:serialize type="xml"/>
</map:otherwise>
</map:select>
<map:select type="request-parameter">
<map:parameter name="parameter-name" value="entry"/>
<map:when test="">
<map:generate src="content/authoring/entries/2003/07/28/1/index.xml"/>
<map:serialize type="xml"/>
</map:when>
<map:otherwise>
<map:generate src="content/authoring/entries/1998/10/29/levi/index.xml"/>
<map:serialize type="xml"/>
</map:otherwise>
</map:select>
</map:match>
<map:handle-errors type="500"/>
</map:pipeline>
</map:pipelines>
</map:sitemap>
1.1 cocoon-lenya/src/webapp/lenya/pubs/blog/content/introspection.xml
Index: introspection.xml
===================================================================
<?xml version="1.0"?>
<introspection>
<search-entries>http://127.0.0.1:8080/lenya/blog/atomapi/search</search-entries>
</introspection>
---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-cvs-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-cvs-help@cocoon.apache.org