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