Flex 2 MXNA RSS Reader Example #2 (HTTPService)

July 5th, 2006

This example RSS Reader does exactly what my first Macromedia XML News Aggregator (MXNA) RSS Reader Example does, except it uses HTTPService to do it with.
MXNA can be found here http://weblogs.macromedia.com/mxna/.

This example shows how to load external XML data with HTTPService(ie: RSS feed or Atom feed) and parse through the data.
It display the data using a repeatar class and uses navigateToUrl to provide links back to the
blog posts themselves.

To see the application run go to http://renaun.com/flex2/MXNARSSReader/RSSReader2.html
To see the application’s source code go to http://renaun.com/flex2/MXNARSSReader/srcview/

Entry Filed under: Adobe Flex, Rich Internet Applications

5 Comments Add your own

  • 1. Tolga Erdogus  |  2006-08-24 at 3.15 pm

    Do you have any experience with xml updates?
    How easy is it to build HTTPService based flex2 apps that actually update data in a database using xml (sqlxml)?

    Thanks

  • 2. Renaun Erickson  |  2006-08-24 at 3.21 pm

    Simple as other XML applications. Its XML, all the processing on the backend is the same.

    Renaun

  • 3. Paul  |  2006-08-31 at 10.55 am

    I created a simple XML reader in Flex 2 myself ( http://paulkarpenko.com/flash/LRDb.swf ) and while the swf works from the machine I created it on (opening the URL, seeing the data in the grid) .. almost nobody else can see the data that should be in the grid.

    Do you know if this something to do with HTTPService or Flex 2 or what?

  • 4. Renaun Erickson  |  2006-08-31 at 11.00 am

    I was able to view data in the grid. If its just the xml not showing up them have them try and view the xml directly. If its the SWF not looking make sure they have FP9 of course.

    Your polling data from your own domain so crossdomain security is not an issue.

    Good luck,

  • 5. Paul Karpenko  |  2006-09-05 at 2.05 pm

    Turns out I was missing a crossdomain.xml file on my webserver, making XML unreachable there. Live and learn.

Leave a Comment

Required

Required, hidden

Some HTML allowed:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Trackback this post  |  Subscribe to the comments via RSS Feed


Disclaimer: I work as a Flash/Flex Developer for Adobe Systems Incorporated. The opinions expressed here represent my own and not those of my employer.

My Amazon.com Wish List

Calendar

July 2006
S M T W T F S
« Jun   Aug »
 1
2345678
9101112131415
16171819202122
23242526272829
3031  

Most Recent Posts


Flex.org - The Directory for Flex