1. #11
    Sencha User
    Join Date
    Feb 2012
    Posts
    40
    Vote Rating
    0
    SkyWitit is on a distinguished road

      0  

    Default


    Quote Originally Posted by AndreaCammarata View Post
    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

  2. #12
    Sencha User
    Join Date
    Feb 2012
    Posts
    40
    Vote Rating
    0
    SkyWitit is on a distinguished road

      0  

    Default


    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;
    Code:
    	proxy:{
    			type: ????? 
            	url:'http://www.somedomain.com.tr/rss.aspx?type=0&textcontent=2&homepage=True',
    			reader: {
    				rootProperty:'channel',
    				record:'item',
                	type: 'xml'
            	}

  3. #13
    Sencha - Services Team AndreaCammarata's Avatar
    Join Date
    Jun 2009
    Posts
    1,394
    Vote Rating
    22
    AndreaCammarata has a spectacular aura about AndreaCammarata has a spectacular aura about

      0  

    Default


    Quote Originally Posted by SkyWitit View Post
    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;
    Code:
        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/#!/...ata.proxy.Ajax
    Sencha Inc
    Andrea Cammarata, Solutions Engineer
    CEO at SIMACS

    @AndreaCammarata
    www.andreacammarata.com
    github: https://github.com/AndreaCammarata

    TUX components bundle for Sencha Touch 2.x.x
    http://www.tux-components.com/


  4. #14
    Sencha User
    Join Date
    Feb 2012
    Posts
    40
    Vote Rating
    0
    SkyWitit is on a distinguished road

      0  

    Default


    I am getting an error when I do that which is something like this XMLHttpRequest cannot load Access-Control-Allow-Origin

  5. #15
    Sencha - Services Team AndreaCammarata's Avatar
    Join Date
    Jun 2009
    Posts
    1,394
    Vote Rating
    22
    AndreaCammarata has a spectacular aura about AndreaCammarata has a spectacular aura about

      0  

    Default


    If you search in the forum for "Access-Control-Allow-Origin" you will find a lot of posts / informations about it.
    Sencha Inc
    Andrea Cammarata, Solutions Engineer
    CEO at SIMACS

    @AndreaCammarata
    www.andreacammarata.com
    github: https://github.com/AndreaCammarata

    TUX components bundle for Sencha Touch 2.x.x
    http://www.tux-components.com/


  6. #16
    Sencha User
    Join Date
    Mar 2012
    Posts
    65
    Vote Rating
    3
    thang_ibrahim is on a distinguished road

      0  

    Default


    perfect tut.
    Your app have high-performance in iOS rather than kinchen sink.
    Can you update this app to read feed offline ?.

  7. #17
    Sencha User
    Join Date
    Apr 2012
    Posts
    8
    Vote Rating
    0
    waheed146 is on a distinguished road

      0  

    Default


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

  8. #18
    Sencha - Services Team AndreaCammarata's Avatar
    Join Date
    Jun 2009
    Posts
    1,394
    Vote Rating
    22
    AndreaCammarata has a spectacular aura about AndreaCammarata has a spectacular aura about

      0  

    Default


    Quote Originally Posted by thang_ibrahim View Post
    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.

    Quote Originally Posted by waheed146 View Post
    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.
    Sencha Inc
    Andrea Cammarata, Solutions Engineer
    CEO at SIMACS

    @AndreaCammarata
    www.andreacammarata.com
    github: https://github.com/AndreaCammarata

    TUX components bundle for Sencha Touch 2.x.x
    http://www.tux-components.com/


  9. #19
    Sencha User
    Join Date
    Mar 2012
    Posts
    65
    Vote Rating
    3
    thang_ibrahim is on a distinguished road

      0  

    Default


    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

  10. #20
    Sencha User
    Join Date
    Feb 2013
    Posts
    13
    Vote Rating
    0
    samuelatef is on a distinguished road

      0  

    Default not working

    not working


    this app is not working with me cannot display any thing