Base GEORSS Widget Question

423
0
03-08-2011 05:44 PM
KirkHarstead
New Contributor III
Hello,

I am using Flash Builder 4 along with the latest FlexViewer 2.2 SRC. I made a few modifications to the earthquake.usgs.gov GEORSS widget. I created a new xml file for my own use (based off the earthquake xml) and have pointed my widget to that file (see code below).

1. Things seem to work okay except for one thing ... the main content in the pop-up window that points to the GEORSS icon on the map is acting weird. The content that is showing up (after the content "Date: ....") is coming from several of the xml entries (unique news items) instead of just the one that is selected (see attached image). Any ideas why various content is getting merged together?

2. If I want to change any of the code like below (<titlefield>, <descriptionfield>, <linkfield>link</linkfield>) in the GEORSSWidget.xml file do I need to also modify any other files?

3. Also I used the latest FlexViewer 2.2 SRC and simply pointed to the SRC zip file with Flash Builder 4  and just started working. Do i need to download and istall the latest Flex 4 SDK and if so how do I configure Flash Builder 4 to use it?

http://opensource.adobe.com/wiki/display/flexsdk/Download+Flex+4

Thanks in advance,

Kirk

##############################################

<?xml version="1.0" ?>
<configuration>
<!-- <source>http://earthquake.usgs.gov/eqcenter/catalogs/eqs7day-M5.xml</source>-->
<source>http://website.com/xml/niobrarausgs.xml</source>
   
 
  <fields>
<field name="description" alias="Date"/> 
    </fields>
   
    <titlefield>title</titlefield>

    <descriptionfield>description</descriptionfield>

    <linkfield>link</linkfield>
    <refreshrate></refreshrate>
    <zoomscale>150000</zoomscale>
    <info>widgets/InfoTemplates/InfoPopupWidget.swf</info>
</configuration>

##############################################
Tags (2)
0 Kudos
0 Replies