GeoRSS Widget ATOM Feed

3560
10
10-26-2010 01:58 PM
JoshuaKeller
New Contributor
I am attempting to use an ATOM feed with the 2.1 GeoRSS widget and I seem to be having some troubles. It displays the points correctly but I'm not able to get the title etc. to display, it just uses the widget title as the default. I know that the feed is good because I can recompile the Reading GeoRSS feeds from the ESRI sample and replace the Flickr URL with my feeds URL and that loads correctly, displaying all of the content and the title. Is there a difference in the config file for ATOM feeds or do I still just put the list of fields and title field? Is anyone else having this problem?

Thanks,
Josh
Tags (2)
0 Kudos
10 Replies
BjornSvensson
Esri Regular Contributor
Do you have an example of your feed that you could share?
0 Kudos
StephenGates
New Contributor II
Joshua,
did you get it working? I encounter similar problems with my first attempt.
I validated my feed at http://cite.opengeospatial.org/test_engine/georss_validator

Stephen
0 Kudos
StephenGates
New Contributor II
Sorry forgot to upload the Feed.

Had to rename it to .txt as upload didn't like .xml
0 Kudos
DanielMunoz
Occasional Contributor
I'm also having troubles. here is a link

http://rss.nyalert.gov/GeoAtom/feeds/_NewYorkStateGEOATOM.xml

thx
Daniel
0 Kudos
Ranga_Tolapi
Occasional Contributor III
Has anyone got the solution? I am also facing this issue.

My feed URL: http://earthquake.usgs.gov/earthquakes/catalogs/1day-M2.5.xml
0 Kudos
JeffMarion
New Contributor II
Is there an answer to this?  USGS is phasing out the xml feed.  I am trying to use their new ATOM feed, the points display but I can't get the title, etc. to display.  The URL I am using is this:  
http://earthquake.usgs.gov/earthquakes/feed/v1.0/summary/2.5_week.atom
0 Kudos
BjornSvensson
Esri Regular Contributor
Is there an answer to this?  USGS is phasing out the xml feed.  I am trying to use their new ATOM feed, the points display but I can't get the title, etc. to display.  The URL I am using is this:  
http://earthquake.usgs.gov/earthquakes/feed/v1.0/summary/2.5_week.atom


The support for different GeoRSS feeds was improved a few .versions ago. What version are you using? Did you try with http://earthquake.usgs.gov/earthquakes/feed/atom/2.5/week ? It seems to work for me in version 3.5 at least.

Another think to keep in mind is that GeoRSS is also supported as a layer type (if you just want to show them on the map, and not have each item listed in the GeoRSS widget.
0 Kudos
JeffMarion
New Contributor II
Bjorn,

I am using ESRI Flex 3.0 version.  I have tried http://earthquake.usgs.gov/earthquakes/feed/atom/2.5/week and it still does not display the title, etc. 

My georss config xml looks like this:
<?xml version="1.0" ?>
    <source>http://earthquake.usgs.gov/earthquakes/feed/atom/2.5/week</source>
    <fields>
        <field name="updated" alias="Date"/>
    </fields>
    <titlefield>title</titlefield>
    <linkfield>link</linkfield>
    <refreshrate></refreshrate>
    <zoomscale>10000000</zoomscale>
</configuration>


[ATTACH=CONFIG]30804[/ATTACH]
0 Kudos
GeorgeHaskett
Occasional Contributor III
jmar,

If this is the code you are using it looks like you are missing your initial <configuration> statement.
Also, don't know if it matters, but your field name = "updated" while I am using "description".
Your code also doesn't include encoding="utf-8"

Here is the code I am using and it works fine:

<?xml version="1.0" encoding="utf-8"?>
<configuration>
  <source>http://earthquake.usgs.gov/earthquakes/feed/atom/2.5/week</source>
  <fields>
    <field name="description" alias="Date" />
  </fields>
  <titlefield>title</titlefield>
  <linkfield>link</linkfield>
  <refreshrate>300</refreshrate>
  <zoomscale>10000000</zoomscale>
  <symbols>
    <picturemarkersymbol url="assets/images/imgs/disaster/earthquakeGraph.png" height="25" width="25"></picturemarkersymbol>
  </symbols>
</configuration>
0 Kudos