Author: rgardler
Date: Tue Oct 2 06:56:33 2007
New Revision: 581240
URL: http://svn.apache.org/viewvc?rev=581240&view=rev
Log:
Missing file from addition of tag feed aggregation
Added:
forrest/trunk/plugins/org.apache.forrest.plugin.input.feeder/resources.xmap
Added:
forrest/trunk/plugins/org.apache.forrest.plugin.input.feeder/resources.xmap
URL:
http://svn.apache.org/viewvc/forrest/trunk/plugins/org.apache.forrest.plugin.input.feeder/resources.xmap?rev=581240&view=auto
==============================================================================
--- forrest/trunk/plugins/org.apache.forrest.plugin.input.feeder/resources.xmap
(added)
+++ forrest/trunk/plugins/org.apache.forrest.plugin.input.feeder/resources.xmap
Tue Oct 2 06:56:33 2007
@@ -0,0 +1,57 @@
+<?xml version="1.0"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You 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.
+-->
+<!-- ============================================================ -->
+<!-- Feed Plugin -->
+<!-- This plugin replaces generates XDocs from XML feeds such -->
+<!-- as RSS. -->
+<!-- ============================================================ -->
+<map:sitemap xmlns:map="http://apache.org/cocoon/sitemap/1.0">
+ <map:pipelines>
+ <map:pipeline>
+
+ <map:match pattern="*.tagFeed.rss">
+ <map:generate src="{lm:feeder.tag-{1}.sources}"/>
+ <map:transform src="{lm:feeder.transform.tagFeed.feedDesc}">
+ <map:parameter name="tag" value="{1}"/>
+ </map:transform>
+ <map:transform src="{lm:feeder.transform.feedDesc.RSS20}"/>
+ <map:serialize type="xml"/>
+ </map:match>
+
+ <map:match pattern="**/*.tagFeed.rss">
+ <map:generate src="{lm:feeder.tag-{2}.sources}"/>
+ <map:transform src="{lm:feeder.transform.tagFeed.feedDesc}">
+ <map:parameter name="tag" value="{2}"/>
+ </map:transform>
+ <map:transform src="{lm:feeder.transform.feedDesc.RSS20}"/>
+ <map:serialize type="xml"/>
+ </map:match>
+
+ <map:match pattern="*.rss">
+ <map:generate src="{lm:project.{1}.xml}"/>
+ <map:transform src="{lm:feeder.transform.feedDesc.RSS20}"/>
+ <map:serialize type="xml"/>
+ </map:match>
+ <map:match pattern="**/*.rss">
+ <map:generate src="{lm:project.{1}/{2}.xml}"/>
+ <map:transform src="{lm:feeder.transform.feedDesc.RSS20}"/>
+ <map:serialize type="xml"/>
+ </map:match>
+ </map:pipeline>
+ </map:pipelines>
+</map:sitemap>