]> git.immae.eu Git - github/wallabag/wallabag.git/blame - inc/3rdparty/site_config/standard/npr.org.txt
Merge branch 'dev' into data-for-mysql
[github/wallabag/wallabag.git] / inc / 3rdparty / site_config / standard / npr.org.txt
CommitLineData
4e067cea
NL
1title: //div[contains(@class, 'storytitle')]//h1
2author: //p[@class="byline"]/span
3body: //div[@id='primaryaudio']//*[@class='duration' or @class='download' or contains(@class, 'photo')] | //div[@id='storytext' or @id='supplementarycontent' or contains(@class, 'transcript')]
4date: //meta[@name="date"]/@content
5
6strip_id_or_class: enlarge_measure
7strip_id_or_class: enlarge_html
8strip: //a[contains(@class, 'enlargeicon')]
9strip: //div[contains(@class, 'bookedition')]
10strip: //div[@class='textsize']
11strip: //ul[@class='genres']
12strip: //span[@class='bull']
13strip_id_or_class: secondary
14strip_id_or_class: con1col
15strip: //h3[@class='conheader']
16
17replace_string(<a name="more">&nbsp;</a>): <!-- no more -->
18replace_string(<div class="transcript">): <div class="transcript"><h2>Transcript</h2>
19replace_string(<div class="transcript storytext">): <div class="transcript storytext"><h2>Transcript</h2>
20
21prune: no
22strip://div[@class="ecommercepop"]
23strip://span[@class="bull"]
24strip://span[@class="purchaseLink"]
25strip://div[@class="enlarge_html"]
26strip://div[@class="enlarge_measure"]
27strip://div[@class="container con1col small"]
28strip://a[contains(@class, "enlargebtn")]
29strip://div[contains(@class, "bucketwrap internallink")]
30
31test_url: http://www.npr.org/blogs/thetwo-way/2011/07/12/137799301/sports-loses-its-escapist-gleam-in-a-summer-of-court-dates
32test_url: http://www.npr.org/2012/07/04/156190948/feeling-under-siege-catholic-leadership-shifts-right
33test_url: http://www.npr.org/2012/12/13/166480907/the-years-best-sci-fi-crosses-galaxies-and-genres
34test_url: http://www.npr.org/templates/story/story.php?storyId=229103221