npr 0.0.0 → 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (148) hide show
  1. data/.travis.yml +13 -0
  2. data/{LICENSE → MIT-LICENSE} +1 -1
  3. data/README.md +115 -3
  4. data/Rakefile +6 -0
  5. data/gemfiles/Gemfile.rb-1.8.7 +6 -0
  6. data/lib/npr/api/client.rb +87 -0
  7. data/lib/npr/api/message.rb +38 -0
  8. data/lib/npr/api/query_builder.rb +222 -0
  9. data/lib/npr/api/response.rb +32 -0
  10. data/lib/npr/api.rb +7 -0
  11. data/lib/npr/concern/attr_typecast.rb +59 -0
  12. data/lib/npr/concern/relation.rb +103 -0
  13. data/lib/npr/concern/shallow_attributes.rb +71 -0
  14. data/lib/npr/concern.rb +9 -0
  15. data/lib/npr/configuration.rb +120 -0
  16. data/lib/npr/core_ext/array/wrap.rb +15 -0
  17. data/lib/npr/entity/audio.rb +28 -0
  18. data/lib/npr/entity/author.rb +22 -0
  19. data/lib/npr/entity/base.rb +19 -0
  20. data/lib/npr/entity/book.rb +21 -0
  21. data/lib/npr/entity/book_edition.rb +26 -0
  22. data/lib/npr/entity/byline.rb +18 -0
  23. data/lib/npr/entity/collection.rb +11 -0
  24. data/lib/npr/entity/crop.rb +20 -0
  25. data/lib/npr/entity/enlargement.rb +20 -0
  26. data/lib/npr/entity/formats.rb +19 -0
  27. data/lib/npr/entity/image.rb +33 -0
  28. data/lib/npr/entity/intro_text.rb +21 -0
  29. data/lib/npr/entity/link.rb +23 -0
  30. data/lib/npr/entity/list.rb +28 -0
  31. data/lib/npr/entity/list_text.rb +19 -0
  32. data/lib/npr/entity/member.rb +23 -0
  33. data/lib/npr/entity/member_byline.rb +17 -0
  34. data/lib/npr/entity/member_promo_art.rb +17 -0
  35. data/lib/npr/entity/mp3.rb +23 -0
  36. data/lib/npr/entity/organization.rb +18 -0
  37. data/lib/npr/entity/paragraph.rb +27 -0
  38. data/lib/npr/entity/permissions.rb +18 -0
  39. data/lib/npr/entity/program.rb +24 -0
  40. data/lib/npr/entity/promo_art.rb +17 -0
  41. data/lib/npr/entity/promo_art_book_edition.rb +18 -0
  42. data/lib/npr/entity/provider.rb +23 -0
  43. data/lib/npr/entity/pull_quote.rb +16 -0
  44. data/lib/npr/entity/related_link.rb +21 -0
  45. data/lib/npr/entity/show.rb +19 -0
  46. data/lib/npr/entity/story.rb +179 -0
  47. data/lib/npr/entity/text.rb +22 -0
  48. data/lib/npr/entity/title.rb +21 -0
  49. data/lib/npr/entity/transcript.rb +16 -0
  50. data/lib/npr/entity.rb +7 -0
  51. data/lib/npr/errors.rb +17 -0
  52. data/lib/npr/version.rb +1 -1
  53. data/lib/npr.rb +64 -3
  54. data/npr.gemspec +12 -2
  55. data/spec/fixtures/README.md +30 -0
  56. data/spec/fixtures/atom/01_story_full_media.atom +36 -0
  57. data/spec/fixtures/atom/02_story_multiple_images.atom +32 -0
  58. data/spec/fixtures/atom/03_no_results.atom +10 -0
  59. data/spec/fixtures/atom/04_invalid_id.atom +344 -0
  60. data/spec/fixtures/atom/05_no_api_key.atom +9 -0
  61. data/spec/fixtures/atom/06_story_multiple_ids.atom +59 -0
  62. data/spec/fixtures/fetch_formats.rb +65 -0
  63. data/spec/fixtures/html/01_story_full_media.html +54 -0
  64. data/spec/fixtures/html/02_story_multiple_images.html +55 -0
  65. data/spec/fixtures/html/03_no_results.html +38 -0
  66. data/spec/fixtures/html/04_invalid_id.html +82 -0
  67. data/spec/fixtures/html/05_no_api_key.html +8 -0
  68. data/spec/fixtures/html/06_story_multiple_ids.html +69 -0
  69. data/spec/fixtures/js/01_story_full_media.js +1 -0
  70. data/spec/fixtures/js/02_story_multiple_images.js +1 -0
  71. data/spec/fixtures/js/03_no_results.js +1 -0
  72. data/spec/fixtures/js/04_invalid_id.js +1 -0
  73. data/spec/fixtures/js/05_no_api_key.js +8 -0
  74. data/spec/fixtures/js/06_story_multiple_ids.js +1 -0
  75. data/spec/fixtures/json/01_story_full_media.json +1 -0
  76. data/spec/fixtures/json/02_story_multiple_images.json +1 -0
  77. data/spec/fixtures/json/03_no_results.json +1 -0
  78. data/spec/fixtures/json/04_invalid_id.json +1 -0
  79. data/spec/fixtures/json/05_no_api_key.json +1 -0
  80. data/spec/fixtures/json/06_story_multiple_ids.json +1 -0
  81. data/spec/fixtures/json/list.json +1 -0
  82. data/spec/fixtures/mediarss/01_story_full_media.rss +31 -0
  83. data/spec/fixtures/mediarss/02_story_multiple_images.rss +40 -0
  84. data/spec/fixtures/mediarss/03_no_results.rss +17 -0
  85. data/spec/fixtures/mediarss/04_invalid_id.rss +279 -0
  86. data/spec/fixtures/mediarss/05_no_api_key.rss +31 -0
  87. data/spec/fixtures/mediarss/06_story_multiple_ids.rss +65 -0
  88. data/spec/fixtures/nprml/01_story_full_media.xml +271 -0
  89. data/spec/fixtures/nprml/02_story_multiple_images.xml +165 -0
  90. data/spec/fixtures/nprml/03_no_results.xml +14 -0
  91. data/spec/fixtures/nprml/04_invalid_id.xml +1780 -0
  92. data/spec/fixtures/nprml/05_no_api_key.xml +9 -0
  93. data/spec/fixtures/nprml/06_story_multiple_ids.xml +435 -0
  94. data/spec/fixtures/nprml/list.xml +440 -0
  95. data/spec/fixtures/podcast/01_story_full_media.rss +30 -0
  96. data/spec/fixtures/podcast/02_story_multiple_images.rss +32 -0
  97. data/spec/fixtures/podcast/03_no_results.rss +19 -0
  98. data/spec/fixtures/podcast/04_invalid_id.rss +186 -0
  99. data/spec/fixtures/podcast/05_no_api_key.rss +31 -0
  100. data/spec/fixtures/podcast/06_story_multiple_ids.rss +43 -0
  101. data/spec/fixtures/rss/01_story_full_media.rss +25 -0
  102. data/spec/fixtures/rss/02_story_multiple_images.rss +25 -0
  103. data/spec/fixtures/rss/03_no_results.rss +17 -0
  104. data/spec/fixtures/rss/04_invalid_id.rss +137 -0
  105. data/spec/fixtures/rss/05_no_api_key.rss +31 -0
  106. data/spec/fixtures/rss/06_story_multiple_ids.rss +33 -0
  107. data/spec/spec_helper.rb +23 -0
  108. data/spec/support/config_helper.rb +64 -0
  109. data/spec/support/fake_response.rb +54 -0
  110. data/spec/support/fixture_helper.rb +23 -0
  111. data/spec/unit/api/client_spec.rb +42 -0
  112. data/spec/unit/api/message_spec.rb +68 -0
  113. data/spec/unit/api/query_builder_spec.rb +195 -0
  114. data/spec/unit/api/response_spec.rb +45 -0
  115. data/spec/unit/configuration_spec.rb +63 -0
  116. data/spec/unit/entity/audio_spec.rb +75 -0
  117. data/spec/unit/entity/author_spec.rb +30 -0
  118. data/spec/unit/entity/base_spec.rb +87 -0
  119. data/spec/unit/entity/book_edition_spec.rb +57 -0
  120. data/spec/unit/entity/book_spec.rb +31 -0
  121. data/spec/unit/entity/byline_spec.rb +23 -0
  122. data/spec/unit/entity/collection_spec.rb +39 -0
  123. data/spec/unit/entity/crop_spec.rb +25 -0
  124. data/spec/unit/entity/englargement_spec.rb +21 -0
  125. data/spec/unit/entity/formats_spec.rb +41 -0
  126. data/spec/unit/entity/image_spec.rb +82 -0
  127. data/spec/unit/entity/intro_text_spec.rb +25 -0
  128. data/spec/unit/entity/link_spec.rb +25 -0
  129. data/spec/unit/entity/list_spec.rb +22 -0
  130. data/spec/unit/entity/list_text_spec.rb +31 -0
  131. data/spec/unit/entity/member_byline_spec.rb +21 -0
  132. data/spec/unit/entity/member_promo_art_spec.rb +21 -0
  133. data/spec/unit/entity/member_spec.rb +59 -0
  134. data/spec/unit/entity/mp3_spec.rb +25 -0
  135. data/spec/unit/entity/organization_spec.rb +29 -0
  136. data/spec/unit/entity/paragraph_spec.rb +25 -0
  137. data/spec/unit/entity/permissions_spec.rb +56 -0
  138. data/spec/unit/entity/program_spec.rb +27 -0
  139. data/spec/unit/entity/promo_art_book_edition_spec.rb +21 -0
  140. data/spec/unit/entity/promo_art_spec.rb +42 -0
  141. data/spec/unit/entity/pull_quote_spec.rb +29 -0
  142. data/spec/unit/entity/related_link_spec.rb +55 -0
  143. data/spec/unit/entity/show_spec.rb +41 -0
  144. data/spec/unit/entity/story_spec.rb +154 -0
  145. data/spec/unit/entity/text_spec.rb +54 -0
  146. data/spec/unit/entity/title_spec.rb +25 -0
  147. data/spec/unit/entity/transcript_spec.rb +22 -0
  148. metadata +340 -8
