aboutsummaryrefslogtreecommitdiffhomepage
path: root/inc/3rdparty/site_config/standard/forbes.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/forbes.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/forbes.com.txt')
-rwxr-xr-x[-rw-r--r--]inc/3rdparty/site_config/standard/forbes.com.txt43
1 files changed, 27 insertions, 16 deletions
diff --git a/inc/3rdparty/site_config/standard/forbes.com.txt b/inc/3rdparty/site_config/standard/forbes.com.txt
index 2381b56a..9e1d04c1 100644..100755
--- a/inc/3rdparty/site_config/standard/forbes.com.txt
+++ b/inc/3rdparty/site_config/standard/forbes.com.txt
@@ -1,16 +1,27 @@
1title: //hgroup//h1 1title: //hgroup//h1
2title: //span[@class='mainarttitle'] 2title: //span[@class='mainarttitle']
3 3
4body: //div[@id='leftRail']//div[contains(@class, 'body')] 4body: //div[@id='leftRail']//div[contains(@class, 'body')]
5 5
6author: //meta[@name="author"]/@content 6author: //meta[@name="author"]/@content
7author: //span[@class='mainartauthor'] 7author: //span[@class='mainartauthor']
8 8
9date: substring-before(//hgroup//h6, '@') 9date: substring-before(//hgroup//h6, '@')
10date: //span[@class='mainartdate'] 10date: //span[@class='mainartdate']
11 11
12prune: no 12prune: no
13 13strip: //aside
14single_page_link: //a[contains(@href, '/print/')] 14strip_id_or_class: sticky_sharing
15 15strip_id_or_class: pagination
16test_url: http://www.forbes.com/forbes/2011/0509/technology-frog-design-jan-chipchase-ethnographer-birth-cool_print.html \ No newline at end of file 16strip_id_or_class: controlsbox
17strip_id_or_class: storyboxes
18strip_id_or_class: sponsoredlinks
19strip_id_or_class: nextpage
20strip_id_or_class: contextuallinks
21strip_id_or_class: article_actions
22strip_id_or_class: engagement_block
23
24single_page_link: //a[contains(@href, '/print/')]
25
26test_url: http://www.forbes.com/forbes/2011/0509/technology-frog-design-jan-chipchase-ethnographer-birth-cool_print.html
27test_url: http://www.forbes.com/sites/bruceupbin/2012/09/11/the-iphone-5-winners-and-losers/ \ No newline at end of file