]> git.immae.eu Git - github/wallabag/wallabag.git/blob - inc/3rdparty/site_config/standard/lifehacker.com.txt
minimum of control on server side added
[github/wallabag/wallabag.git] / inc / 3rdparty / site_config / standard / lifehacker.com.txt
1 # Adds author text: Gawker sites commonly show as "Author: View Profile"
2 author://a[@class="plus-icon modfont"]
3
4 # Add date and time
5 date: //span[@class="date"]
6
7 # Remove date and time from article text
8 strip: //span[@class="date"]
9
10 # Remove login/comment text
11 strip: //*[(@class="presence_control_external smalltype")]
12
13 strip: //div[@class="nodebyline modfont"]
14
15 # Remove right sidebar
16 strip: //div[@id="rightwrapper"]
17
18 # Remove print header
19 strip: //div[@id='printhead']/h1
20
21 # Remove 'content is restricted'
22 strip: //div[@id='agegate_IDHERE']
23
24 # Remove follow text
25 strip: //*[(@class="permalink_ads")]
26
27 # Remove view/comment count
28 strip: //div[@id='wrapper']/div[2][@class='postmeta_permalink_wrapper']/div[1][@class='postmeta_permalink']/div[2][@class='pm_line']
29
30 # Remove contact text
31 strip: //div[@id='wrapper']/div[1][@class='content permalink']/p[6][@class='contactinfo']
32
33 # Remove medium duplicates of the article image
34 strip_image_src: medium.jpg
35
36 # Remove "arrow" class at bottom of page
37 strip: //p[@class="arrow"]
38
39 # Remove "track" image from article body
40 strip: //img[@alt="track"]
41 test_url: http://lifehacker.com/5925801/how-can-i-turn-vague-goals-into-actionable-to+dos
42 test_url: http://lifehacker.com/5941600/hack-an-old-computer-mouse-into-a-wireless-bluetooth-mouse