Select to view content in your preferred language

RSS feed

958
7
07-26-2011 03:11 AM
FaizanTayyab
Deactivated User
Hello,

is it possible to include a rss feed directly in the flex viewer. I know there is a georss widget but has anyone worked with the rss feed directly or used any service/tool to convert the rss feed into a georss feed, hence it can be used in the georss widget.

any ideas/suggestions.

Regards
Tags (2)
0 Kudos
7 Replies
RobertScheitlin__GISP
MVP Emeritus
Fiazan,

Sure a little Googling will get you this link.

http://www.geonames.org/rss-to-georss-converter.html
0 Kudos
FaizanTayyab
Deactivated User
Thanks Robert.

I had a look at geonames and metacarta. Just have been experimenting with Metacarta GeoTagger and it seems to work, however for some rss feeds, clicking on them throws the null exception. Next i will try geonames as well but the problem seems to be the widget itself i think.
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
Faizan,

   Also it could be that the RSS feed does not have a good location word in it's context that can be tied down to a geo location.
0 Kudos
FaizanTayyab
Deactivated User
Thats a valid point as well. In the rss feed list i am getting about 20 feeds but only around 6 on the flexviewer map.

Now it seems, that is a chance the geocoding is failing against certain names.

Clicking on an item in the list with no equivalent icon on the map is giving the null error.

However metacarta uses openlayers to display the same rss feed and it is showing all 20 on the map (which makes me think that it is something in the widget)
0 Kudos
FaizanTayyab
Deactivated User
With some custom code I have been able to add a rss feed onto my map. Basically, all news items are added country wise rather then at exact Lat Lon locations. This is because Metacarta and geonames fail to find the exact locations of most of the rss feed i am using.

Anyway with my own lookup data, i am able to add lat lon for each news item based on country centroid. Hence clicking on a country returns all news items for that particular country. All works fine..

however now there is a requirement to keep a history of all rss feed for upto a week, what options do i have? The rss feed i am using changes daily and i need to keep all the rss feed data for about 1 week that should be retrievable when required.

Any ideas on how to achieve this? Would storing the a full week rss feed xml files work, is it possible? and then providing a drop down menu for each date.

Any ideas??

Thanks
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
Faizan,

   What you are wanting to do here is not really client side coding which is what Flex is. It sound like you need a Server side application that has access to a DBMS where you could store the weeks worth of feeds and then have a web service that exposed that data to the client side flex app. This is really beyond the scope of this forum.
0 Kudos
FaizanTayyab
Deactivated User
Faizan,

   What you are wanting to do here is not really client side coding which is what Flex is. It sound like you need a Server side application that has access to a DBMS where you could store the weeks worth of feeds and then have a web service that exposed that data to the client side flex app. This is really beyond the scope of this forum.


Thanks Robert, just exploring the possibilities. Will need to go towards server side scripting as you suggested.

Thanks
0 Kudos