You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@flex.apache.org by Angelo Lazzari <la...@gmail.com> on 2017/06/15 05:58:22 UTC

Use Apache Flex - FlexJS to read an RSS feed

HI!
Just to continue the POC start a few days ago about a possibile app
creation with Apache Flex or Flex JS where i need to connect to Amazon
S3....i need another help from the community.

Is there a best practice method to read an rss feed from a flexJS mobile
app and display his content like and image, a title and link them to the
original post?

I mean, i googled a bit and i find some really good stuff but i don't think
if it's good for FlexJS or simply too old to be applied in a recent Apache
Flex project:
http://permadi.com/2010/03/flash-as3-processing-rss-feeds/
http://www.mikechambers.com/blog/2008/01/22/parsing-rss-20-feeds-in-actionscript-3/
https://stackoverflow.com/questions/21127282/creating-an-actionscript-3-rss-looping-feed

if FlexJS cannot do it, which is actually the correct way to do it in
Apache Flex?

Again, thank you very much
Angelo

Re: Use Apache Flex - FlexJS to read an RSS feed

Posted by Angelo Lazzari <la...@gmail.com>.
ok, thank you very much Alex! i will give you feedbacks!

Angelo

El vie., 16 jun. 2017 a las 17:05, Alex Harui (<ah...@adobe.com.invalid>)
escribió:

> Hi Angelo,
>
> FlexJS is new enough, that AFAIK, nobody has used FlexJS to read an RSS
> feed.  You might be the first to try it, so expect some bumps in the road.
>  I'm just saying that in taking a quick look at the example, I didn't see
> anything obvious other than swapping HTTPService for URLLoader.  FlexJS
> has XML and XMLList classes for JS although there might be a bug or two in
> them.
>
> Good luck, and feel free to ask more questions if you run into issues.
>
> -Alex
>
> On 6/16/17, 1:02 AM, "Angelo Lazzari" <la...@gmail.com> wrote:
>
> >Hi Alex,
> >no i was just asking if it was still "a good solution" because of the date
> >they posted it.
> >
> >So, it's ok.
> >
> >Thank you
> >Angelo
> >
> >El vie., 16 jun. 2017 a las 8:18, Alex Harui (<ah...@adobe.com.invalid>)
> >escribió:
> >
> >> Hi Angelo,
> >>
> >> Can you explain more about why you think the first link is not good for
> >> FlexJS?  I took a quick glance and it looked ok to me if you use the
> >> FlexJS HTTPService instead of URLLoader.
> >>
> >> Thanks,
> >> -Alex
> >>
> >> On 6/14/17, 10:58 PM, "Angelo Lazzari" <la...@gmail.com>
> wrote:
> >>
> >> >HI!
> >> >Just to continue the POC start a few days ago about a possibile app
> >> >creation with Apache Flex or Flex JS where i need to connect to Amazon
> >> >S3....i need another help from the community.
> >> >
> >> >Is there a best practice method to read an rss feed from a flexJS
> >>mobile
> >> >app and display his content like and image, a title and link them to
> >>the
> >> >original post?
> >> >
> >> >I mean, i googled a bit and i find some really good stuff but i don't
> >> >think
> >> >if it's good for FlexJS or simply too old to be applied in a recent
> >>Apache
> >> >Flex project:
> >> >
> >>
> >>
> https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fpermadi.c
> >>o
> >>
> >>>m%2F2010%2F03%2Fflash-as3-processing-rss-feeds%2F&data=02%7C01%7C%7Cf50c
> >>>5c
> >>
> >>>c9df4f46006be908d4b3b393fc%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C
> >>>63
> >>
> >>>6331031239879873&sdata=0AxOJAYOachtISZdtkUyqx%2BoeuOgvNJh7qywOQKXhTA%3D&
> >>>re
> >> >served=0
> >> >
> >>
> >>
> https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.mikec
> >>h
> >> >ambers.com
> >> %2Fblog%2F2008%2F01%2F22%2Fparsing-rss-20-feeds-in-actionscript-
> >>
> >>>3%2F&data=02%7C01%7C%7Cf50c5cc9df4f46006be908d4b3b393fc%7Cfa7b1b5a7b3443
> >>>87
> >>
> >>>94aed2c178decee1%7C0%7C0%7C636331031239879873&sdata=oylytrD7o6tokxDCU9jN
> >>>io
> >> >XoNOUQiHwOrkC8f8eRuLE%3D&reserved=0
> >> >
> >>
> >>
> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fstackove
> >>r
> >> >flow.com
> >> %2Fquestions%2F21127282%2Fcreating-an-actionscript-3-rss-looping-f
> >>
> >>>eed&data=02%7C01%7C%7Cf50c5cc9df4f46006be908d4b3b393fc%7Cfa7b1b5a7b34438
> >>>79
> >>
> >>>4aed2c178decee1%7C0%7C0%7C636331031239879873&sdata=zqTRnD1yVfI0Okp4Mfnj4
> >>>7y
> >> >w%2BpGzXCwrIaQYLlJKCn0%3D&reserved=0
> >> >
> >> >if FlexJS cannot do it, which is actually the correct way to do it in
> >> >Apache Flex?
> >> >
> >> >Again, thank you very much
> >> >Angelo
> >>
> >>
>
>

