NPR Everywhere: Even Better APIs and Content StrategiesZach BrandNPR, Digital Media@zbrand  #NPRAPI
“From NPR News in Washington..” –Jack Speer et alX 784X 35M / Week
NPR Digital Media
But First, Some Definitions…CrossMediaCMS: Content Management SystemAPI: Application Programming InterfaceCOPE (Create Once Publish Everywhere)Flexible Content
Why Have A Crossmedia Strategy?0 - 50> 1,000,000,000~ 1,000,000
Our Technical Principles…Don’t Attempt to Build the ‘One System’
COPE (Create Once Publish Everywhere)
COPE drives all other architectural decisions
Realized at NPR with the NPR News API
Content Management Tools &  Presentation Layers
Understand Your Atom
Story is the Atom for NPR
Stories contain ‘Assets’ (ie. text, audio, video, images, etc.)
Stories belong to ‘Lists’
It is better to be incomplete than inaccurate“Everything should be an API”FCC managing director Steve Van Roekel
Goals for NPR APIImprove development efficienciesDistribute content to stations and partnersAllow the public to do amazing things with the APIGreater flexibility in what we do with NPR content
The Life of a (FLEXIBLE) Story at NPRPresentationLayersCMSAPI1234
(1) CMS:  The Story is Born
(2) API:  It Becomes Data..
(3) Distribution:  Delivery Service
(4) Presentation Layers…
iPhone Music App
iPhone Music App
iPad App
iPad App
HTML5 site
Station Website
The Life of a (FLEXIBLE) Story at NPRPresentationLayersCMSAPI1234
\
Lesson: COPE!\
The NPR Architecture of COPE
The NPR Architecture of COPE
The NPR Architecture of COPE
The NPR Architecture of COPE
The NPR Architecture of COPE
The NPR Architecture of COPE
Goals for NPR APIImprove development efficienciesDistribute content to stations and partnersAllow the public to do amazing things with the APIGreater flexibility in what we do with NPR content
Goals for NPR APICase Studies of the ^Improve development efficiencies?Distribute content to stations and partners?Allow the public to do amazing things with the API?Greater flexibility in what we do with NPR content?
Has NPR’s API improvedApp Dev?
Lesson: Enabled MobileFacebook IntegrationNPR MusiciPhone appNPRiPad appRelaunched NPRmobile siteNPR News Android appAPILaunch2008Player 2.0NPR MusicRemixNPR BlogsMade API FriendlyHomepage ImprovementsStory PageImprovementsNPR News iPhone app
Lesson:Gotta figure out how to use it.Lesson:Be Scalable
Lesson: Flexible ArchitectureA P I MySQL InstanceWeb ServerWeb ServerContent Management SystemCacheTierWeb ServerWeb ServerMySQL InstanceSingle Oracle DatabaseServer(Point of Failure)Web ServerWeb ServerMySQL InstanceWeb ServerWeb ServerWeb ServerWeb ServerMySQL InstanceWeb ServerWeb ServerMySQL InstanceWeb ServerWeb Server
Lesson: Maintainability
Better Architecture
Results of New ArchitectureResponse time is 22% faster  (0.45 -> 0.35s)Eliminated many (slightly) inaccurate returnsFaster Development on the APICleaner Separation of Output formatsNo more use of Xpath QueriesEasier Ramp up for New Developers
Lesson: Its Not Just Tech..FlexibleContentToolsPeople
Lesson: A thousand words matter
Lesson: Have PeopleWorkonStuffthatMatters
Image Data in the API<image id="133849355" type="primary" width="200" src="http://media.npr.org/img/a1.jpg" hasBorder="false"><crop type="square" src="http://media.npr.org/img/as.jpg" height="440" width="440"/><crop type=”wide" src="http://media.npr.org/img/aw.jpg" height="400" width=”225"/></image>
Case Studies of NPR APIImprove development efficiencies?Distribute content to stations and partners?Allow the public to do amazing things with the API?Greater flexibility in what we do with NPR content?
How has NPR’s API served Partners?
Nationally-Broadcast Reports by Martha WoodroofMartha Woodroof
Connecticut Public Broadcasting	Photos Courtesy Derik Elis, CBTV
Lesson: It’sHard to knowhow it will go.
Lesson: Changes and Deletes
How has NPR’s API served Partners?
Lesson: Ingest is TrickyDRMData/MetaData StandardsCategoriesUptime/PerformanceIntegration & QA
Lesson: Tools/Support is Big Deal
Case Studies of NPR APIImprove development efficiencies?Distribute content to stations and partners?Allow the public to do amazing things with the API?Greater flexibility in what we do with NPR content?
Has the API resulted in amazing ‘free’ stuff?
NPR Addict iPhone App
Lesson: You’ll drink your own champagne
Paid DevPublic Dev$$$
Lesson: Opportunity to work with the public
Case Studies of NPR APIImprove development efficiencies?Distribute content to stations and partners?Allow the public to do amazing things with the API?Greater flexibility in what we do with NPR content?
Has the API made our content flexible?
More than ‘Story’ Pages

Web2expo 2011u

Editor's Notes

  • #7 By 2020:22 billion internet connected devices6 billion mobile phones2.5 billion televisions1.1 billion cars
  • #17 iPhone news app.
  • #18 iPhone music story page.
  • #19 iPad app. home.
  • #20 iPad app. story.
  • #21 Chrome app. story page.
  • #53 iPhone music story page.
  • #64 iPhone music story page.
  • #70 iPhone music story page.
  • #71 iPhone music story page.
  • #72 iPhone music story page.
  • #73 iPhone music story page.
  • #74 iPhone music story page.
  • #75 iPhone music story page.
  • #76 iPhone music story page.