Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

After navigating to the above location, you should see an RSS output.  Depending on your browser, you may have to ‘view source’ to see the XML.  You should be able to see your new tags in the output, for example as illustrated by the following screenshot::

Code Block

<rss xmlns:cas="http://oodt.jpl.nasa.gov/1.0/cas" version="2.0">
  <channel>
    <title>ALL</title>
    <link>
      http://localhost:8080/fmprod/rdf/dataset?type=ALL&typeID=null
    </link>
    <description>ALL</description>
    <language>en-us</language>
    <copyright>Copyright 2010: Apache Software Foundation</copyright>
    <pubDate>Mon, 02 Apr 2012 23:24:07 BST</pubDate>
    <category>ALL</category>
    <generator>CAS File Manager</generator>
    <lastBuildDate>Mon, 02 Apr 2012 23:24:07 BST</lastBuildDate>
    <item>
      <title>geodata.txt</title>
      <description>GenericFile</description>
      <link>
        http://localhost:8080/fmprod/data?productID=532f56ef-7d12-11e1-90fa-8523ce23740f
      </link>
      <pubDate>Tue, 03 Apr 2012 00:22:25 BST</pubDate>
      <geo:lat xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#">10</geo:lat>
      <geo:long xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#">30</geo:long>
      <cas:source>GenericFile</cas:source>
      <source>GenericFile</source>
    </item>
  </channel>
</rss>

SIS Webapp Configuration

Add the URL used in the CAS REST API to the ‘sis_location_config.xml’ file for the SIS webapp.  By default, this is located in the WEB-INF/classes directory of the SIS webapp.  Remove all of the other RSS URLs from the file.  After editing the file, it should look similar to the following:

...