logo       

svn commit: r220201 - /lenya/trunk/src/webapp/lenya/pubs/blog/sitemap.xmap: msg#00092

Subject: svn commit: r220201 - /lenya/trunk/src/webapp/lenya/pubs/blog/sitemap.xmap
Author: michi
Date: Thu Jul 21 15:56:39 2005
New Revision: 220201

URL: http://svn.apache.org/viewcvs?rev=220201&view=rev
Log:
lenya protocol used instead of FS calls

Modified:
    lenya/trunk/src/webapp/lenya/pubs/blog/sitemap.xmap

Modified: lenya/trunk/src/webapp/lenya/pubs/blog/sitemap.xmap
URL: 
http://svn.apache.org/viewcvs/lenya/trunk/src/webapp/lenya/pubs/blog/sitemap.xmap?rev=220201&r1=220200&r2=220201&view=diff
==============================================================================
--- lenya/trunk/src/webapp/lenya/pubs/blog/sitemap.xmap (original)
+++ lenya/trunk/src/webapp/lenya/pubs/blog/sitemap.xmap Thu Jul 21 15:56:39 2005
@@ -19,6 +19,12 @@
 
 <map:sitemap xmlns:map="http://apache.org/cocoon/sitemap/1.0";>
 
+  <map:components>
+    <map:generators default="file">
+      <map:generator logger="sitemap.generator.traversable" name="traversable" 
src="org.apache.cocoon.generation.TraversableGenerator"/>
+    </map:generators>
+  </map:components>
+
   <map:resources>
           <map:resource name="style-cms-page">
       <map:transform type="i18n">      
@@ -87,9 +93,9 @@
       </map:match>
       <map:match pattern="*/entries/*/*/*/*/lenya-body.xml">
         <map:aggregate element="feed">
-          <map:part src="content/{1}/feeds/all/index.xml"/>
+          <map:part 
src="lenya://lenya/pubs/blog/content/{1}/feeds/all/index.xml"/>
           <map:part src="cocoon:/{1}/entries/{2}/{3}/{4}/{5}/index.xml"/>
-          <map:part src="content/{1}/sidebar.xml"/>
+          <map:part src="lenya://lenya/pubs/blog/content/{1}/sidebar.xml"/>
         </map:aggregate>
         <map:transform src="xslt/entry/aggregate.xsl"/>
         <map:serialize type="xml"/>
@@ -180,9 +186,12 @@
     <map:pipeline>
       <map:match pattern="*/feeds/*/index.xml">
         <map:act type="resource-exists">
-          <map:parameter name="url" value="content/{1}/entries"/>
+          <map:parameter name="url" 
value="lenya://lenya/pubs/blog/content/{1}/entries"/>
        
           <map:generate type="directory" src="content/{../1}/entries">
+<!--
+          <map:generate type="traversable" 
src="lenya://lenya/pubs/blog/content/{../1}/entries">
+-->
             <map:parameter name="depth" value="4"/>
             <map:parameter name="reverse" value="true"/>
           </map:generate>
@@ -194,7 +203,7 @@
           <map:serialize type="xml"/>
         </map:act>
 
-        <map:generate src="content/{1}/feeds/all/index.xml"/>
+        <map:generate 
src="lenya://lenya/pubs/blog/content/{1}/feeds/all/index.xml"/>
         <map:serialize type="xml"/>
       </map:match>
       <map:match pattern="*/feeds/*/lenya-page-body.xml">


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
qnx.openqnx.dev...    politics.lenini...    audio.emagic.ex...    tex.texinfo.gen...    handhelds.linux...    ietf.sipping/20...    lang.erlang.gen...    cygwin.talk/200...    yellowdog.gener...    mozilla.devel.l...    xfree86.newbie/...    openbsd.ports/2...    db.oracle.devel...    kde.kalyxo.deve...    user-groups.lin...    bbc.cvs/2003-04...    gnu.libtool.bug...    redhat.k12osn/2...    emulators.wine....    freebsd.devel.d...    search.xapian.g...    java.izpack.use...    network.mrtg.us...    windows.total-c...   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe