bradchesney79 / npr-android-app

Automatically exported from code.google.com/p/npr-android-app
0 stars 0 forks source link

Swap hardcoded programs list out for set based on NPR config file #150

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Look at the programs list
2. Compare to the NPR iOS app

What is the expected output? What do you see instead?
These programs should be the same. They should also be in the same order.

To fix this, we can use a JSON file as a guide to build the list of shows 
programmatically. This file currently lives here: 
http://www.npr.org/services/apps/iphone/news/programs.json

We are adding a "group" attribute which will contain one of three values: 
"News", "Arts & Life", "Music". So, we can drive the sections in that list 
using this data.

The order of the list should also match the order of the elements in the config 
file, so ideally we could just read them straight out of the file.

This will allow adjustments to this list to be much easier and made without a 
code release.

Original issue reported on code.google.com by jpenn...@gmail.com on 18 Apr 2012 at 4:53

GoogleCodeExporter commented 9 years ago

Original comment by jpenn...@gmail.com on 23 Apr 2012 at 7:17

GoogleCodeExporter commented 9 years ago
JSON feed parsing implemented.  Still outstanding is the group attribute as 
well as the other feed questions that were sent to Ben.  For now I've kept the 
prior hard-coded group attributes.

Original comment by justinfr...@gmail.com on 16 May 2012 at 5:30

GoogleCodeExporter commented 9 years ago
Is this still outstanding our NPR's end?

Original comment by jpenn...@gmail.com on 17 Oct 2012 at 11:17

GoogleCodeExporter commented 9 years ago

Original comment by jpenn...@gmail.com on 17 Oct 2012 at 11:18