What steps will reproduce the problem?
1. Go to Programs>>Morning Edition
2. Click first item, note today's date.
3. Click second item, note yesterday's date.
What is the expected output? What do you see instead?
I would expect both the order and the number of results to match the rundown on
npr.org. http://www.npr.org/templates/rundowns/rundown.php?prgId=3 This is the
correct items in the correct order for today's date.
Instead, I see the first story of each rundown, but only the first. The items
precede in reverse chrono order, only displaying the first item from each day.
Correct API call for ME should be:
http://api.npr.org/query?id=3&sort=assigned&date=current&numResults=50&apiKey=
Compare that list to the rundown and you will see it generates the correct
order and number of items.
The parameters sort=assigned&date=current&numResults=50 can be added to any
program query to get the right items returned. The API's logic is smart enough
to not return half completed program rundowns. So, until the next full show is
available it will display the last full show.
This should also pertains to issue 32 which I have reopened.
Original issue reported on code.google.com by jpenn...@gmail.com on 20 Aug 2010 at 3:47
Original issue reported on code.google.com by
jpenn...@gmail.com
on 20 Aug 2010 at 3:47