stories series webworks weblog who-is
HearVox News
Take our quick 12 question Survey
By BG 2008.07.25 tags: , , ,

In response to Catherine’s comment:

One easy way to use the NPR API Query Generator is to:

Build the Query for NPR Stories
1. Check Fields> Output Format > HTML Widget (this will allow you to see the results).

2. Under the tab: Control, try some Search Terms, Dates, Number of Results, and any other tabs, Topics, Series, Fields, etc, to get the content you want to display.

3. Click the button: Create API Call button (the query url will appear in the Generated API Call box.

4. Now click the button: Run API Call. The results will show in the Output box, as they would on a webpage (if you have HTML Widget) checked.

5. Alter the Control> Search Terms, Dates, etc., and repeat the Create API Call and Run API Call, until you get the results you want displaying in the Output.

Get the API Call (Query URL) for NPR Stories
6. Now check Fields> Output Format > Javascript Widget.

7. Click the button: Create API button.

8. Copy the query URL from that appears in the API Call box.

Insert the NPR Stories Into Your Web Page/Post
9, Paste your query URL, and your API Key, into this Javascript code:
<script type="text/javascript" src="PasteYourQueryURLHere"></script>

10. Paste the above js code, with your query URL into your web-page or blog-post.

Related posts:

  1. NPR API How-to There were some requests on the AIR Daily maillist for...
  2. NPR Story Timelines You can now trace a subject in NPR stories over...
  3. Noir Daughters- ZBS NPR Day to Day continues to air episodes in the...
  4. NPR API NPR.org has released their API (application programming interface) allowing access...
  5. Land of 10K Homeless- NPR Two of three music/interview pieces on Minneapolis homeless have aired,...

Related posts brought to you by Yet Another Related Posts Plugin.

1 Star2 Stars3 Stars4 Stars5 Stars (no votes)
Loading ... Loading ...


Write comment




Leave a comment

(required)

(required) (will be hidden)