Re: Use Apache Flex - FlexJS to read an RSS feed

Posted by Alex Harui <ah...@adobe.com.INVALID>.
Hi Angelo,

FlexJS is new enough, that AFAIK, nobody has used FlexJS to read an RSS
feed.  You might be the first to try it, so expect some bumps in the road.
 I'm just saying that in taking a quick look at the example, I didn't see
anything obvious other than swapping HTTPService for URLLoader.  FlexJS
has XML and XMLList classes for JS although there might be a bug or two in
them.

Good luck, and feel free to ask more questions if you run into issues.

-Alex

On 6/16/17, 1:02 AM, "Angelo Lazzari" <la...@gmail.com> wrote:

>Hi Alex,
>no i was just asking if it was still "a good solution" because of the date
>they posted it.
>
>So, it's ok.
>
>Thank you
>Angelo
>
>El vie., 16 jun. 2017 a las 8:18, Alex Harui (<ah...@adobe.com.invalid>)
>escribió:
>
>> Hi Angelo,
>>
>> Can you explain more about why you think the first link is not good for
>> FlexJS?  I took a quick glance and it looked ok to me if you use the
>> FlexJS HTTPService instead of URLLoader.
>>
>> Thanks,
>> -Alex
>>
>> On 6/14/17, 10:58 PM, "Angelo Lazzari" <la...@gmail.com> wrote:
>>
>> >HI!
>> >Just to continue the POC start a few days ago about a possibile app
>> >creation with Apache Flex or Flex JS where i need to connect to Amazon
>> >S3....i need another help from the community.
>> >
>> >Is there a best practice method to read an rss feed from a flexJS
>>mobile
>> >app and display his content like and image, a title and link them to
>>the
>> >original post?
>> >
>> >I mean, i googled a bit and i find some really good stuff but i don't
>> >think
>> >if it's good for FlexJS or simply too old to be applied in a recent
>>Apache
>> >Flex project:
>> >
>> 
>>https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fpermadi.c
>>o
>> 
>>>m%2F2010%2F03%2Fflash-as3-processing-rss-feeds%2F&data=02%7C01%7C%7Cf50c
>>>5c
>> 
>>>c9df4f46006be908d4b3b393fc%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C
>>>63
>> 
>>>6331031239879873&sdata=0AxOJAYOachtISZdtkUyqx%2BoeuOgvNJh7qywOQKXhTA%3D&
>>>re
>> >served=0
>> >
>> 
>>https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.mikec
>>h
>> >ambers.com
>> %2Fblog%2F2008%2F01%2F22%2Fparsing-rss-20-feeds-in-actionscript-
>> 
>>>3%2F&data=02%7C01%7C%7Cf50c5cc9df4f46006be908d4b3b393fc%7Cfa7b1b5a7b3443
>>>87
>> 
>>>94aed2c178decee1%7C0%7C0%7C636331031239879873&sdata=oylytrD7o6tokxDCU9jN
>>>io
>> >XoNOUQiHwOrkC8f8eRuLE%3D&reserved=0
>> >
>> 
>>https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fstackove
>>r
>> >flow.com
>> %2Fquestions%2F21127282%2Fcreating-an-actionscript-3-rss-looping-f
>> 
>>>eed&data=02%7C01%7C%7Cf50c5cc9df4f46006be908d4b3b393fc%7Cfa7b1b5a7b34438
>>>79
>> 
>>>4aed2c178decee1%7C0%7C0%7C636331031239879873&sdata=zqTRnD1yVfI0Okp4Mfnj4
>>>7y
>> >w%2BpGzXCwrIaQYLlJKCn0%3D&reserved=0
>> >
>> >if FlexJS cannot do it, which is actually the correct way to do it in
>> >Apache Flex?
>> >
>> >Again, thank you very much
>> >Angelo
>>
>>


Re: Use Apache Flex - FlexJS to read an RSS feed

Posted by Angelo Lazzari <la...@gmail.com>.
Hi Alex,
no i was just asking if it was still "a good solution" because of the date
they posted it.

So, it's ok.

Thank you
Angelo

El vie., 16 jun. 2017 a las 8:18, Alex Harui (<ah...@adobe.com.invalid>)
escribió:

