aboutsummaryrefslogtreecommitdiffhomepage
path: root/inc/3rdparty/site_config/standard/polygon.com.txt
blob: 8fe9b1be47ae91142f1be828d0be1df321a2dd40 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
body: //div[@id='article-content']
body: //article[@id='entry-top']/div[@class='float_wrapper']
author: //header/p[@class='byline']/em/a
date: //header/p[@class='byline']/span[@class='timestamp']

strip: //div[@id='article-content']//header
strip: //label

#photos on left column (delete all)
strip: //div[@class='big_photo']

#photos on left column (remove extras used for scroll effect)
#strip: //div[@class='big_photo']/div[./img]
#strip: //div[@class='big_photo']/img[position()>1]

strip_id_or_class: vox-lazy-load
strip_id_or_class: social_buttons
strip_id_or_class: feature_toc

prune: no

find_string: <noscript>
replace_string: <div>
find_string: </noscript>
replace_string: </div>

#find_string: <script
#replace_string: <div style="display:none"
#find_string: </script>
#replace_string: </div>

strip: //div[@class='float_wrapper']/header
test_url: http://www.polygon.com/2013/4/5/4189028/donkey-kong-country-returns-3d-new-content
test_url: http://www.polygon.com/features/2013/8/22/4602568/30-years-xbox-360-playstation-3-wii