@@ -0,0 +1,271 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <nprml version="0.94">
3
+ <list>
4
+ <title><![CDATA[NPR: Stories from NPR]]></title>
5
+ <teaser><![CDATA[Assorted stories from NPR]]></teaser>
6
+ <miniTeaser><![CDATA[Custom NPR News Feed API. Visit http://www.npr.org/templates/apidoc/index.php for more information.]]></miniTeaser>
7
+ <link type="api">http://api.npr.org/query?id=167019577&amp;apiKey=API_KEY</link>
8
+ <link type="html">http://www.npr.org/blogs/therecord/2012/12/12/167019577/ravi-shankar-who-brought-eastern-music-to-western-legends-dies?ft=3&amp;f=167019577</link>
9
+ <story id="167019577">
10
+ <link type="html">http://www.npr.org/blogs/therecord/2012/12/12/167019577/ravi-shankar-who-brought-eastern-music-to-western-legends-dies?ft=3&amp;f=167019577</link>
11
+ <link type="api">http://api.npr.org/query?id=167019577&amp;apiKey=API_KEY</link>
12
+ <link type="short">http://n.pr/TTXiJB</link>
13
+ <title><![CDATA[Ravi Shankar, Who Brought Eastern Music To Western Legends, Dies]]></title>
14
+ <partnerId>167019577</partnerId>
15
+ <subtitle/>
16
+ <shortTitle/>
17
+ <teaser><![CDATA[When he was just 10 years old, Shankar began performing in Europe and the US with his family's Indian dance troupe. But at age 18, Shankar gave up all the glitter to study with a guru who taught him the sitar. He became a master, and introduced the West to his country's music.]]></teaser>
18
+ <miniTeaser><![CDATA[The sitar master and composer worked with George Harrison, Yehudi Menuhin, Philip Glass and more.]]></miniTeaser>
19
+ <slug>The Record</slug>
20
+ <thumbnail>
21
+ <medium>http://media.npr.org/assets/img/2012/12/12/gettyimages_84882815_sq-feeced862ebdd5504fab9770d31bc3cfae40fdf6.jpg?s=13</medium>
22
+ <large>http://media.npr.org/assets/img/2012/12/12/gettyimages_84882815_sq-feeced862ebdd5504fab9770d31bc3cfae40fdf6.jpg?s=11</large>
23
+ <provider>Redferns</provider>
24
+ </thumbnail>
25
+ <storyDate>Wed, 12 Dec 2012 04:00:00 -0500</storyDate>
26
+ <pubDate>Wed, 12 Dec 2012 01:00:00 -0500</pubDate>
27
+ <lastModifiedDate>Wed, 12 Dec 2012 01:00:06 -0500</lastModifiedDate>
28
+ <show>
29
+ <program id="3" code="ME">Morning Edition</program>
30
+ <showDate>Wed, 12 Dec 2012 04:00:00 -0500</showDate>
31
+ <segNum>57</segNum>
32
+ </show>
33
+ <keywords/>
34
+ <priorityKeywords/>
35
+ <organization orgId="1" orgAbbr="NPR">
36
+ <name>National Public Radio</name>
37
+ <website>http://www.npr.org/</website>
38
+ </organization>
39
+ <parent id="161375941" type="category">
40
+ <title>The Musicians</title>
41
+ <link type="html">http://www.npr.org/blogs/therecord/161375941/the-musicians?ft=3&amp;f=167019577</link>
42
+ <link type="api">http://api.npr.org/query?id=161375941&amp;apiKey=API_KEY</link>
43
+ </parent>
44
+ <parent id="128494978" type="blog" slug="true">
45
+ <title>The Record</title>
46
+ <link type="html">http://www.npr.org/blogs/therecord/?ft=3&amp;f=167019577</link>
47
+ <link type="api">http://api.npr.org/query?id=128494978&amp;apiKey=API_KEY</link>
48
+ </parent>
49
+ <parent id="100920965" type="newsPackage">
50
+ <title>Music Articles</title>
51
+ <link type="html">http://www.npr.org/series/100920965/music-articles/?ft=3&amp;f=167019577</link>
52
+ <link type="api">http://api.npr.org/query?id=100920965&amp;apiKey=API_KEY</link>
53
+ </parent>
54
+ <parent id="10004" type="genre">
55
+ <title>World</title>
56
+ <link type="html">http://www.npr.org/music/genres/world/?ft=3&amp;f=167019577</link>
57
+ <link type="api">http://api.npr.org/query?id=10004&amp;apiKey=API_KEY</link>
58
+ </parent>
59
+ <parent id="1106" type="primaryTopic">
60
+ <title>Music News</title>
61
+ <link type="html">http://www.npr.org/sections/music-news/?ft=3&amp;f=167019577</link>
62
+ <link type="api">http://api.npr.org/query?id=1106&amp;apiKey=API_KEY</link>
63
+ </parent>
64
+ <parent id="1106" type="topic">
65
+ <title>Music News</title>
66
+ <link type="html">http://www.npr.org/sections/music-news/?ft=3&amp;f=167019577</link>
67
+ <link type="api">http://api.npr.org/query?id=1106&amp;apiKey=API_KEY</link>
68
+ </parent>
69
+ <parent id="1062" type="topic">
70
+ <title>Remembrances</title>
71
+ <link type="html">http://www.npr.org/sections/remembrances/?ft=3&amp;f=167019577</link>
72
+ <link type="api">http://api.npr.org/query?id=1062&amp;apiKey=API_KEY</link>
73
+ </parent>
74
+ <parent id="1039" type="topic">
75
+ <title>Music</title>
76
+ <link type="html">http://www.npr.org/music/?ft=3&amp;f=167019577</link>
77
+ <link type="api">http://api.npr.org/query?id=1039&amp;apiKey=API_KEY</link>
78
+ </parent>
79
+ <parent id="1002" type="topic">
80
+ <title>Home Page Top Stories</title>
81
+ <link type="html">http://www.npr.org/?ft=3&amp;f=167019577</link>
82
+ <link type="api">http://api.npr.org/query?id=1002&amp;apiKey=API_KEY</link>
83
+ </parent>
84
+ <audio id="167021351" type="primary">
85
+ <title/>
86
+ <duration>0</duration>
87
+ <description/>
88
+ <format/>
89
+ <rightsHolder/>
90
+ <permissions>
91
+ <download allow="false"/>
92
+ <stream allow="true"/>
93
+ <embed allow="false"/>
94
+ </permissions>
95
+ <stream active="false"/>
96
+ </audio>
97
+ <byline id="167019584">
98
+ <name personId="2101242">Susan Stamberg</name>
99
+ <link type="html">http://www.npr.org/people/2101242/susan-stamberg?ft=3&amp;f=167019577</link>
100
+ <link type="api">http://api.npr.org/query?id=2101242&amp;apiKey=API_KEY</link>
101
+ </byline>
102
+ <container id="167020780">
103
+ <title/>
104
+ <introText/>
105
+ <colSpan>1</colSpan>
106
+ <displayOptions typeId="2">Display Both</displayOptions>
107
+ <link refId="167020072" num="1"/>
108
+ <link refId="167020069" num="2"/>
109
+ </container>
110
+ <image id="167021232" type="primary" width="200" src="http://media.npr.org/assets/img/2012/12/12/gettyimages_84882815-0e02bde00f7b2ac036374e2874fc6b5ee6de4352.jpg?s=12" hasBorder="false">
111
+ <title>Ravi Shankar circa 1960 in the U.K.</title>
112
+ <caption>Ravi Shankar circa 1960 in the U.K.</caption>
113
+ <link url=""/>
114
+ <producer>David Redfern</producer>
115
+ <provider url="">Redferns</provider>
116
+ <copyright/>
117
+ <enlargement src="http://media.npr.org/assets/img/2012/12/12/gettyimages_84882815-0e02bde00f7b2ac036374e2874fc6b5ee6de4352.jpg">
118
+ <caption/>
119
+ </enlargement>
120
+ <crop type="standard" src="http://media.npr.org/assets/img/2012/12/12/gettyimages_84882815-0e02bde00f7b2ac036374e2874fc6b5ee6de4352.jpg" height="2942" width="3915"/>
121
+ <crop type="square" src="http://media.npr.org/assets/img/2012/12/12/gettyimages_84882815_sq-feeced862ebdd5504fab9770d31bc3cfae40fdf6.jpg" height="2350" width="2350"/>
122
+ <crop type="wide" src="http://media.npr.org/assets/img/2012/12/12/gettyimages_84882815_wide-71aa24bf68c198dc53053a8eba0ddaf845c3b605.jpg" height="2200" width="3915"/>
123
+ <crop type="enlargement" src="http://media.npr.org/assets/img/2012/12/12/gettyimages_84882815-0e02bde00f7b2ac036374e2874fc6b5ee6de4352.jpg" height="2942" width="3915"/>
124
+ </image>
125
+ <relatedLink id="167020072" type="internal">
126
+ <caption><![CDATA[ Ravi Shankar At 90: The Man And His Music]]></caption>
127
+ <link type="html">http://www.npr.org/templates/story/story.php?storyId=125507150&amp;ft=3&amp;f=167019577</link>
128
+ <link type="api">http://api.npr.org/query?id=125507150&amp;apiKey=API_KEY</link>
129
+ </relatedLink>
130
+ <relatedLink id="167020069" type="internal">
131
+ <caption><![CDATA[ Indian Classical Music 101 With Ravi Shankar]]></caption>
132
+ <link type="html">http://www.npr.org/templates/story/story.php?storyId=125512689&amp;ft=3&amp;f=167019577</link>
133
+ <link type="api">http://api.npr.org/query?id=125512689&amp;apiKey=API_KEY</link>
134
+ </relatedLink>
135
+ <text>
136
+ <paragraph num="1"><![CDATA[Sitar master and composer Ravi Shankar died Tuesday at a hospital near his home in the San Diego area. Shankar's foundation released a statement that says the musician had suffered from upper-respiratory and heart issues over the past year and underwent heart-valve replacement surgery last week. He was 92.]]></paragraph>
137
+ <paragraph num="2"><![CDATA[When he was just 10 years old, Pandit Ravi Shankar began performing in Europe and the U.S. with his family's Indian dance troupe. It was a glamorous life: the best hotels, the best meals, celebrities coming backstage to say just how much they'd enjoyed the concert. But at age 18, Shankar gave up all the glitter and went back to a dusty little town in India to study with a guru who taught him the sitar. He apprenticed for years, then started to play in public on the ancient and difficult string instrument. Eventually, he became a master.]]></paragraph>
138
+ <paragraph num="3"><![CDATA[Shankar's music is like a fine Indian sari — silken, swirling, exotic, it can break your heart with its beauty. He was a respected classical musician, but in 1966 he became an international superstar when George Harrison studied with him. Shankar's goal to make Eastern music known in the West was achieved with help from The Beatles, though he grew discouraged by the hippie scene, where drugs clouded the attention of his audience.]]></paragraph>
139
+ <paragraph num="4"><![CDATA[Back in India, Shankar wrote sitar concerts for Western symphony orchestras and continued touring. The composer and performer remained a teacher too. In December of 2004, when I visited his home in New Delhi, the sitar master was still giving lessons. He sat on the carpeted floor in an old brown sweater vest playing simple exercises; his sitar filled the room with feeling.]]></paragraph>
140
+ <paragraph num="5"><![CDATA["[This music] is sort of is a combination of shanta and karuna, which means tranquility and sadness," he said of the piece he was playing. "This sadness is ... like wanting to reach out [for something] and not finding it, whether for a lover or for God."]]></paragraph>
141
+ <paragraph num="6"><![CDATA[Shankar's music reached out to some of the West's finest musicians. Violinist Yehudi Menuhin and composer Philip Glass were friends and collaborators. One of today's top pop stars, Grammy winner Norah Jones, is Shankar's daughter. Another daughter, Anoushka, learned sitar from her father, and now takes his classical tradition and makes it more contemporary.]]></paragraph>
142
+ <paragraph num="7"><![CDATA[A few winters ago in Delhi, remembering those demanding early years of sitar studies, Ravi Shankar said his guru's most important lesson was this: "He says that we have to earn our livelihood, and for that we have to perform and accept money. But music is not for sale. The music that I have learned and want to give is like worshiping God. It's absolutely like a prayer."]]></paragraph>
143
+ <paragraph num="8"><![CDATA[Shankar once said he felt ecstasy when he made music — the world was erased, and he experienced great peace. His music embraced and lifted those who heard and loved it, his widow Sukanya, his daughters and his many fans. [Copyright 2012 National Public Radio]]]></paragraph>
144
+ </text>
145
+ <textWithHtml>
146
+ <paragraph num="1"><![CDATA[Sitar master and composer <a href="http://www.npr.org/templates/story/story.php?storyId=17093771" target="_blank">Ravi Shankar</a> died Tuesday at a hospital near his home in the San Diego area. Shankar's foundation released a statement that says the musician had suffered from upper-respiratory and heart issues over the past year and underwent heart-valve replacement surgery last week. He was 92.]]></paragraph>
147
+ <paragraph num="2"><![CDATA[When he was just 10 years old, Pandit Ravi Shankar began performing in Europe and the U.S. with his family's Indian dance troupe. It was a glamorous life: the best hotels, the best meals, celebrities coming backstage to say just how much they'd enjoyed the concert. But at age 18, Shankar gave up all the glitter and went back to a dusty little town in India to study with a guru who taught him the sitar. He apprenticed for years, then started to play in public on the ancient and difficult string instrument. Eventually, he became a master.]]></paragraph>
148
+ <paragraph num="3"><![CDATA[Shankar's music is like a fine Indian sari — silken, swirling, exotic, it can break your heart with its beauty. He was a respected classical musician, but in 1966 he became an international superstar when <a href="http://www.npr.org/templates/story/story.php?storyId=15774029" target="_blank">George Harrison</a> studied with him. Shankar's goal to make Eastern music known in the West was achieved with help from <a href="http://www.npr.org/templates/story/story.php?storyId=15229570" target="_blank">The Beatles</a>, though he grew discouraged by the hippie scene, where drugs clouded the attention of his audience.]]></paragraph>
149
+ <paragraph num="4"><![CDATA[Back in India, Shankar wrote sitar concerts for Western symphony orchestras and continued touring. The composer and performer remained a teacher too. In December of 2004, when I visited his home in New Delhi, the sitar master was still giving lessons. He sat on the carpeted floor in an old brown sweater vest playing simple exercises; his sitar filled the room with feeling.]]></paragraph>
150
+ <paragraph num="5"><![CDATA["[This music] is sort of is a combination of <em>shanta</em> and <em>karuna</em>, which means tranquility and sadness," he said of the piece he was playing. "This sadness is ... like wanting to reach out [for something] and not finding it, whether for a lover or for God."]]></paragraph>
151
+ <paragraph num="6"><![CDATA[Shankar's music reached out to some of the West's finest musicians. Violinist Yehudi Menuhin and composer <a href="http://www.npr.org/artists/15680178/philip-glass" target="_blank">Philip Glass</a> were friends and collaborators. One of today's top pop stars, Grammy winner <a href="http://www.npr.org/templates/story/story.php?storyId=15012277" target="_blank">Norah Jones</a>, is Shankar's daughter. Another daughter, <a href="http://www.npr.org/templates/story/story.php?storyId=15402971" target="_blank">Anoushka</a>, learned sitar from her father, and now takes his classical tradition and makes it more contemporary.]]></paragraph>
152
+ <paragraph num="7"><![CDATA[A few winters ago in Delhi, remembering those demanding early years of sitar studies, Ravi Shankar said his guru's most important lesson was this: "He says that we have to earn our livelihood, and for that we have to perform and accept money. But music is not for sale. The music that I have learned and want to give is like worshiping God. It's absolutely like a prayer."]]></paragraph>
153
+ <paragraph num="8"><![CDATA[Shankar once said he felt ecstasy when he made music — the world was erased, and he experienced great peace. His music embraced and lifted those who heard and loved it, his widow Sukanya, his daughters and his many fans. <div class="fullattribution">Copyright 2012 National Public Radio. To see more, visit http://www.npr.org/.<img src="http://www.google-analytics.com/__utm.gif?utmac=UA-5828686-4&utmdt=Ravi+Shankar%2C+Who+Brought+Eastern+Music+To+Western+Legends%2C+Dies&utme=8(APIKey)9(API_KEY)"/></div>]]></paragraph>
154
+ </textWithHtml>
155
+ <fullText><![CDATA[<div class="storytitle">
156
+ <h1>Ravi Shankar, Who Brought Eastern Music To Western Legends, Dies</h1>
157
+ <input type="hidden" id="title167019577" value="Ravi Shankar, Who Brought Eastern Music To Western Legends, Dies"></input>
158
+ <input type="hidden" id="modelShortUrl167019577" value="http://n.pr/TTXit3"></input>
159
+ <input type="hidden" id="modelFullUrl167019577" value="http://www.npr.org/blogs/therecord/2012/12/12/167019577/ravi-shankar-who-brought-eastern-music-to-western-legends-dies"></input>
160
+ </div>
161
+
162
+ <!-- END CLASS="STORYTITLE" -->
163
+ <div id="story-meta">
164
+ <div id="storybyline" class=" linkLocation">
165
+ <div class="bucketwrap byline" id="res167019583" previewTitle="bylines">
166
+ <p class="byline">by <a rel="author" href="http://www.npr.org/people/2101242/susan-stamberg"><span>Susan Stamberg</span></a></p>
167
+ </div>
168
+
169
+ <!-- END CLASS="BUCKETWRAP BYLINE" ID="RES167019583" PREVIEWTITLE="BYLINES" -->
170
+ </div>
171
+
172
+ <!-- END ID="STORYBYLINE" CLASS=" LINKLOCATION" -->
173
+ <div class="dateblock">
174
+ <time datetime="2012-12-12"><span class="date">December 12, 2012</span><span class="time"> 4:00 AM</span></time>
175
+ </div>
176
+ </div>
177
+
178
+ <!-- END ID="STORY-META" -->
179
+ <div id="primaryaudio" class="storylocation linkLocation">
180
+ <div id="res167021351" class="bucketwrap primary unavailable resaudio ">
181
+ <div class="listenicon">
182
+ <a href="#"></a>
183
+ </div>
184
+
185
+ <!-- END CLASS="LISTENICON" -->
186
+ <div class="avcontent listen">
187
+ <p>Audio for this story from <a href="/templates/rundowns/rundown.php?prgId=3&prgDate=12-12-2012">Morning Edition</a> will be available at approx. 9:00 a.m. ET</p>
188
+ </div>
189
+
190
+ <!-- END CLASS="AVCONTENT LISTEN" -->
191
+ <p class="date">December 12, 2012</p> <ul class="audiotools">
192
+ </ul>
193
+ <div class="spacer">
194
+ &nbsp;
195
+ </div>
196
+ </div>
197
+
198
+ <!-- END ID="RES167021351" CLASS="BUCKETWRAP PRIMARY UNAVAILABLE RESAUDIO " -->
199
+ </div>
200
+
201
+ <!-- END ID="PRIMARYAUDIO" CLASS="STORYLOCATION LINKLOCATION" -->
202
+ <div id="storytext" class="storytext storylocation linkLocation">
203
+ <div id="res167021232" class="bucketwrap image large" previewTitle="Ravi Shankar circa 1960 in the U.K.">
204
+ <div class="imagewrap">
205
+ <img src="http://media.npr.org/assets/img/2012/12/12/gettyimages_84882815-0e02bde00f7b2ac036374e2874fc6b5ee6de4352-s6-c10.jpg" data-original="http://media.npr.org/assets/img/2012/12/12/gettyimages_84882815-0e02bde00f7b2ac036374e2874fc6b5ee6de4352.jpg" class="img lazyOnLoad" title="Ravi Shankar circa 1960 in the U.K." alt="Ravi Shankar circa 1960 in the U.K." /> <a href="#" class="enlargebtn" title="Enlarge">Enlarge image</a>
206
+ </div>
207
+
208
+ <!-- END CLASS="IMAGEWRAP" -->
209
+ <div class="captionwrap">
210
+ <div class="caption">
211
+ <p><i>Ravi Shankar circa 1960 in the U.K.</i></p>
212
+ </div>
213
+
214
+ <!-- END CLASS="CAPTION" -->
215
+ </div>
216
+
217
+ <!-- END CLASS="CAPTIONWRAP" -->
218
+ <span class="creditwrap"><span class="credit">David Redfern</span>/<span class="rightsnotice">Redferns</span></span>
219
+ </div>
220
+ <p>Sitar master and composer <a href="http://www.npr.org/templates/story/story.php?storyId=17093771" target="_blank">Ravi Shankar</a> died Tuesday at a hospital near his home in the San Diego area. Shankar's foundation released a statement that says the musician had suffered from upper-respiratory and heart issues over the past year and underwent heart-valve replacement surgery last week. He was 92.</p> <p>When he was just 10 years old, Pandit Ravi Shankar began performing in Europe and the U.S. with his family's Indian dance troupe. It was a glamorous life: the best hotels, the best meals, celebrities coming backstage to say just how much they'd enjoyed the concert. But at age 18, Shankar gave up all the glitter and went back to a dusty little town in India to study with a guru who taught him the sitar. He apprenticed for years, then started to play in public on the ancient and difficult string instrument. Eventually, he became a master.</p> <p>Shankar's music is like a fine Indian sari — silken, swirling, exotic, it can break your heart with its beauty. He was a respected classical musician, but in 1966 he became an international superstar when <a href="http://www.npr.org/templates/story/story.php?storyId=15774029" target="_blank">George Harrison</a> studied with him. Shankar's goal to make Eastern music known in the West was achieved with help from <a href="http://www.npr.org/templates/story/story.php?storyId=15229570" target="_blank">The Beatles</a>, though he grew discouraged by the hippie scene, where drugs clouded the attention of his audience.</p> <p>Back in India, Shankar wrote sitar concerts for Western symphony orchestras and continued touring. The composer and performer remained a teacher too. In December of 2004, when I visited his home in New Delhi, the sitar master was still giving lessons. He sat on the carpeted floor in an old brown sweater vest playing simple exercises; his sitar filled the room with feeling.</p> <p>"[This music] is sort of is a combination of <em>shanta</em> and <em>karuna</em>, which means tranquility and sadness," he said of the piece he was playing. "This sadness is ... like wanting to reach out [for something] and not finding it, whether for a lover or for God."</p> <p>Shankar's music reached out to some of the West's finest musicians. Violinist Yehudi Menuhin and composer <a href="http://www.npr.org/artists/15680178/philip-glass" target="_blank">Philip Glass</a> were friends and collaborators. One of today's top pop stars, Grammy winner <a href="http://www.npr.org/templates/story/story.php?storyId=15012277" target="_blank">Norah Jones</a>, is Shankar's daughter. Another daughter, <a href="http://www.npr.org/templates/story/story.php?storyId=15402971" target="_blank">Anoushka</a>, learned sitar from her father, and now takes his classical tradition and makes it more contemporary.</p> <p>A few winters ago in Delhi, remembering those demanding early years of sitar studies, Ravi Shankar said his guru's most important lesson was this: "He says that we have to earn our livelihood, and for that we have to perform and accept money. But music is not for sale. The music that I have learned and want to give is like worshiping God. It's absolutely like a prayer."</p> <p>Shankar once said he felt ecstasy when he made music — the world was erased, and he experienced great peace. His music embraced and lifted those who heard and loved it, his widow Sukanya, his daughters and his many fans.</p> <div id="res167020365" class="bucketwrap video youtube-video large graphic624">
221
+ <div class="video-wrap">
222
+ <iframe width="624" height="500" type="text/html" src="http://www.youtube.com/embed/HsuFlxxrX8k"></iframe>
223
+ </div>
224
+
225
+ <!-- END CLASS="VIDEO-WRAP" -->
226
+ <div class="captionwrap externalasset">
227
+ <span class="creditwrap"><span class="source">YouTube</span></span>
228
+ </div>
229
+
230
+ <!-- END CLASS="CAPTIONWRAP EXTERNALASSET" -->
231
+ </div>
232
+
233
+ <!-- END ID="RES167020365" CLASS="BUCKETWRAP VIDEO YOUTUBE-VIDEO LARGE GRAPHIC624" -->
234
+ <div class="container con1col small" id="con167020780" previewTitle="Ravi Shankar Links">
235
+ <h3>Additional Information: </h3>
236
+ <div id="res167020072" class="bucketwrap internallink inkinsetonecolumn inset1col ">
237
+ <a href="http://www.npr.org/templates/story/story.php?storyId=125507150" id="featuredStackSquareImage125507150" class="photowrap" reload="true" numResources="1"><img src="http://media.npr.org/assets/music/studiosessions/favorite/2010/04/ravishankar_sq-52804aa264cf5ace65147c0510b0c381b1b32e6a-s1.jpg" class="img138" title="Ravi Shankar, who brought Indian classical music to the West, turns 90 Wednesday" alt="Ravi Shankar, who brought Indian classical music to the West, turns 90 Wednesday" /></a> <div class="bucketblock">
238
+ <h3 class="slug"><a href="http://www.npr.org/series/10347449/classical-sessions">Classical Sessions </a></h3>
239
+ <p><a href="http://www.npr.org/templates/story/story.php?storyId=125507150"> Ravi Shankar At 90: The Man And His Music</a></p>
240
+ </div>
241
+
242
+ <!-- END CLASS="BUCKETBLOCK" -->
243
+ </div>
244
+
245
+ <!-- END ID="RES167020072" CLASS="BUCKETWRAP INTERNALLINK INKINSETONECOLUMN INSET1COL " -->
246
+ <div id="res167020069" class="bucketwrap internallink inkinsetonecolumn inset1col ">
247
+ <a href="http://www.npr.org/templates/story/story.php?storyId=125512689" id="featuredStackSquareImage125512689" class="photowrap" reload="true" numResources="1"><img src="http://media.npr.org/assets/music/studiosessions/favorite/2010/04/ravi_child_sq-f1975d268e6de8a9543188ba0bc3b997ced3e195-s1.jpg" class="img138" title="Ravi Shankar performs with his daughter Anoushka Shankar." alt="Ravi Shankar performs with his daughter Anoushka Shankar." /></a> <div class="bucketblock">
248
+ <h3 class="slug"><a href="http://www.npr.org/sections/music-interviews/">Music Interviews </a></h3>
249
+ <p><a href="http://www.npr.org/templates/story/story.php?storyId=125512689"> Indian Classical Music 101 With Ravi Shankar</a></p>
250
+ </div>
251
+
252
+ <!-- END CLASS="BUCKETBLOCK" -->
253
+ </div>
254
+
255
+ <!-- END ID="RES167020069" CLASS="BUCKETWRAP INTERNALLINK INKINSETONECOLUMN INSET1COL " -->
256
+ </div>
257
+
258
+ <!-- END CLASS="CONTAINER CON1COL SMALL" ID="CON167020780" PREVIEWTITLE="RAVI SHANKAR LINKS" -->
259
+ </div>
260
+ <div class="fullattribution">Copyright 2012 National Public Radio. To see more, visit http://www.npr.org/.<img src="http://www.google-analytics.com/__utm.gif?utmac=UA-5828686-4&utmdt=Ravi+Shankar%2C+Who+Brought+Eastern+Music+To+Western+Legends%2C+Dies&utme=8(APIKey)9(API_KEY)"/></div>]]></fullText>
261
+ <externalAsset id="167020365" type="YouTube">
262
+ <url>http://www.youtube.com/watch?v=HsuFlxxrX8k</url>
263
+ <oEmbed>http://www.youtube.com/oembed?url=http%3A//www.youtube.com/watch%3Fv%3DHsuFlxxrX8k</oEmbed>
264
+ <externalId>HsuFlxxrX8k</externalId>
265
+ <credit/>
266
+ <parameters/>
267
+ <caption/>
268
+ </externalAsset>
269
+ </story>
270
+ </list>
271
+ </nprml>
@@ -0,0 +1,165 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <nprml version="0.94">
3
+ <list>
4
+ <title><![CDATA[NPR: Stories from NPR]]></title>
5
+ <teaser><![CDATA[Assorted stories from NPR]]></teaser>
6
+ <miniTeaser><![CDATA[Custom NPR News Feed API. Visit http://www.npr.org/templates/apidoc/index.php for more information.]]></miniTeaser>
7
+ <link type="api">http://api.npr.org/query?id=166884441&amp;apiKey=API_KEY</link>
8
+ <link type="html">http://www.npr.org/2012/12/11/166884441/in-freedom-ex-felon-becomes-probation-counselor?ft=3&amp;f=166884441</link>
9
+ <story id="166884441">
10
+ <link type="html">http://www.npr.org/2012/12/11/166884441/in-freedom-ex-felon-becomes-probation-counselor?ft=3&amp;f=166884441</link>
11
+ <link type="api">http://api.npr.org/query?id=166884441&amp;apiKey=API_KEY</link>
12
+ <link type="short">http://n.pr/RXCSBj</link>
13
+ <title><![CDATA[In Freedom, Ex-Felon Becomes Probation Counselor ]]></title>
14
+ <partnerId>166884441</partnerId>
15
+ <subtitle/>
16
+ <shortTitle/>
17
+ <teaser><![CDATA[The federal probation office in St. Louis has one of the biggest caseloads of violent offenders in the country — and one of the lowest recidivism rates. That's in part because of a former felon who knows how to keep ex-offenders from returning to prison.]]></teaser>
18
+ <miniTeaser><![CDATA[After serving time for armed robbery, an ex-offender now helps others turn their lives around.]]></miniTeaser>
19
+ <slug>U.S.</slug>
20
+ <thumbnail>
21
+ <medium>http://media.npr.org/assets/img/2012/12/11/clark_composite_sq-fe93b6a98c444ebe0b1dd7e3e02729f934c676fb.jpg?s=13</medium>
22
+ <large>http://media.npr.org/assets/img/2012/12/11/clark_composite_sq-fe93b6a98c444ebe0b1dd7e3e02729f934c676fb.jpg?s=11</large>
23
+ <provider>Courtesy of Washington Universtiy in St. Louis</provider>
24
+ </thumbnail>
25
+ <storyDate>Tue, 11 Dec 2012 15:00:00 -0500</storyDate>
26
+ <pubDate>Tue, 11 Dec 2012 21:34:00 -0500</pubDate>
27
+ <lastModifiedDate>Tue, 11 Dec 2012 21:34:27 -0500</lastModifiedDate>
28
+ <show>
29
+ <program id="2" code="ATC">All Things Considered</program>
30
+ <showDate>Tue, 11 Dec 2012 15:00:00 -0500</showDate>
31
+ <segNum>7</segNum>
32
+ </show>
33
+ <keywords/>
34
+ <priorityKeywords/>
35
+ <organization orgId="278" orgAbbr="KWMU">
36
+ <name>KWMU-FM</name>
37
+ <website>http://www.stlpublicradio.org</website>
38
+ </organization>
39
+ <transcript>
40
+ <link type="api">http://api.npr.org/transcript?id=166884441&amp;apiKey=API_KEY</link>
41
+ </transcript>
42
+ <parent id="1091" type="topic">
43
+ <title>Around the Nation</title>
44
+ <link type="html">http://www.npr.org/sections/around-the-nation/?ft=3&amp;f=166884441</link>
45
+ <link type="api">http://api.npr.org/query?id=1091&amp;apiKey=API_KEY</link>
46
+ </parent>
47
+ <parent id="1003" type="primaryTopic" slug="true">
48
+ <title>U.S.</title>
49
+ <link type="html">http://www.npr.org/sections/us/?ft=3&amp;f=166884441</link>
50
+ <link type="api">http://api.npr.org/query?id=1003&amp;apiKey=API_KEY</link>
51
+ </parent>
52
+ <parent id="1003" type="topic">
53
+ <title>U.S.</title>
54
+ <link type="html">http://www.npr.org/sections/us/?ft=3&amp;f=166884441</link>
55
+ <link type="api">http://api.npr.org/query?id=1003&amp;apiKey=API_KEY</link>
56
+ </parent>
57
+ <parent id="1002" type="topic">
58
+ <title>Home Page Top Stories</title>
59
+ <link type="html">http://www.npr.org/?ft=3&amp;f=166884441</link>
60
+ <link type="api">http://api.npr.org/query?id=1002&amp;apiKey=API_KEY</link>
61
+ </parent>
62
+ <audio id="167000584" type="primary">
63
+ <title/>
64
+ <duration>290</duration>
65
+ <description/>
66
+ <format>
67
+ <mp3 type="mp3">http://pd.npr.org/anon.npr-mp3/npr/atc/2012/12/20121211_atc_07.mp3?orgId=278&amp;topicId=1003&amp;ft=3&amp;f=166884441</mp3>
68
+ <mp3 type="m3u">http://api.npr.org/m3u/1167000584-5e6998.m3u?orgId=278&amp;topicId=1003&amp;ft=3&amp;f=166884441</mp3>
69
+ <wm>http://www.npr.org/templates/dmg/dmg_wmref_em.php?id=167000584&amp;type=1&amp;mtype=WM&amp;orgId=278&amp;topicId=1003&amp;ft=3&amp;f=166884441</wm>
70
+ <mediastream>rtmp://flash.npr.org/ondemand/mp3:anon.npr-mp3/npr/atc/2012/12/20121211_atc_07.mp3</mediastream>
71
+ </format>
72
+ <rightsHolder/>
73
+ <permissions>
74
+ <download allow="true"/>
75
+ <stream allow="true"/>
76
+ <embed allow="true"/>
77
+ </permissions>
78
+ <stream active="false"/>
79
+ </audio>
80
+ <byline id="166885535">
81
+ <name personId="134991966">Julie Bierach</name>
82
+ <link type="html">http://news.stlpublicradio.org/people/julie-bierach</link>
83
+ <link type="api">http://api.npr.org/query?id=134991966&amp;apiKey=API_KEY</link>
84
+ </byline>
85
+ <image id="166972468" type="primary" width="200" src="http://media.npr.org/assets/img/2012/12/11/clark_composite_custom-7a789655986f08866836381751bd592fd4cfca2d.jpg?s=12" hasBorder="false">
86
+ <title>Clark Porter was 17 when he was sentenced to 35 years in prison for robbing a downtown post office at gunpoint. He spent 15 years in prison and today helps some of the toughest ex-offenders turn their lives around.</title>
87
+ <caption>Clark Porter was 17 when he was sentenced to 35 years in prison for robbing a downtown post office at gunpoint. He spent 15 years in prison and today helps some of the toughest ex-offenders turn their lives around.</caption>
88
+ <link url=""/>
89
+ <producer/>
90
+ <provider url="">Courtesy of Washington Universtiy in St. Louis</provider>
91
+ <copyright/>
92
+ <crop type="standard" src="http://media.npr.org/assets/img/2012/12/11/clark_composite-2ac1e5b66d2510c36f1d57fa9866c2c13a3a9a59.jpg" height="572" width="763"/>
93
+ <crop type="square" src="http://media.npr.org/assets/img/2012/12/11/clark_composite_sq-fe93b6a98c444ebe0b1dd7e3e02729f934c676fb.jpg" height="325" width="325"/>
94
+ <crop type="wide" src="http://media.npr.org/assets/img/2012/12/11/clark_composite_wide-85ff648d8e6a64688abe3cf54e8079e1583da8e3.jpg" height="431" width="768"/>
95
+ <crop type="custom" src="http://media.npr.org/assets/img/2012/12/11/clark_composite_custom-7a789655986f08866836381751bd592fd4cfca2d.jpg" height="536" width="768"/>
96
+ <crop type="altPromo" src="http://media.npr.org/assets/img/2012/12/11/clark_composite_promo-171b7217eabe4e2f23f1c18fc82205b1a97087f0.jpg" height="575" width="768"/>
97
+ <crop type="slide" src="http://media.npr.org/assets/img/2012/12/11/clark_composite_slide-bbc0d3742f1af87f499cedba52645cf7bb351e14.jpg" height="510" width="765"/>
98
+ </image>
99
+ <image id="166891214" type="standard" width="200" src="http://media.npr.org/assets/img/2012/12/10/f_clark_porter_alumnus_1_custom-35bad304f3f860d830fd400fe48eea92115cc29e.jpg?s=12" hasBorder="false">
100
+ <title>Porter was hired by Chief U.S. Probation Officer Douglas Burris, who was initially taken aback by the idea of an ex-felon working for the probation office.</title>
101
+ <caption>Porter was hired by Chief U.S. Probation Officer Douglas Burris, who was initially taken aback by the idea of an ex-felon working for the probation office.</caption>
102
+ <link url=""/>
103
+ <producer/>
104
+ <provider url="">Courtesy of Washington University in St. Louis</provider>
105
+ <copyright/>
106
+ <enlargement src="http://media.npr.org/assets/img/2012/12/10/f_clark_porter_alumnus_1_custom-35bad304f3f860d830fd400fe48eea92115cc29e.jpg">
107
+ <caption/>
108
+ </enlargement>
109
+ <crop type="standard" src="http://media.npr.org/assets/img/2012/12/10/f_clark_porter_alumnus_1-9b0e41238589082a4c0d93122b94e68bf79c161b.jpg" height="362" width="483"/>
110
+ <crop type="square" src="http://media.npr.org/assets/img/2012/12/10/f_clark_porter_alumnus_1_sq-be78c6cfef0ab3420ecc467a2daa7168b0f128c5.jpg" height="455" width="455"/>
111
+ <crop type="wide" src="http://media.npr.org/assets/img/2012/12/10/f_clark_porter_alumnus_1_wide-8b03d0d4ae08bd70149ca7e1a8c7b7c03cbb634c.jpg" height="285" width="508"/>
112
+ <crop type="enlargement" src="http://media.npr.org/assets/img/2012/12/10/f_clark_porter_alumnus_1_custom-35bad304f3f860d830fd400fe48eea92115cc29e.jpg" height="455" width="493"/>
113
+ <crop type="custom" src="http://media.npr.org/assets/img/2012/12/10/f_clark_porter_alumnus_1_custom-35bad304f3f860d830fd400fe48eea92115cc29e.jpg" height="455" width="493"/>
114
+ <crop type="brick" src="http://media.npr.org/assets/img/2012/12/10/f_clark_porter_alumnus_1_brick-b647d10682167bc75cd5fd20f0fb1f3fbbc345d2.jpg" height="223" width="485"/>
115
+ <crop type="altPromo" src="http://media.npr.org/assets/img/2012/12/10/f_clark_porter_alumnus_1_promo-80e09309a1b1c3d2430f5dd482bab16e1e7c3ba1.jpg" height="375" width="500"/>
116
+ <crop type="vertical" src="http://media.npr.org/assets/img/2012/12/10/f_clark_porter_alumnus_1_vert-556f13a3bb4a7f312bac078a60d52a326f4bdd12.jpg" height="455" width="341"/>
117
+ <crop type="slide" src="http://media.npr.org/assets/img/2012/12/10/f_clark_porter_alumnus_1_slide-4731441f7b280ef7d4902380c7bf1c22825fa01d.jpg" height="357" width="535"/>
118
+ </image>
119
+ <text>
120
+ <paragraph num="1"><![CDATA[Every weekday, Clark Porter, a tall man with a sturdy build, walks into the Thomas F. Eagleton U.S. Courthouse in St. Louis to work with tough ex-offenders. On the outside, he wears a suit and tie. But on the inside, he has more in common with the former felons than most.]]></paragraph>
121
+ <paragraph num="2"><![CDATA[Back in 1986, a skinny 17-year-old Porter went on trial there as an adult for robbing a post office at gunpoint. His sentence: 35 years.]]></paragraph>
122
+ <paragraph num="3"><![CDATA["The hardest part of prison is when you get into year five," he says. "That's when you start hearing the door close. You get these pangs of reality, and it's like, 'Wow, I've got a 35-year-sentence; I'm not going anywhere."]]></paragraph>
123
+ <paragraph num="4"><![CDATA[Porter served 15 years. When released in 2001, he radically changed his life and enrolled at Washington University in St. Louis while still on probation. He then did the unthinkable and asked Doug Burris, the chief U.S. probation officer in the eastern district of Missouri, for a job.]]></paragraph>
124
+ <paragraph num="5"><![CDATA["My initial reaction was, I laughed. And I thought, you know, that's the craziest idea you could ever come up with," Burris says.]]></paragraph>
125
+ <paragraph num="6"><![CDATA[After all, Porter would be working with the very same people who put him in prison. They had pushed to try him as an adult, arguing that he was beyond hope.]]></paragraph>
126
+ <paragraph num="7"><![CDATA[Before Burris could take a chance on Porter, he needed permission from then-Chief Judge Carol Jackson.]]></paragraph>
127
+ <paragraph num="8"><![CDATA["She [was] either going to have me committed or throw me out of her office," says Burris. "I was proposing that we hire a former violent felon who was prosecuted out of this district."]]></paragraph>
128
+ <paragraph num="9"><![CDATA[But to Burris' surprise, Jackson agreed.]]></paragraph>
129
+ <paragraph num="10"><![CDATA[Today, Porter works with a group of ex-offenders in an intense seven-month-long program that he helped design. The ex-felons are required to do community service, look for a job and participate in therapy. Most have drug offenses and face a daunting choice of employment in either "McDonald's or dope," according to Porter.]]></paragraph>
130
+ <paragraph num="11"><![CDATA["An uneducated black man growing up in the inner city ... You're going to choose the one that pays better. And dope pays sometimes," Porter says.]]></paragraph>
131
+ <paragraph num="12"><![CDATA[He argues that revoking probation for not finding a job or for substance abuse is counterproductive.]]></paragraph>
132
+ <paragraph num="13"><![CDATA["Did it serve our interest to lock him up? Or did it serve our interest to get him clean? Because if he's clean, we don't have to worry about him knocking somebody in the head for a shot of dope," Porter says.]]></paragraph>
133
+ <paragraph num="14"><![CDATA[Lamont McGhee served 13 years in prison for drug conspiracy. He went through Porter's program and admits that Porter's job isn't an easy one.]]></paragraph>
134
+ <paragraph num="15"><![CDATA["He's got to put up with a lot of knuckleheads. He's got to put up with a lot of people that's not going to listen," McGhee says. "A lot of people that say he's one of them, meaning a probation officer."]]></paragraph>
135
+ <paragraph num="16"><![CDATA[Criminologist Beth Huebner of the University of Missouri, St. Louis, researches recidivism among young offenders — the study of a person's relapse into criminal behavior after receiving punishments or interventions for a previous crime. She says ex-offenders are more successful in programs like Porter's because he was once just like them.]]></paragraph>
136
+ <paragraph num="17"><![CDATA["There are some mentoring programs here or there, but there's no systematic development of this sort of program," she says. "But this is something that I hear from offenders — that this is something that they want, that they need."]]></paragraph>
137
+ <paragraph num="18"><![CDATA[Because of their success, Burris and Porter speak to groups across the country. Burris beams when recalling the time he sent Porter to attend a regional White House meeting.]]></paragraph>
138
+ <paragraph num="19"><![CDATA["Because the last time the government paid for him to fly, he was in handcuffs and belly chains on his way to a maximum security prison. And he went from that to having the government pay for him to fly to a meeting with White House officials," Burris says.]]></paragraph>
139
+ <paragraph num="20"><![CDATA[Porter says he knows it's a big responsibility to be a role model for offenders — and that some people are just waiting for him to mess up. But that won't happen, he says. [Copyright 2012 KWMU-FM]]]></paragraph>
140
+ </text>
141
+ <textWithHtml>
142
+ <paragraph num="1"><![CDATA[Every weekday, Clark Porter, a tall man with a sturdy build, walks into the Thomas F. Eagleton U.S. Courthouse in St. Louis to work with tough ex-offenders. On the outside, he wears a suit and tie. But on the inside, he has more in common with the former felons than most.]]></paragraph>
143
+ <paragraph num="2"><![CDATA[Back in 1986, a skinny 17-year-old Porter went on trial there as an adult for robbing a post office at gunpoint. His sentence: 35 years.]]></paragraph>
144
+ <paragraph num="3"><![CDATA["The hardest part of prison is when you get into year five," he says. "That's when you start hearing the door close. You get these pangs of reality, and it's like, 'Wow, I've got a 35-year-sentence; I'm not going anywhere."]]></paragraph>
145
+ <paragraph num="4"><![CDATA[Porter served 15 years. When released in 2001, he radically changed his life and enrolled at Washington University in St. Louis while still on probation. He then did the unthinkable and asked Doug Burris, the chief U.S. probation officer in the eastern district of Missouri, for a job.]]></paragraph>
146
+ <paragraph num="5"><![CDATA["My initial reaction was, I laughed. And I thought, you know, that's the craziest idea you could ever come up with," Burris says.]]></paragraph>
147
+ <paragraph num="6"><![CDATA[After all, Porter would be working with the very same people who put him in prison. They had pushed to try him as an adult, arguing that he was beyond hope.]]></paragraph>
148
+ <paragraph num="7"><![CDATA[Before Burris could take a chance on Porter, he needed permission from then-Chief Judge Carol Jackson.]]></paragraph>
149
+ <paragraph num="8"><![CDATA["She [was] either going to have me committed or throw me out of her office," says Burris. "I was proposing that we hire a former violent felon who was prosecuted out of this district."]]></paragraph>
150
+ <paragraph num="9"><![CDATA[But to Burris' surprise, Jackson agreed.]]></paragraph>
151
+ <paragraph num="10"><![CDATA[Today, Porter works with a group of ex-offenders in an intense seven-month-long program that he helped design. The ex-felons are required to do community service, look for a job and participate in therapy. Most have drug offenses and face a daunting choice of employment in either "McDonald's or dope," according to Porter.]]></paragraph>
152
+ <paragraph num="11"><![CDATA["An uneducated black man growing up in the inner city ... You're going to choose the one that pays better. And dope pays sometimes," Porter says.]]></paragraph>
153
+ <paragraph num="12"><![CDATA[He argues that revoking probation for not finding a job or for substance abuse is counterproductive.]]></paragraph>
154
+ <paragraph num="13"><![CDATA["Did it serve our interest to lock him up? Or did it serve our interest to get him clean? Because if he's clean, we don't have to worry about him knocking somebody in the head for a shot of dope," Porter says.]]></paragraph>
155
+ <paragraph num="14"><![CDATA[Lamont McGhee served 13 years in prison for drug conspiracy. He went through Porter's program and admits that Porter's job isn't an easy one.]]></paragraph>
156
+ <paragraph num="15"><![CDATA["He's got to put up with a lot of knuckleheads. He's got to put up with a lot of people that's not going to listen," McGhee says. "A lot of people that say he's one of them, meaning a probation officer."]]></paragraph>
157
+ <paragraph num="16"><![CDATA[Criminologist Beth Huebner of the University of Missouri, St. Louis, researches recidivism among young offenders — the study of a person's relapse into criminal behavior after receiving punishments or interventions for a previous crime. She says ex-offenders are more successful in programs like Porter's because he was once just like them.]]></paragraph>
158
+ <paragraph num="17"><![CDATA["There are some mentoring programs here or there, but there's no systematic development of this sort of program," she says. "But this is something that I hear from offenders — that this is something that they want, that they need."]]></paragraph>
159
+ <paragraph num="18"><![CDATA[Because of their success, Burris and Porter speak to groups across the country. Burris beams when recalling the time he sent Porter to attend a regional White House meeting.]]></paragraph>
160
+ <paragraph num="19"><![CDATA["Because the last time the government paid for him to fly, he was in handcuffs and belly chains on his way to a maximum security prison. And he went from that to having the government pay for him to fly to a meeting with White House officials," Burris says.]]></paragraph>
161
+ <paragraph num="20"><![CDATA[Porter says he knows it's a big responsibility to be a role model for offenders — and that some people are just waiting for him to mess up. But that won't happen, he says. <div class="fullattribution">Copyright 2012 KWMU-FM. To see more, visit <a href="http://www.stlpublicradio.org">http://www.stlpublicradio.org</a>.<img src="http://www.google-analytics.com/__utm.gif?utmac=UA-5828686-4&utmdt=In+Freedom%2C+Ex-Felon+Becomes+Probation+Counselor+&utme=8(APIKey)9(API_KEY)"/></div>]]></paragraph>
162
+ </textWithHtml>
163
+ </story>
164
+ </list>
165
+ </nprml>
@@ -0,0 +1,14 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <nprml version="0.94">
3
+ <message id="401" level="warning">
4
+ <text>There were no results that matched your query criteria.</text>
5
+ <timestamp>1355298330.06</timestamp>
6
+ </message>
7
+ <list>
8
+ <title><![CDATA[NPR: Stories from NPR]]></title>
9
+ <teaser><![CDATA[Assorted stories from NPR]]></teaser>
10
+ <miniTeaser><![CDATA[Custom NPR News Feed API. Visit http://www.npr.org/templates/apidoc/index.php for more information.]]></miniTeaser>
11
+ <link type="api">http://api.npr.org/query?id=167016221&amp;apiKey=API_KEY</link>
12
+ <link type="html">http://www.npr.org/2012/12/11/167016221/3-dead-including-gunman-in-ore-mall-shooting?ft=3&amp;f=167016221</link>
13
+ </list>
14
+ </nprml>