NPR_ API and Open Source Presentation
-
Upload
marc-parrish -
Category
Documents
-
view
214 -
download
0
Transcript of NPR_ API and Open Source Presentation
8/7/2019 NPR_ API and Open Source Presentation
http://slidepdf.com/reader/full/npr-api-and-open-source-presentation 1/41
Open ContentBy Daniel Jacobson and Harold Neal
National Public Radio
8/7/2019 NPR_ API and Open Source Presentation
http://slidepdf.com/reader/full/npr-api-and-open-source-presentation 2/41
Overview
Who is NPR?
Landscape of Open Content
RSS
NPR¶s Solution
NPR¶s Architecture
NPR API Demo
API Stats and Details
The Future of NPR¶s API
Questions?
8/7/2019 NPR_ API and Open Source Presentation
http://slidepdf.com/reader/full/npr-api-and-open-source-presentation 3/41
Who is NPR?
NPR (National Public Radio)
Leading producer and distributor of radio programming
All Things Considered , Morning Edition, Fresh Air , Wait, Wait,Don¶t Tell Me, etc.
Broadcasted on over 800 local radio stations nationwide
NPR Digital Media
Website (NPR.org) with audio content from radio programs
Web-Only content including blogs, slideshows, editorial columns
About 250 produced podcasts, with over 600 in directory
Mobile sites
API and other syndication
8/7/2019 NPR_ API and Open Source Presentation
http://slidepdf.com/reader/full/npr-api-and-open-source-presentation 4/41
Open Content Landscape
Content Providers
Amount of
Content
Available
in APIs
Content
Agg egato s
UGC
Agg egato s
E-Comme ce
S tes
Majo Med a
oduce s
8/7/2019 NPR_ API and Open Source Presentation
http://slidepdf.com/reader/full/npr-api-and-open-source-presentation 5/41
What is a or edia Doin ?
Most offer RSS for very specific feeds
Some offer extended RSS or comparable
MediaRSS extensions
Podcast enclosures
Very few comprehensive APIs (although seems to be changing)
Really ccessf l yndication Gets some content out there
Drives traffic back to the site
A lot of traction in the marketplace
Really tin y yndication There is meaty real content there
Namespace extensions are limited
Embraces content lock-down model
8/7/2019 NPR_ API and Open Source Presentation
http://slidepdf.com/reader/full/npr-api-and-open-source-presentation 6/41
Full Content ust Be Where The
sers re
RSS is not enough (anymore) to be where the users are!
Users are looking for rich content, multi-media, full text, etc.
There are infinite ways to get content
Loyal patronage is limited to your audience, at best
No guarantee users will come to you for content
Google helps total page views, but page views per session are often low
Facebook, Myspace, etc., is where people go
More content is appearing in these forums
If content is there, users don¶t need to go elsewhere
Platforms are constantly changing
It is difficult, but necessary, to keep up
Your site cannot do it alone!
8/7/2019 NPR_ API and Open Source Presentation
http://slidepdf.com/reader/full/npr-api-and-open-source-presentation 7/41
NPR¶s olution«
Open PI
Distribute the full content
Allows users to innovate and be creative with our content
A few of us, millions of you
Unlimited people thinking about what can be done
Unlimited people building things
8/7/2019 NPR_ API and Open Source Presentation
http://slidepdf.com/reader/full/npr-api-and-open-source-presentation 8/41
So asy, Our C O Can Do It
8/7/2019 NPR_ API and Open Source Presentation
http://slidepdf.com/reader/full/npr-api-and-open-source-presentation 9/41
But enables more tech savvy
users to do build complex apps
8/7/2019 NPR_ API and Open Source Presentation
http://slidepdf.com/reader/full/npr-api-and-open-source-presentation 10/41
Philosophy of NPR Di ital edia
Build Content Management tools, notWeb Publishing tools
COPE (Create Once Publish Everywhere)
Separate Content from Display
Eliminate markup from content upon storage
Understand the Atom
Story is the Atom of NPR
Story contains relationships to assets
Stories are grouped into lists
Know when to build and know when to integrate
Tools for assets are always internally managed and centrally stored
For everything else, depends on cost-benefit analysis
When integrating, first option is open source tools
8/7/2019 NPR_ API and Open Source Presentation
http://slidepdf.com/reader/full/npr-api-and-open-source-presentation 11/41
Hi h-Level System rchitecture
8/7/2019 NPR_ API and Open Source Presentation
http://slidepdf.com/reader/full/npr-api-and-open-source-presentation 12/41
Central Oracle 10 Database(plannin to mi rate to an open source database)
8/7/2019 NPR_ API and Open Source Presentation
http://slidepdf.com/reader/full/npr-api-and-open-source-presentation 13/41
Custom Built C S
8/7/2019 NPR_ API and Open Source Presentation
http://slidepdf.com/reader/full/npr-api-and-open-source-presentation 14/41
External Facin Templates(includin all transforms and presentations)
8/7/2019 NPR_ API and Open Source Presentation
http://slidepdf.com/reader/full/npr-api-and-open-source-presentation 15/41
Cachin and Performance
8/7/2019 NPR_ API and Open Source Presentation
http://slidepdf.com/reader/full/npr-api-and-open-source-presentation 16/41
View, View, View
What data are you interested in?
List of story id¶s from database, search engine, etc.
How do you want to view it?
NPRML, RSS, Atom, MediaRSS, JSON, HTML/JSWidget
Filters for final transformations before returning results
Field Filters
Rights Management
Per-User Customizations
8/7/2019 NPR_ API and Open Source Presentation
http://slidepdf.com/reader/full/npr-api-and-open-source-presentation 17/41
Output Formats
Currently Supported Formats
NPRML
RSS
MediaRSS
JSON
Atom
JavaScriptWidget
HTMLWidget
Possible Future Formats
Full StoryWidget
NewsML
PBCore
8/7/2019 NPR_ API and Open Source Presentation
http://slidepdf.com/reader/full/npr-api-and-open-source-presentation 18/41
What is NPR L?
Custom XML structure
most closely represents NPR¶s data model
NPR¶s ³native´ model
Foundation of NPR.org
The basis of all other API transformations
Libraries to retrieve and manipulate data from layered data storage
Retrieved via SimpleXML and DOM
NPRML is not meant to be a new standard
8/7/2019 NPR_ API and Open Source Presentation
http://slidepdf.com/reader/full/npr-api-and-open-source-presentation 19/41
Details on the Content
Content available in the NPR PI:
13 years worth of NPR content
About 250,000 unique stories
About 400,000 unique audio files available
Over 5700 unique types of lists, with infinite combination possibilities
Over 90 topics
Twelve programs
Nearly 4000 musical artists
Almost 400 NPR personalities
Over 700 editorial columns and series
8/7/2019 NPR_ API and Open Source Presentation
http://slidepdf.com/reader/full/npr-api-and-open-source-presentation 20/41
Current Statistics on sa e
Since launch on Wednesday, July 16th
Over 300 registrants for th
e API
Over 235,000 requests to the API
Nearly 10,000 requests based on search terms
Nearly 15,000 requests based on date ranges Over 23,000 page views of the NPR Tech Center
8/7/2019 NPR_ API and Open Source Presentation
http://slidepdf.com/reader/full/npr-api-and-open-source-presentation 21/41
8/7/2019 NPR_ API and Open Source Presentation
http://slidepdf.com/reader/full/npr-api-and-open-source-presentation 22/41
Current Ri hts and Exclusions
Everything that NPR has the rights to is in the API
Includes Morning Edition and All Things Considered
Some NPR programming is excluded due to rights
Car Talk, Fresh Air and This I Believe
Other popular Public Radio Programs are excluded due to rights
* This American Life, Marketplace and A Prairie HomeCompanion
Some text, images and audio is not available due to rights
Video and blogs are not offered« yet
* These programs are not produced or distributed by NPR.
8/7/2019 NPR_ API and Open Source Presentation
http://slidepdf.com/reader/full/npr-api-and-open-source-presentation 23/41
Future Enhancements for PI
Short Term
Full Story HTML Widget
geo information for stories
station finder API
video
Possible Mid to Long Term
more station content from more stations
posting to the API
create your own podcasts
blogs
other formats, including NewsML and PBCore
8/7/2019 NPR_ API and Open Source Presentation
http://slidepdf.com/reader/full/npr-api-and-open-source-presentation 24/41
Questions?
Feel free to contact us directly:
Daniel Jacobson
Harold Neal
To see the API:
http://www.npr.org/api
To follow the API development:
http://www.npr.org/blogs/inside
8/7/2019 NPR_ API and Open Source Presentation
http://slidepdf.com/reader/full/npr-api-and-open-source-presentation 25/41
8/7/2019 NPR_ API and Open Source Presentation
http://slidepdf.com/reader/full/npr-api-and-open-source-presentation 26/41
8/7/2019 NPR_ API and Open Source Presentation
http://slidepdf.com/reader/full/npr-api-and-open-source-presentation 27/41
8/7/2019 NPR_ API and Open Source Presentation
http://slidepdf.com/reader/full/npr-api-and-open-source-presentation 28/41
8/7/2019 NPR_ API and Open Source Presentation
http://slidepdf.com/reader/full/npr-api-and-open-source-presentation 29/41
8/7/2019 NPR_ API and Open Source Presentation
http://slidepdf.com/reader/full/npr-api-and-open-source-presentation 30/41
8/7/2019 NPR_ API and Open Source Presentation
http://slidepdf.com/reader/full/npr-api-and-open-source-presentation 31/41
8/7/2019 NPR_ API and Open Source Presentation
http://slidepdf.com/reader/full/npr-api-and-open-source-presentation 32/41
8/7/2019 NPR_ API and Open Source Presentation
http://slidepdf.com/reader/full/npr-api-and-open-source-presentation 33/41
8/7/2019 NPR_ API and Open Source Presentation
http://slidepdf.com/reader/full/npr-api-and-open-source-presentation 34/41
8/7/2019 NPR_ API and Open Source Presentation
http://slidepdf.com/reader/full/npr-api-and-open-source-presentation 35/41
8/7/2019 NPR_ API and Open Source Presentation
http://slidepdf.com/reader/full/npr-api-and-open-source-presentation 36/41
8/7/2019 NPR_ API and Open Source Presentation
http://slidepdf.com/reader/full/npr-api-and-open-source-presentation 37/41
8/7/2019 NPR_ API and Open Source Presentation
http://slidepdf.com/reader/full/npr-api-and-open-source-presentation 38/41
8/7/2019 NPR_ API and Open Source Presentation
http://slidepdf.com/reader/full/npr-api-and-open-source-presentation 39/41
8/7/2019 NPR_ API and Open Source Presentation
http://slidepdf.com/reader/full/npr-api-and-open-source-presentation 40/41