File: polygon.com.txt

package info (click to toggle)
feedreader 2.10.0-1.1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 11,580 kB
  • sloc: ansic: 11,948; xml: 879; php: 177; python: 35; sh: 32; makefile: 28
file content (34 lines) | stat: -rw-r--r-- 1,038 bytes parent folder | download | duplicates (2)
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