aboutsummaryrefslogtreecommitdiffhomepage
path: root/inc/3rdparty/site_config/standard/thedaily.com.txt
diff options
context:
space:
mode:
authorNicolas LÅ“uillet <nicolas.loeuillet@gmail.com>2013-12-23 02:28:56 -0800
committerNicolas LÅ“uillet <nicolas.loeuillet@gmail.com>2013-12-23 02:28:56 -0800
commit60fc4f4b1ab37fbfe9021f3fa1395d66a4424ed2 (patch)
tree515c4b9c8286ae363f77722c91acb878151dc386 /inc/3rdparty/site_config/standard/thedaily.com.txt
parentcbfd5a1019f47fadefd8490dae9f039ae894298d (diff)
parentda5fc42f615eeb45a702604970f94967507fb432 (diff)
downloadwallabag-60fc4f4b1ab37fbfe9021f3fa1395d66a4424ed2.tar.gz
wallabag-60fc4f4b1ab37fbfe9021f3fa1395d66a4424ed2.tar.zst
wallabag-60fc4f4b1ab37fbfe9021f3fa1395d66a4424ed2.zip
Merge pull request #363 from inthepoche/dev1.3.0
poche 1.3.0
Diffstat (limited to 'inc/3rdparty/site_config/standard/thedaily.com.txt')
-rw-r--r--inc/3rdparty/site_config/standard/thedaily.com.txt24
1 files changed, 24 insertions, 0 deletions
diff --git a/inc/3rdparty/site_config/standard/thedaily.com.txt b/inc/3rdparty/site_config/standard/thedaily.com.txt
new file mode 100644
index 00000000..24ebbbac
--- /dev/null
+++ b/inc/3rdparty/site_config/standard/thedaily.com.txt
@@ -0,0 +1,24 @@
1#keep all body text
2prune: no
3
4#title, body, metadata
5title: //div[@class='story_header']/h1
6body: //div[@id='content']
7author: substring-after(//span[@class='byline'], "by ")
8author: substring-after(//span[@class='byline'], "By ")
9author: //span[@class='byline']
10date: //span[@class='date']
11
12#formatting
13convert_double_br_tags: yes
14dissolve: //div[@class='slides_full']/ul/li
15
16# cleanup
17strip: //a[@id='story_note']
18strip: //br
19strip: //div[@class='intro']
20strip: //div[@class='share-block']
21strip: //div[@class='sidebar-social']
22strip: //div[@class='top-stories']
23strip: //div[@class='prevnext']
24test_url: http://www.thedaily.com/page/2012/01/09/010912-news-college-costs-1-5/ \ No newline at end of file