Skip to main content
Known Participant
October 25, 2017
Answered

Android/iOS RSS feed app

  • October 25, 2017
  • 1 reply
  • 6289 views

Hello guys, I have to build an RSS feed app and thought I had hit jackpot with this cool tutorial to do it from inside Animate. But then the tutorial works in an HTML 5 canvas. From the little I've got to know so far about app creation in Animate is that it's way simpler to compile from an AIR project than it is from HTML 5 canvas. I need to load the articles and let the user read them entirely inside the app but if that's not possible a "read more" button that jumps to the complete article in the browser would still be acceptable. I pretend to make the app grab the pic published with the article, bring it in and make it the button to that article inside the app.

Is it possible to compile it from HTML 5 canvas and nest it inside an AIR project afterwards or are there any other tutorials focused on creating such app from AIR that you know? Maybe a better method that would allow me to compile such app to both platforms from same matrix?

Thank you for your help on this.

This topic has been closed for replies.
Correct answer kglad

Oh I see . I'm still in the research phase of the project so I'm not dealing with my feeds yet. Can you suggest a tutorial to follow on creating such app in an AIR project? Thank you very much kglad​!


this shows some of the info needed to parse a loaded rss feed, Adobe ActionScript 3.0 * Example: Loading RSS data from the Internet

the part about actually loading the feed isn't mentioned there, but is in my above messages.

1 reply

kglad
Community Expert
Community Expert
October 25, 2017

there's not much to loading rss using actionscript.  use a urlloader and load the feed.

here's an example of an app i made for gowdy state park that allows park visitors to see the park weather.  the harder part will be parsing the feed.  how you do that depends on the feed.

urlLoader_current.load(new URLRequest('http://api.openweathermap.org/data/2.5/weather?APPID='+GOWDY_KEY+'&lat=41.2&lon=-105.25&mode=xml&units=imperial&nocache='+Math.random()));

you'll need to add app permissions for android (internent)

sergiopolAuthor
Known Participant
October 25, 2017

Hello Kglad, just to check if I'm following you correctly. What you mean is not to build the app in an AIR project? I couldn't open the link you sent me. It gave me an error supposedly for not having an account on the site. I created one then tried again and still the same 401 error. Maybe it refers to the app permissions you said but I'm trying to open it from my desktop PC. Thank you for your answer.

kglad
Community Expert
Community Expert
October 25, 2017

1. you can use an air (for desktop, ios and/or android) project.

2. that link isn't for you to click on.  that an rss weather feed i used in the app.

is the rss feed you're trying to use require a login or "key"?  eg, what happens if you enter the feed url into your browser.