PDA

View Full Version : FeedBurner RSS Reader



AndreaCammarata
9 Mar 2012, 2:04 PM
Hey guys,
I've developed a simple Sencha Touch 2 application that will helps you to learn how to use some of those great new ST2 features as:

- History Support
- Deep Linking
- DataView components
- MVC
- Custom card animation
- More..

You can download the app for free from the following github repo:

https://github.com/AndreaCammarata/FeedBurner-RSS-Reader

Hopt this helps guys!

mitchellsimoens
9 Mar 2012, 2:20 PM
Bout time you posted this here :) Great job dude!

AndreaCammarata
9 Mar 2012, 2:25 PM
Ehehe yeah!
Hope this can help someone.

Thanks for the overrides tip ;)

jnotti
12 Mar 2012, 10:22 AM
Really appreciate you sharing this, def helped me out! Grazie signore!

AndreaCammarata
12 Mar 2012, 10:23 AM
Really appreciate you sharing this, def helped me out! Grazie signore!

You are welcome jnotti ;)

SkyWitit
5 Apr 2012, 6:42 AM
Do we have to use feed burner?

mitchellsimoens
5 Apr 2012, 7:03 AM
Do we have to use feed burner?

YOu don't have to do anything. If you want to use this then you can use it. If not then you don't have to.

AndreaCammarata
5 Apr 2012, 7:07 AM
Do we have to use feed burner?

Hi SkyWitit,
What do you mean?
Your question is not clear.

SkyWitit
5 Apr 2012, 7:07 AM
My bad, I shoulda said is there a built-in functionality of sencha that allow me to parse rss feeds cuz this is gonna be my next project

AndreaCammarata
5 Apr 2012, 7:11 AM
My bad, I shoulda said is there a built-in functionality of sencha that allow me to parse rss feeds cuz this is gonna be my next project

No problem.
Nope, there's no built-in functionality for that, but this is pretty easy to achieve using a store properly configured to use an xml reader.

SkyWitit
5 Apr 2012, 7:32 AM
No problem.
Nope, there's no built-in functionality for that, but this is pretty easy to achieve using a store properly configured to use an xml reader.

Hmm allright i am gonna check to see if i can do it, thanks buddy.. You'r no joke :)

SkyWitit
6 Apr 2012, 1:57 AM
Hi Andrea,
I've got a question, I set my store's reader configuration as xml but I couldn't parse the rss yet I think that is because I am confused about the proxy types here is currently what I got;


proxy:{
type: ?????
url:'http://www.somedomain.com.tr/rss.aspx?type=0&textcontent=2&homepage=True',
reader: {
rootProperty:'channel',
record:'item',
type: 'xml'
}

AndreaCammarata
14 Apr 2012, 6:28 AM
Hi Andrea,
I've got a question, I set my store's reader configuration as xml but I couldn't parse the rss yet I think that is because I am confused about the proxy types here is currently what I got;


proxy:{
type: ?????
url:'http://www.somedomain.com.tr/rss.aspx?type=0&textcontent=2&homepage=True',
reader: {
rootProperty:'channel',
record:'item',
type: 'xml'
}


When you need to load data from remote, the proxy type should be set to "ajax".
http://docs.sencha.com/touch/2-0/#!/api/Ext.data.proxy.Ajax

SkyWitit
14 Apr 2012, 11:33 AM
I am getting an error when I do that which is something like this XMLHttpRequest cannot load Access-Control-Allow-Origin

AndreaCammarata
15 Apr 2012, 5:46 AM
If you search in the forum for "Access-Control-Allow-Origin" you will find a lot of posts / informations about it.

thang_ibrahim
18 Apr 2012, 9:03 AM
perfect tut.
Your app have high-performance in iOS rather than kinchen sink.
Can you update this app to read feed offline ?.

waheed146
18 Apr 2012, 11:35 PM
hi i am realy thankful to you for your share. can you please link a blog where you explain about the coding.

AndreaCammarata
18 Apr 2012, 11:49 PM
perfect tut.
Your app have high-performance in iOS rather than kinchen sink.
Can you update this app to read feed offline ?.

Maybe this is something I can evaluate in the next weeks.


hi i am realy thankful to you for your share. can you please link a blog where you explain about the coding.

You are welcome!
At the moment there is no blog post related to this app, however if you have any questions just post here and I'll reply you as soon as possible.

thang_ibrahim
8 May 2012, 3:33 AM
If I have 10 feeds >> a lots of news.
How I store news to read offline :( .
Maybe using foreign key and using method filter of Store?
Sorry for bad english :)

samuelatef
16 May 2013, 7:05 AM
this app is not working with me cannot display any thing