> Hi Angelo,
>
> Can you explain more about why you think the first link is not good for
> FlexJS?  I took a quick glance and it looked ok to me if you use the
> FlexJS HTTPService instead of URLLoader.
>
> Thanks,
> -Alex
>
> On 6/14/17, 10:58 PM, "Angelo Lazzari" <la...@gmail.com> wrote:
>
> >HI!
> >Just to continue the POC start a few days ago about a possibile app
> >creation with Apache Flex or Flex JS where i need to connect to Amazon
> >S3....i need another help from the community.
> >
> >Is there a best practice method to read an rss feed from a flexJS mobile
> >app and display his content like and image, a title and link them to the
> >original post?
> >
> >I mean, i googled a bit and i find some really good stuff but i don't
> >think
> >if it's good for FlexJS or simply too old to be applied in a recent Apache
> >Flex project:
> >
> https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fpermadi.co
> >m%2F2010%2F03%2Fflash-as3-processing-rss-feeds%2F&data=02%7C01%7C%7Cf50c5c
> >c9df4f46006be908d4b3b393fc%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C63
> >6331031239879873&sdata=0AxOJAYOachtISZdtkUyqx%2BoeuOgvNJh7qywOQKXhTA%3D&re
> >served=0
> >
> https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.mikech
> >ambers.com
> %2Fblog%2F2008%2F01%2F22%2Fparsing-rss-20-feeds-in-actionscript-
> >3%2F&data=02%7C01%7C%7Cf50c5cc9df4f46006be908d4b3b393fc%7Cfa7b1b5a7b344387
> >94aed2c178decee1%7C0%7C0%7C636331031239879873&sdata=oylytrD7o6tokxDCU9jNio
> >XoNOUQiHwOrkC8f8eRuLE%3D&reserved=0
> >
> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fstackover
> >flow.com
> %2Fquestions%2F21127282%2Fcreating-an-actionscript-3-rss-looping-f
> >eed&data=02%7C01%7C%7Cf50c5cc9df4f46006be908d4b3b393fc%7Cfa7b1b5a7b3443879
> >4aed2c178decee1%7C0%7C0%7C636331031239879873&sdata=zqTRnD1yVfI0Okp4Mfnj47y
> >w%2BpGzXCwrIaQYLlJKCn0%3D&reserved=0
> >
> >if FlexJS cannot do it, which is actually the correct way to do it in
> >Apache Flex?
> >
> >Again, thank you very much
> >Angelo
>
>

Re: Use Apache Flex - FlexJS to read an RSS feed

Posted by Alex Harui <ah...@adobe.com.INVALID>.
Hi Angelo,

Can you explain more about why you think the first link is not good for
FlexJS?  I took a quick glance and it looked ok to me if you use the
FlexJS HTTPService instead of URLLoader.

Thanks,
-Alex

On 6/14/17, 10:58 PM, "Angelo Lazzari" <la...@gmail.com> wrote:

>HI!
>Just to continue the POC start a few days ago about a possibile app
>creation with Apache Flex or Flex JS where i need to connect to Amazon
>S3....i need another help from the community.
>
>Is there a best practice method to read an rss feed from a flexJS mobile
>app and display his content like and image, a title and link them to the
>original post?
>
>I mean, i googled a bit and i find some really good stuff but i don't
>think
>if it's good for FlexJS or simply too old to be applied in a recent Apache
>Flex project:
>https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fpermadi.co
>m%2F2010%2F03%2Fflash-as3-processing-rss-feeds%2F&data=02%7C01%7C%7Cf50c5c
>c9df4f46006be908d4b3b393fc%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C63
>6331031239879873&sdata=0AxOJAYOachtISZdtkUyqx%2BoeuOgvNJh7qywOQKXhTA%3D&re
>served=0
>https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.mikech
>ambers.com%2Fblog%2F2008%2F01%2F22%2Fparsing-rss-20-feeds-in-actionscript-
>3%2F&data=02%7C01%7C%7Cf50c5cc9df4f46006be908d4b3b393fc%7Cfa7b1b5a7b344387
>94aed2c178decee1%7C0%7C0%7C636331031239879873&sdata=oylytrD7o6tokxDCU9jNio
>XoNOUQiHwOrkC8f8eRuLE%3D&reserved=0
>https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fstackover
>flow.com%2Fquestions%2F21127282%2Fcreating-an-actionscript-3-rss-looping-f
>eed&data=02%7C01%7C%7Cf50c5cc9df4f46006be908d4b3b393fc%7Cfa7b1b5a7b3443879
>4aed2c178decee1%7C0%7C0%7C636331031239879873&sdata=zqTRnD1yVfI0Okp4Mfnj47y
>w%2BpGzXCwrIaQYLlJKCn0%3D&reserved=0
>
>if FlexJS cannot do it, which is actually the correct way to do it in
>Apache Flex?
>
>Again, thank you very much
>Angelo