23 Feb 2012 2:40 PM #1
New Oreilly example data
Under the new 2.x Oreilly example, the app.js includes a dataURL atop the file pointing at the JSON feed at oreilly.com, but it launches (at the bottom) with a Proxy call that references data/feed.js. What's the relationship between these two feeds?
Changing dataURL to a file on the local server and modifying it does not cause any change in the data displayed by the example, however changing data/feed.js does. Any insights appreciated.
Also, how can the icons that appear at the bottom be modified?
24 Feb 2012 9:05 AM #2
- Join Date
- Mar 2007
- Gainesville, FL
- Vote Rating
The dataUrl config is never used in the example.
Sencha Inc, Senior Software Engineer
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/
Need more help with your app? Hire Sencha Services email@example.com
Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!
When posting code, please use BBCode's CODE tags.
24 Feb 2012 9:13 AM #3
Thanks Mitchell. Seems odd that it would be included in an example app if it's not used.
Any suggestion on how to modify the app to use local caching of the feed but also get updates from a remote server?
24 Feb 2012 1:12 PM #4
Just noticed too that the feed.js has some session times starting at the half-hour (e.g., 12:30pm), but the app only shows times every hour (i.e., :00). I tried changing it so that the actual start time is displayed, but no luck. Where can I modify this default behavior?
25 Feb 2012 5:57 AM #5Code:
return new Date(dateArr, dateArr - 1, dateArr, dateArr);Code:
return new Date(dateArr, dateArr - 1, dateArr, dateArr, dateArr);