You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@oodt.apache.org by rl...@apache.org on 2012/07/24 20:21:54 UTC
svn commit: r1365203 - in /oodt/trunk/webapp/fmprod/src/main/resources:
georss-config.xml rssconf.xml
Author: rlaidlaw
Date: Tue Jul 24 18:21:54 2012
New Revision: 1365203
URL: http://svn.apache.org/viewvc?rev=1365203&view=rev
Log:
OODT-471: added namespace definitions to the RSS config files for the File Manager RSS service
Modified:
oodt/trunk/webapp/fmprod/src/main/resources/georss-config.xml
oodt/trunk/webapp/fmprod/src/main/resources/rssconf.xml
Modified: oodt/trunk/webapp/fmprod/src/main/resources/georss-config.xml
URL: http://svn.apache.org/viewvc/oodt/trunk/webapp/fmprod/src/main/resources/georss-config.xml?rev=1365203&r1=1365202&r2=1365203&view=diff
==============================================================================
--- oodt/trunk/webapp/fmprod/src/main/resources/georss-config.xml (original)
+++ oodt/trunk/webapp/fmprod/src/main/resources/georss-config.xml Tue Jul 24 18:21:54 2012
@@ -23,7 +23,7 @@ the License.
compatible tags. This file contains example GeoRSS tags.
-->
-<cas:rssconf xmlns:cas="http://oodt.apache.org/components/cas">
+<rss:rssconf xmlns:rss="http://oodt.apache.org/ns/rss">
<!--
An option "channelLink" attribute may be set on the above outer tag to set
@@ -60,12 +60,9 @@ the License.
assuming that you have indexed met fields named Latitude and Longitude for
your product (update as appropriate otherwise).
- <tag name="geo:lat" source="[Latitude]">
- <attribute name="xmlns:geo" value="http://www.w3.org/2003/01/geo/wgs84_pos#" />
- </tag>
- <tag name="geo:long" source="[Longitude]">
- <attribute name="xmlns:geo" value="http://www.w3.org/2003/01/geo/wgs84_pos#" />
- </tag>
+ <namespace prefix="geo" uri="http://www.w3.org/2003/01/geo/wgs84_pos#" />
+ <tag name="geo:lat" source="[Latitude]" />
+ <tag name="geo:long" source="[Longitude]" />
-->
<!--
@@ -74,12 +71,12 @@ the License.
have indexed met fields named Latitude and Longitude for your product
(update as appropriate otherwise).
- <tag name="georss:point" source="[Latitude] [Longitude]">
- <attribute name="xmlns:georss" value="http://www.georss.org/georss" />
- </tag>
+ <namespace prefix="georss" uri="http://www.georss.org/georss" />
+ <tag name="georss:point" source="[Latitude] [Longitude]" />
-->
-
+
+ <namespace prefix="cas" uri="http://oodt.apache.org/ns/cas" />
<tag name="cas:source" source="[ProductType]" />
<tag name="source" source="[ProductType]" />
-</cas:rssconf>
+</rss:rssconf>
Modified: oodt/trunk/webapp/fmprod/src/main/resources/rssconf.xml
URL: http://svn.apache.org/viewvc/oodt/trunk/webapp/fmprod/src/main/resources/rssconf.xml?rev=1365203&r1=1365202&r2=1365203&view=diff
==============================================================================
--- oodt/trunk/webapp/fmprod/src/main/resources/rssconf.xml (original)
+++ oodt/trunk/webapp/fmprod/src/main/resources/rssconf.xml Tue Jul 24 18:21:54 2012
@@ -20,8 +20,7 @@ the License.
main aspects of this file are the ability to recast a product's
metadata as relevant RSS compatiable tags.
-->
-<!-- FIXME: adjust namespace URI? -->
-<cas:rssconf xmlns:cas="http://oodt.jpl.nasa.gov/1.0/cas">
+<rss:rssconf xmlns:rss="http://oodt.apache.org/ns/rss">
<!--
An option "channelLink" attribute may be set on the above outer tag to
set the channel's link attribute.
@@ -72,10 +71,12 @@ the License.
named Latitude and Longitude for your product (update as
appropriate otherwise).
- <tag name="georss:point" source="[Latitude] [Longitude]"/>
+ <namespace prefix="georss" uri="http://www.georss.org/georss" />
+ <tag name="georss:point" source="[Latitude] [Longitude]" />
-->
- <tag name="cas:source" source="[ProductType]"/>
- <tag name="source" source="[ProductType]"/>
+ <namespace prefix="cas" uri="http://oodt.apache.org/ns/cas" />
+ <tag name="cas:source" source="[ProductType]" />
+ <tag name="source" source="[ProductType]" />
-</cas:rssconf>
+</rss:rssconf>