aboutsummaryrefslogtreecommitdiffhomepage
path: root/inc/3rdparty/site_config/standard/stuff.co.nz.txt
diff options
context:
space:
mode:
authorNicolas LÅ“uillet <nicolas.loeuillet@gmail.com>2013-12-06 10:13:03 +0100
committerNicolas LÅ“uillet <nicolas.loeuillet@gmail.com>2013-12-06 10:13:03 +0100
commitac4d114214d820b20e18518a2dbc809337e39043 (patch)
tree27886128ef949b7f8dd174b0646b5a4d99883b44 /inc/3rdparty/site_config/standard/stuff.co.nz.txt
parentd5501950e2470d52f6bf5954d2179010cdee0475 (diff)
downloadwallabag-ac4d114214d820b20e18518a2dbc809337e39043.tar.gz
wallabag-ac4d114214d820b20e18518a2dbc809337e39043.tar.zst
wallabag-ac4d114214d820b20e18518a2dbc809337e39043.zip
[add] new specific configuration files
Diffstat (limited to 'inc/3rdparty/site_config/standard/stuff.co.nz.txt')
-rw-r--r--inc/3rdparty/site_config/standard/stuff.co.nz.txt22
1 files changed, 22 insertions, 0 deletions
diff --git a/inc/3rdparty/site_config/standard/stuff.co.nz.txt b/inc/3rdparty/site_config/standard/stuff.co.nz.txt
new file mode 100644
index 00000000..12fd0939
--- /dev/null
+++ b/inc/3rdparty/site_config/standard/stuff.co.nz.txt
@@ -0,0 +1,22 @@
1title://div[@id='left_col']/h1
2author:substring-after(//span[contains(@class,'storycredit')],'BY ')
3author://span[contains(@class,'storycredit')]
4date:substring-after(//div[contains(@class,'toolbox_date')],'Last updated ')
5date://div[contains(@class,'toolbox_date')]
6body://div[@id='left_col']
7
8strip_id_or_class: toolbox
9strip_id_or_class: story_features
10strip_id_or_class: sharebox_new
11strip_id_or_class: related_box
12strip_id_or_class: sponsored_links
13strip_id_or_class: hidden_ad
14strip_id_or_class: story_content_top
15strip_id_or_class: total_number
16strip_id_or_class: sort_order
17strip_id_or_class: subscribe_order
18
19strip://div[contains(@class,'ad_story')]
20
21test_url: http://www.stuff.co.nz/national/politics/3930344/PM-issues-challenge
22test_url: http://www.stuff.co.nz/entertainment/7045944/International-praise-for-Ladyhawke \ No newline at end of file