Skip to content

Instantly share code, notes, and snippets.

@onyxfish
Last active March 9, 2016 19:28
Show Gist options
  • Save onyxfish/4486713 to your computer and use it in GitHub Desktop.
Save onyxfish/4486713 to your computer and use it in GitHub Desktop.
Sample API output from NPR's Artemis API--including full-text transcript with timestamps.
{
total: 1,
start: 0,
size: 10,
hits: [{
_index: "artemis-0319",
_type: "story",
_id: "931678",
_score: 14.204842,
_source: {
object_id: "931678",
parent_id: "931671",
locale_id: "1",
is_template: "0",
commenting_status: "0",
tagging_status: "0",
rating_status: "0",
type_id: "22",
idno: "12/20/2012 Morning Edition 7",
idno_sort: " 12 20 2012Morning Edition 7 12.20.2012.Morning.Edition.7",
source_info: "Tjs=",
hier_object_id: "931671",
hier_left: "55835.26559830000000000000",
hier_right: "60130.18135390000000000000",
extent: "0",
access: "1",
status: "0",
deleted: "0",
rank: "0",
date_sort: "201212200107",
story_title: "In A French Village, Protection From The Apocalypse",
notes: [""],
audio_file_preview: ["http://pd.npr.org/anon.npr-mp3/npr/me/2012/12/20121220_me_07.mp3"],
story_series: [""],
segment_format: ["Piece"],
subject_class: ["General News - Politics & Government"],
subject_index: ["Time", "Calendars", "Communities & Neighborhoods, Communities, Community, Society & Style", "Forecasts, Predictions", "History"],
feed_information: [""],
story_keyword: [""],
transcript_text: ["<Story Id="167664846" SegmentNumber="7" SegmentTiming="04:19" FirstFeed="N"><TranscriptTitle>In A French Village, Protection From The Apocalypse</TranscriptTitle><Transcript><Turn Speaker="STEVE INSKEEP" SpeakerRef="INSKEEP" Descriptor="HOST" IdRef="1"><Fragment StartTime="11:44:30"><![CDATA[Now, if the world should fail to end tomorrow, it could be a bit of a letdown for a small village in France, which is supposedly the only place that will escape the Mayan doomsday. That rumor was really all the reason NPR's Eleanor Beardsley needed to pay a visit. ]]></Fragment></Turn><Turn Speaker="ELEANOR BEARDSLEY" SpeakerRef="BEARDSLEY" Descriptor="BYLINE" IdRef="2"><Fragment StartTime="11:44:45"><![CDATA[About two years ago, a rumor began circulating on the Internet that the French village of Bugarach, population 200, would be the only place to survive the Mayan apocalypse. Bugarach sits in a verdant valley in southeastern France, dominated by a strange, mesa-like mountain. Though my visit took place less than two weeks before the so-called end of the world, and though many news stories reported people flocking here, there was no one to be seen on the village streets and the houses were shuttered against the cold. I had to go knocking on doors to find out what it's all about. ]]></Fragment></Turn><Soundbite Type="Misc" Name="UNIDENTIFIED"><![CDATA[(SOUNDBITE OF KNOCKING, DOG BARKING)]]></Soundbite><Turn IdRef="2"><Fragment StartTime="11:45:24"><![CDATA[Bonjour. ]]></Fragment></Turn><Turn Speaker="SUSIE HARRISON" SpeakerRef="HARRISON" IdRef="3"><Fragment StartTime="11:45:24"><![CDATA[I'm Susie Harrison, and I live in Bugarach. I've lived here nine years, and I'm from England. I love it here. It's beautiful, remote, nature, healthy, and turning out to be quite interesting, as well. ]]></Fragment></Turn><Turn IdRef="2"><Fragment StartTime="11:45:42"><![CDATA[Harrison says she has no idea how the rumor started. ]]></Fragment></Turn><Soundbite Type="Misc" Name="UNIDENTIFIED"><![CDATA[(SOUNDBITE OF CHATTER)]]></Soundbite><Turn IdRef="2"><Fragment StartTime="11:45:47"><![CDATA[But she and her 12-year-old daughter wrote a poem about it. Though Rosina won't join her mother in reciting it. ]]></Fragment></Turn><Turn IdRef="3"><Fragment StartTime="11:45:53"><![CDATA[The end of the world is nigh, though some say it's a lie. The mayor has gone barmy, he's threatened to call the army, to clear out all the hippies from their campervans and teepees. The mountain is our mother with her meditative... ]]></Fragment></Turn><Turn IdRef="2"><Fragment StartTime="11:46:09"><![CDATA[Harrison, who describes herself as a free spirit, says she doesn't know anyone who really believes the Mayan theory. But she says many people believe in the magical power of the mountain, known as the Pic of Bugarach. Harrison spent the night of the summer solstice on the summit. She said she'd like to do the same on December 21st, the winter solstice. But the Pic will be cordoned off. ]]></Fragment></Turn><Turn Speaker="JEAN PHILIPPE" SpeakerRef="PHILIPPE" IdRef="4"><Fragment StartTime="11:46:30"><![CDATA[There's gendarmes. There's the army, you know... ]]></Fragment></Turn><Turn IdRef="2"><Fragment StartTime="11:46:33"><![CDATA[They're going to bring in the army? ]]></Fragment></Turn><Turn IdRef="4"><Fragment StartTime="11:46:34"><![CDATA[Apparently, you know... ]]></Fragment></Turn><Turn IdRef="2"><Fragment StartTime="11:46:35"><![CDATA[That's part-time Bugarach resident Jean Philippe, who prefers not to give his last name. ]]></Fragment></Turn><Turn IdRef="4"><Fragment StartTime="11:46:40"><![CDATA[So, of course, of course all this it feeds, you know, it feeds the conspiracy and all that. So it's quite funny but it always works like that, you know. ]]></Fragment></Turn><Soundbite Type="Misc" Name="UNIDENTIFIED"><![CDATA[(SOUNDBITE OF THE DOOR CLOSING)]]></Soundbite><Turn IdRef="2"><Fragment StartTime="11:46:47"><![CDATA[Bonjour Monsieur Delord. ]]></Fragment></Turn><Turn Speaker="JEAN-PIERRE DELORD" SpeakerRef="DELORD" Title="MAYOR" IdRef="5"><Fragment StartTime="11:46:48"><![CDATA[Eleanor, bonjour. ]]></Fragment></Turn><Turn IdRef="2"><Fragment StartTime="11:46:51"><![CDATA[Next stop is Bugarach's one room town hall, where I have an appointment with Mayor Jean-Pierre Delord to enlighten me in on the situation. ]]></Fragment></Turn><Turn IdRef="5"><Fragment StartTime="11:46:58"><![CDATA[(Foreign language spoken) ]]></Fragment></Turn><Turn IdRef="2"><Fragment StartTime="11:47:00"><![CDATA[Delord, who has presided over this community since 1977, says there are multiple fantasies about Bugarach and for 40 years people have been coming here looking for UFOs or extraterrestrials, or the healing power of the mountain. ]]></Fragment></Turn><Turn IdRef="5"><Fragment StartTime="11:47:15"><![CDATA[(Through Translator) And now, add this Mayan rumor and the buzz created on the Internet, and we just don't know what to expect. So we've put in place a total security system around December 21st and even residents will have to show special passes to come and go. ]]></Fragment></Turn><Turn IdRef="2"><Fragment StartTime="11:47:31"><![CDATA[Some here say strange lights and noises emanate from the mountain. Bugarach inspired 19th century French author Jules Verne's "Journey to the Center of the Earth." And there's not an inhabitant who hasn't seen Close Encounters of the Third Kind. By an odd coincidence, the Pic of Bugarach looks like Spielberg's Devil's Tower in the movie. ]]></Fragment><Fragment StartTime="11:47:52"><![CDATA[Still, at this point, the Mayan rumor seems more the result of journalistic exaggeration or village feud. Some residents say the mayor started the talk so he could crack down on the crackpots who come here. ]]></Fragment></Turn><Soundbite Type="Misc" Name="UNIDENTIFIED"><![CDATA[(SOUNDBITE OF CROWD CHATTER)]]></Soundbite><Turn IdRef="2"><Fragment StartTime="11:48:08"><![CDATA[Whatever the reason, it seems to have gone to locals' heads. A dozen rowdy denizens sit at a table in Bugarach's only bar, looking for their names in a book that's just come out about the village and the Mayan theory. But like a closely guarded secret, they refuse to discuss it with an outsider journalist. ]]></Fragment></Turn><Turn Speaker="UNIDENTIFIED WOMAN" SpeakerRef="UNIDENTIFIED WOMAN" IdRef="6"><Fragment StartTime="11:48:25"><![CDATA[Ah, we are not going to talk. Thank you. ]]></Fragment></Turn><Turn IdRef="2"><Fragment StartTime="11:48:30"><![CDATA[The wind is whipping at the base of the Pic of Bugarach, where many people have parked their cars to begin the hike to the 4,000-foot summit. ]]></Fragment></Turn><Turn IdRef="4"><Fragment StartTime="11:48:38"><![CDATA[(Foreign language spoken) ]]></Fragment></Turn><Turn IdRef="2"><Fragment StartTime="11:48:39"><![CDATA[I asked whether it wouldn't be better to attempt this in the summertime, the father of one family says sure - but we might not be here anymore. ]]></Fragment><Fragment StartTime="11:48:47"><![CDATA[Eleanor Beardsley, NPR News. ]]></Fragment></Turn><Soundbite Type="Misc" Name="UNIDENTIFIED"><![CDATA[(SOUNDBITE OF MUSIC)]]></Soundbite><Turn IdRef="1"><Fragment StartTime="11:49:18"><![CDATA[It's MORNING EDITION NPR News. ]]></Fragment></Turn></Transcript></Story>"
],
shelf_number: ["201212200107"],
name_container: [{
name_line1: "Susie Harrison",
name_description1: "Bugarach Resident",
role_name1: ["4"]
}, {
name_line1: "Jean Philippe",
name_description1: "Bugarach Resident",
role_name1: ["4"]
}, {
name_line1: "Jean-Pierre Delord",
name_description1: "Mayor, Bugarach",
name_title1: "Mayor",
role_name1: ["4"]
}],
geo_info: [{
geo_notes1: "Bugarach"
}],
story_timing_units_container: [{
story_segment_number1: "7",
story_unit_number1: "1",
story_segment_timing1: "259"
}],
story_hour_value: ["10"],
flag_container: [{
spec_coverage_flag1: "False",
needs_discussion1: "False",
first_feed1: "False"
}],
web_container: [{
web_seamus_id1: "167664846",
web_headln1: "In A French Village, Protection From The Apocalypse",
webseries1: "Europe"
}],
byline_container: [{
byline: "Eleanor Beardsley",
byline_source: "NPR"
}],
subject: ["Time", "Calendars", "Communities & Neighborhoods", "Forecasts", "History"],
geolocation: ["France"],
program: ["Morning Edition"],
episode: {
object_id: "931671",
locale_id: "1",
is_template: "0",
commenting_status: "0",
tagging_status: "0",
rating_status: "0",
type_id: "21",
idno: "Morning Edition",
idno_sort: "Morning Edition Morning.Edition",
source_info: "Tjs=",
hier_object_id: "931671",
hier_left: "1.00000000000000000000",
hier_right: "4294967296.00000000000000000000",
extent: "0",
access: "1",
status: "2",
deleted: "0",
rank: "0",
date_sort: "2012122001",
show_date: "12/20/2012",
notes: [""],
abstract: [""],
show_location: [""],
platform: ["Radio"],
cataloger: ["lwork"],
show_repeat: ["False"],
show_not_archived_flag: ["False"],
no_tape_flag: ["False"],
feed_information: [""],
shelf_number: ["2012122001"],
metadata_status: ["In Progress"],
episode_title_container: [{
episode_show_number1: "1"
}],
episode_timing_units_container: [{
recording_units1: "2",
total_timing1: 7140,
news_timing1: "0h 20m 0s",
airtime1: "05:00 - 11:00",
airdow1: "Monday - Friday",
feednumber1: "4"
}],
cataloger_date: ["20121227"],
host: ["David Greene", "Steve Inskeep"],
source: ["NPR"],
byline_container: [],
program: ["Morning Edition"]
}
}
}]
}
<?xml version="1.0"?>
<Story Id="167664846" SegmentNumber="7" SegmentTiming="04:19" FirstFeed="N">
<TranscriptTitle>In A French Village, Protection From The Apocalypse</TranscriptTitle>
<Transcript>
<Turn Speaker="STEVE INSKEEP" SpeakerRef="INSKEEP" Descriptor="HOST" IdRef="1">
<Fragment StartTime="11:44:30"><![CDATA[Now, if the world should fail to end tomorrow, it could be a bit of a letdown for a small village in France, which is supposedly the only place that will escape the Mayan doomsday. That rumor was really all the reason NPR's Eleanor Beardsley needed to pay a visit. ]]></Fragment>
</Turn>
<Turn Speaker="ELEANOR BEARDSLEY" SpeakerRef="BEARDSLEY" Descriptor="BYLINE" IdRef="2">
<Fragment StartTime="11:44:45"><![CDATA[About two years ago, a rumor began circulating on the Internet that the French village of Bugarach, population 200, would be the only place to survive the Mayan apocalypse. Bugarach sits in a verdant valley in southeastern France, dominated by a strange, mesa-like mountain. Though my visit took place less than two weeks before the so-called end of the world, and though many news stories reported people flocking here, there was no one to be seen on the village streets and the houses were shuttered against the cold. I had to go knocking on doors to find out what it's all about. ]]></Fragment>
</Turn>
<Soundbite Type="Misc" Name="UNIDENTIFIED"><![CDATA[(SOUNDBITE OF KNOCKING, DOG BARKING)]]></Soundbite>
<Turn IdRef="2">
<Fragment StartTime="11:45:24"><![CDATA[Bonjour. ]]></Fragment>
</Turn>
<Turn Speaker="SUSIE HARRISON" SpeakerRef="HARRISON" IdRef="3">
<Fragment StartTime="11:45:24"><![CDATA[I'm Susie Harrison, and I live in Bugarach. I've lived here nine years, and I'm from England. I love it here. It's beautiful, remote, nature, healthy, and turning out to be quite interesting, as well. ]]></Fragment>
</Turn>
<Turn IdRef="2">
<Fragment StartTime="11:45:42"><![CDATA[Harrison says she has no idea how the rumor started. ]]></Fragment>
</Turn>
<Soundbite Type="Misc" Name="UNIDENTIFIED"><![CDATA[(SOUNDBITE OF CHATTER)]]></Soundbite>
<Turn IdRef="2">
<Fragment StartTime="11:45:47"><![CDATA[But she and her 12-year-old daughter wrote a poem about it. Though Rosina won't join her mother in reciting it. ]]></Fragment>
</Turn>
<Turn IdRef="3">
<Fragment StartTime="11:45:53"><![CDATA[The end of the world is nigh, though some say it's a lie. The mayor has gone barmy, he's threatened to call the army, to clear out all the hippies from their campervans and teepees. The mountain is our mother with her meditative... ]]></Fragment>
</Turn>
<Turn IdRef="2">
<Fragment StartTime="11:46:09"><![CDATA[Harrison, who describes herself as a free spirit, says she doesn't know anyone who really believes the Mayan theory. But she says many people believe in the magical power of the mountain, known as the Pic of Bugarach. Harrison spent the night of the summer solstice on the summit. She said she'd like to do the same on December 21st, the winter solstice. But the Pic will be cordoned off. ]]></Fragment>
</Turn>
<Turn Speaker="JEAN PHILIPPE" SpeakerRef="PHILIPPE" IdRef="4">
<Fragment StartTime="11:46:30"><![CDATA[There's gendarmes. There's the army, you know... ]]></Fragment>
</Turn>
<Turn IdRef="2">
<Fragment StartTime="11:46:33"><![CDATA[They're going to bring in the army? ]]></Fragment>
</Turn>
<Turn IdRef="4">
<Fragment StartTime="11:46:34"><![CDATA[Apparently, you know... ]]></Fragment>
</Turn>
<Turn IdRef="2">
<Fragment StartTime="11:46:35"><![CDATA[That's part-time Bugarach resident Jean Philippe, who prefers not to give his last name. ]]></Fragment>
</Turn>
<Turn IdRef="4">
<Fragment StartTime="11:46:40"><![CDATA[So, of course, of course all this it feeds, you know, it feeds the conspiracy and all that. So it's quite funny but it always works like that, you know. ]]></Fragment>
</Turn>
<Soundbite Type="Misc" Name="UNIDENTIFIED"><![CDATA[(SOUNDBITE OF THE DOOR CLOSING)]]></Soundbite>
<Turn IdRef="2">
<Fragment StartTime="11:46:47"><![CDATA[Bonjour Monsieur Delord. ]]></Fragment>
</Turn>
<Turn Speaker="JEAN-PIERRE DELORD" SpeakerRef="DELORD" Title="MAYOR" IdRef="5">
<Fragment StartTime="11:46:48"><![CDATA[Eleanor, bonjour. ]]></Fragment>
</Turn>
<Turn IdRef="2">
<Fragment StartTime="11:46:51"><![CDATA[Next stop is Bugarach's one room town hall, where I have an appointment with Mayor Jean-Pierre Delord to enlighten me in on the situation. ]]></Fragment>
</Turn>
<Turn IdRef="5">
<Fragment StartTime="11:46:58"><![CDATA[(Foreign language spoken) ]]></Fragment>
</Turn>
<Turn IdRef="2">
<Fragment StartTime="11:47:00"><![CDATA[Delord, who has presided over this community since 1977, says there are multiple fantasies about Bugarach and for 40 years people have been coming here looking for UFOs or extraterrestrials, or the healing power of the mountain. ]]></Fragment>
</Turn>
<Turn IdRef="5">
<Fragment StartTime="11:47:15"><![CDATA[(Through Translator) And now, add this Mayan rumor and the buzz created on the Internet, and we just don't know what to expect. So we've put in place a total security system around December 21st and even residents will have to show special passes to come and go. ]]></Fragment>
</Turn>
<Turn IdRef="2">
<Fragment StartTime="11:47:31"><![CDATA[Some here say strange lights and noises emanate from the mountain. Bugarach inspired 19th century French author Jules Verne's "Journey to the Center of the Earth." And there's not an inhabitant who hasn't seen Close Encounters of the Third Kind. By an odd coincidence, the Pic of Bugarach looks like Spielberg's Devil's Tower in the movie. ]]></Fragment>
<Fragment StartTime="11:47:52"><![CDATA[Still, at this point, the Mayan rumor seems more the result of journalistic exaggeration or village feud. Some residents say the mayor started the talk so he could crack down on the crackpots who come here. ]]></Fragment>
</Turn>
<Soundbite Type="Misc" Name="UNIDENTIFIED"><![CDATA[(SOUNDBITE OF CROWD CHATTER)]]></Soundbite>
<Turn IdRef="2">
<Fragment StartTime="11:48:08"><![CDATA[Whatever the reason, it seems to have gone to locals' heads. A dozen rowdy denizens sit at a table in Bugarach's only bar, looking for their names in a book that's just come out about the village and the Mayan theory. But like a closely guarded secret, they refuse to discuss it with an outsider journalist. ]]></Fragment>
</Turn>
<Turn Speaker="UNIDENTIFIED WOMAN" SpeakerRef="UNIDENTIFIED WOMAN" IdRef="6">
<Fragment StartTime="11:48:25"><![CDATA[Ah, we are not going to talk. Thank you. ]]></Fragment>
</Turn>
<Turn IdRef="2">
<Fragment StartTime="11:48:30"><![CDATA[The wind is whipping at the base of the Pic of Bugarach, where many people have parked their cars to begin the hike to the 4,000-foot summit. ]]></Fragment>
</Turn>
<Turn IdRef="4">
<Fragment StartTime="11:48:38"><![CDATA[(Foreign language spoken) ]]></Fragment>
</Turn>
<Turn IdRef="2">
<Fragment StartTime="11:48:39"><![CDATA[I asked whether it wouldn't be better to attempt this in the summertime, the father of one family says sure - but we might not be here anymore. ]]></Fragment>
<Fragment StartTime="11:48:47"><![CDATA[Eleanor Beardsley, NPR News. ]]></Fragment>
</Turn>
<Soundbite Type="Misc" Name="UNIDENTIFIED"><![CDATA[(SOUNDBITE OF MUSIC)]]></Soundbite>
<Turn IdRef="1">
<Fragment StartTime="11:49:18"><![CDATA[It's MORNING EDITION NPR News. ]]></Fragment>
</Turn>
</Transcript>
</Story>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment