aboutsummaryrefslogtreecommitdiffhomepage
path: root/inc/3rdparty/site_config/standard/thedaily.com.txt
diff options
context:
space:
mode:
authorNicolas LÅ“uillet <nicolas@loeuillet.org>2014-07-13 10:15:40 +0200
committerNicolas LÅ“uillet <nicolas@loeuillet.org>2014-07-13 10:15:40 +0200
commit4e067ceabd705201a16b4c92cf4b23f3b990326c (patch)
tree939f3a8e5ff3ab9ee414a57a895d3e78e1d46ce3 /inc/3rdparty/site_config/standard/thedaily.com.txt
parent58dbe103889148def78b0fc8744d3f94c56a1561 (diff)
downloadwallabag-4e067ceabd705201a16b4c92cf4b23f3b990326c.tar.gz
wallabag-4e067ceabd705201a16b4c92cf4b23f3b990326c.tar.zst
wallabag-4e067ceabd705201a16b4c92cf4b23f3b990326c.zip
updated specific configuration for parsing
Diffstat (limited to 'inc/3rdparty/site_config/standard/thedaily.com.txt')
-rwxr-xr-x[-rw-r--r--]inc/3rdparty/site_config/standard/thedaily.com.txt46
1 files changed, 23 insertions, 23 deletions
diff --git a/inc/3rdparty/site_config/standard/thedaily.com.txt b/inc/3rdparty/site_config/standard/thedaily.com.txt
index 24ebbbac..e255e6a8 100644..100755
--- a/inc/3rdparty/site_config/standard/thedaily.com.txt
+++ b/inc/3rdparty/site_config/standard/thedaily.com.txt
@@ -1,24 +1,24 @@
1#keep all body text 1#keep all body text
2prune: no 2prune: no
3 3
4#title, body, metadata 4#title, body, metadata
5title: //div[@class='story_header']/h1 5title: //div[@class='story_header']/h1
6body: //div[@id='content'] 6body: //div[@id='content']
7author: substring-after(//span[@class='byline'], "by ") 7author: substring-after(//span[@class='byline'], "by ")
8author: substring-after(//span[@class='byline'], "By ") 8author: substring-after(//span[@class='byline'], "By ")
9author: //span[@class='byline'] 9author: //span[@class='byline']
10date: //span[@class='date'] 10date: //span[@class='date']
11 11
12#formatting 12#formatting
13convert_double_br_tags: yes 13convert_double_br_tags: yes
14dissolve: //div[@class='slides_full']/ul/li 14dissolve: //div[@class='slides_full']/ul/li
15 15
16# cleanup 16# cleanup
17strip: //a[@id='story_note'] 17strip: //a[@id='story_note']
18strip: //br 18strip: //br
19strip: //div[@class='intro'] 19strip: //div[@class='intro']
20strip: //div[@class='share-block'] 20strip: //div[@class='share-block']
21strip: //div[@class='sidebar-social'] 21strip: //div[@class='sidebar-social']
22strip: //div[@class='top-stories'] 22strip: //div[@class='top-stories']
23strip: //div[@class='prevnext'] 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 24test_url: http://www.thedaily.com/page/2012/01/09/010912-news-college-costs-1-5/ \ No newline at end of file