forrest-svn mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rgard...@apache.org
Subject svn commit: r581249 - in /forrest/trunk/plugins/org.apache.forrest.plugin.input.feeder/resources: stylesheets/tagFeed-to-feedDesc.xsl taggedSources.xml
Date Tue, 02 Oct 2007 14:13:18 GMT
Author: rgardler
Date: Tue Oct  2 07:13:17 2007
New Revision: 581249

URL: http://svn.apache.org/viewvc?rev=581249&view=rev
Log:
more missed resources (why do I ever use a GUI, I always make mistakes)

Added:
    forrest/trunk/plugins/org.apache.forrest.plugin.input.feeder/resources/stylesheets/tagFeed-to-feedDesc.xsl
  (with props)
    forrest/trunk/plugins/org.apache.forrest.plugin.input.feeder/resources/taggedSources.xml
  (with props)

Added: forrest/trunk/plugins/org.apache.forrest.plugin.input.feeder/resources/stylesheets/tagFeed-to-feedDesc.xsl
URL: http://svn.apache.org/viewvc/forrest/trunk/plugins/org.apache.forrest.plugin.input.feeder/resources/stylesheets/tagFeed-to-feedDesc.xsl?rev=581249&view=auto
==============================================================================
--- forrest/trunk/plugins/org.apache.forrest.plugin.input.feeder/resources/stylesheets/tagFeed-to-feedDesc.xsl
(added)
+++ forrest/trunk/plugins/org.apache.forrest.plugin.input.feeder/resources/stylesheets/tagFeed-to-feedDesc.xsl
Tue Oct  2 07:13:17 2007
@@ -0,0 +1,39 @@
+<?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.
+-->
+<!--
+Stylesheet for generating an aggregated feed from multple feeds.
+-->
+<xsl:stylesheet version="1.0" 
+  xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
+  
+  <xsl:output method="xml" version="1.0" encoding="UTF-8"/>
+  
+  <xsl:param name="tag"/>
+  
+  <xsl:template match="taggedSources">
+    <feedDescriptor>
+      <xsl:apply-templates/>
+    </feedDescriptor>
+  </xsl:template>
+  
+  <xsl:template match="source">
+    <feed id="{@id}">
+      <url><xsl:value-of select="@href"/><xsl:value-of select="$tag"/></url>
+    </feed>
+  </xsl:template>
+</xsl:stylesheet>

Propchange: forrest/trunk/plugins/org.apache.forrest.plugin.input.feeder/resources/stylesheets/tagFeed-to-feedDesc.xsl
------------------------------------------------------------------------------
    svn:eol-style = native

Added: forrest/trunk/plugins/org.apache.forrest.plugin.input.feeder/resources/taggedSources.xml
URL: http://svn.apache.org/viewvc/forrest/trunk/plugins/org.apache.forrest.plugin.input.feeder/resources/taggedSources.xml?rev=581249&view=auto
==============================================================================
--- forrest/trunk/plugins/org.apache.forrest.plugin.input.feeder/resources/taggedSources.xml
(added)
+++ forrest/trunk/plugins/org.apache.forrest.plugin.input.feeder/resources/taggedSources.xml
Tue Oct  2 07:13:17 2007
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  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.
+-->
+<taggedSources>
+  <source id="diigo" href="http://www.diigo.com/rss/tag/"/>
+  <source id="delicious" href="http://del.icio.us/rss/tag/"/>
+  <source id="magnolia" href="http://ma.gnolia.com/rss/full/tags/"/>
+</taggedSources>
\ No newline at end of file

Propchange: forrest/trunk/plugins/org.apache.forrest.plugin.input.feeder/resources/taggedSources.xml
------------------------------------------------------------------------------
    svn:eol-style = native



Mime
View raw message