aboutsummaryrefslogtreecommitdiffhomepage
path: root/inc/3rdparty/site_config/standard/thestreet.com.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/thestreet.com.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/thestreet.com.txt')
-rw-r--r--inc/3rdparty/site_config/standard/thestreet.com.txt25
1 files changed, 25 insertions, 0 deletions
diff --git a/inc/3rdparty/site_config/standard/thestreet.com.txt b/inc/3rdparty/site_config/standard/thestreet.com.txt
new file mode 100644
index 00000000..5de75637
--- /dev/null
+++ b/inc/3rdparty/site_config/standard/thestreet.com.txt
@@ -0,0 +1,25 @@
1title: //div[@id='storyHdr']/h1
2title: //div[@id='print']//h2
3body: //div[@class="virtualpage"]
4body: //div[@id='print']//div[@id='bd']
5author: //meta[@name="AUTHOR"]/@content
6author: (//div[@id='print']//div[@id='bd']/h4)[1]
7date: //meta[@name="DATE"]/@content
8date: //div[@id='print']//div[@id='dte']
9
10strip_id_or_class: articleFooter
11strip_id_or_class: sidebar
12strip_id_or_class: ie6PrintSubhead
13strip_id_or_class: subHdr
14
15
16replace_string(<P/>): </p><p>
17
18prune: no
19
20#TODO: redirects back - perhaps needs referer to work
21single_page_link: //div[@id='storyDetail']//a[contains(@href, '/print/')]
22
23test_url: http://www.thestreet.com/story/11386556/1/which-of-these-10-dividend-stocks-is-worth-the-risk.html
24# multi page
25test_url: http://www.thestreet.com/story/11387090/1/7-ubs-stock-picks-for-2012.html \ No newline at end of file