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/31 01:10:46 UTC

cvs commit: cocoon-lenya/src/webapp/lenya/pubs/blog/content/authoring sidebar.xml

michi       2003/08/30 16:10:46

  Modified:    src/webapp/lenya/pubs/blog sitemap.xmap
               src/webapp/lenya/pubs/blog/content/authoring sidebar.xml
  Log:
  Archives started to add
  
  Revision  Changes    Path
  1.26      +15 -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.25
  retrieving revision 1.26
  diff -u -r1.25 -r1.26
  --- sitemap.xmap	30 Aug 2003 12:46:56 -0000	1.25
  +++ sitemap.xmap	30 Aug 2003 23:10:46 -0000	1.26
  @@ -163,6 +163,20 @@
         </map:handle-errors>
       </map:pipeline>
   
  +    <!-- Archives -->
  +    <map:pipeline>
  +      <map:match pattern="*/archives/*/*/">
  +        <map:generate type="directory" src="content/{1}/entries/{2}/{3}/">
  +          <map:parameter name="depth" value="2"/>
  +          <map:parameter name="reverse" value="true"/>
  +        </map:generate>
  +        <map:serialize type="xml"/>
  +      </map:match>
  +      <map:handle-errors type="500">
  +        <map:serialize type="xml"/>
  +      </map:handle-errors>
  +    </map:pipeline>
  +
       <!-- Menubars -->
       <map:pipeline>
         <map:match pattern="authoring/menubar/entry.xml">
  
  
  
  1.2       +5 -9      cocoon-lenya/src/webapp/lenya/pubs/blog/content/authoring/sidebar.xml
  
  Index: sidebar.xml
  ===================================================================
  RCS file: /home/cvs/cocoon-lenya/src/webapp/lenya/pubs/blog/content/authoring/sidebar.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- sidebar.xml	29 Aug 2003 07:22:46 -0000	1.1
  +++ sidebar.xml	30 Aug 2003 23:10:46 -0000	1.2
  @@ -12,15 +12,10 @@
   <block>
   <title>Archives&#160;by&#160;Date</title>
   <content>
  -August 2003
  -<br />July 2003
  -<br />June 2003
  -<br />May 2003
  -<br />April 2003
  -<br />March 2003
  -<br />February 2003
  -<br />January 2003
  -<br />December 2002
  +<a href="/lenya/blog/authoring/archives/2003/07/">July 2003</a>
  +<br /><a href="/lenya/blog/authoring/archives/2001/07/">July 2001</a>
  +<br /><a href="/lenya/blog/authoring/archives/1998/10/">October 1998</a>
  +<br /><a href="/lenya/blog/authoring/archives/1969/02/">February 1969</a>
   </content>
   </block>
   
  @@ -29,6 +24,7 @@
   <content>
   <a href="http://cocoon.apache.org/lenya/">Lenya</a>
   <br /><a href="http://cocoon.apache.org">Cocoon</a>
  +<br /><a href="http://www.apache.org">Apache</a>
   </content>
   </block>
   
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-cvs-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-cvs-help@cocoon.apache.org