aboutsummaryrefslogtreecommitdiffhomepage
path: root/inc/3rdparty/site_config/standard/lifehacker.com.txt
diff options
context:
space:
mode:
authorNicolas LÅ“uillet <nicolas.loeuillet@smile.fr>2014-10-10 13:33:54 +0200
committerNicolas LÅ“uillet <nicolas.loeuillet@smile.fr>2014-10-10 13:33:54 +0200
commit44d35257e805856b4913c63fcbed3c0acb64bae8 (patch)
tree11e9d276c34b1b287706cb61182bdc71729661e2 /inc/3rdparty/site_config/standard/lifehacker.com.txt
parentaf8292c1de1886cd975d79f0f42df40e0bd1c5bd (diff)
parentcf8a5e1eedbed484dbcb1ddc9f7a13fc19b7a27b (diff)
downloadwallabag-44d35257e805856b4913c63fcbed3c0acb64bae8.tar.gz
wallabag-44d35257e805856b4913c63fcbed3c0acb64bae8.tar.zst
wallabag-44d35257e805856b4913c63fcbed3c0acb64bae8.zip
Merge branch 'dev'1.8.0
Diffstat (limited to 'inc/3rdparty/site_config/standard/lifehacker.com.txt')
-rwxr-xr-x[-rw-r--r--]inc/3rdparty/site_config/standard/lifehacker.com.txt89
1 files changed, 47 insertions, 42 deletions
diff --git a/inc/3rdparty/site_config/standard/lifehacker.com.txt b/inc/3rdparty/site_config/standard/lifehacker.com.txt
index 32ade14a..ec97f06c 100644..100755
--- a/inc/3rdparty/site_config/standard/lifehacker.com.txt
+++ b/inc/3rdparty/site_config/standard/lifehacker.com.txt
@@ -1,42 +1,47 @@
1# Adds author text: Gawker sites commonly show as "Author: View Profile" 1# Adds author text: Gawker sites commonly show as "Author: View Profile"
2author://a[@class="plus-icon modfont"] 2author://a[@class="plus-icon modfont"]
3 3
4# Add date and time 4# Add date and time
5date: //span[@class="date"] 5date: //span[@class="date"]
6 6
7# Remove date and time from article text 7body: //div[contains(@class, 'marquee-asset-wrapper') or contains(@class, 'post-content')]
8strip: //span[@class="date"] 8
9 9# Remove date and time from article text
10# Remove login/comment text 10strip: //span[@class="date"]
11strip: //*[(@class="presence_control_external smalltype")] 11
12 12# Remove login/comment text
13strip: //div[@class="nodebyline modfont"] 13strip: //*[(@class="presence_control_external smalltype")]
14 14
15# Remove right sidebar 15strip: //div[@class="nodebyline modfont"]
16strip: //div[@id="rightwrapper"] 16
17 17# Remove right sidebar
18# Remove print header 18strip: //div[@id="rightwrapper"]
19strip: //div[@id='printhead']/h1 19
20 20# Remove print header
21# Remove 'content is restricted' 21strip: //div[@id='printhead']/h1
22strip: //div[@id='agegate_IDHERE'] 22
23 23# Remove 'content is restricted'
24# Remove follow text 24strip: //div[@id='agegate_IDHERE']
25strip: //*[(@class="permalink_ads")] 25
26 26# Remove follow text
27# Remove view/comment count 27strip: //*[(@class="permalink_ads")]
28strip: //div[@id='wrapper']/div[2][@class='postmeta_permalink_wrapper']/div[1][@class='postmeta_permalink']/div[2][@class='pm_line'] 28
29 29strip_id_or_class: inset_groups
30# Remove contact text 30
31strip: //div[@id='wrapper']/div[1][@class='content permalink']/p[6][@class='contactinfo'] 31# Remove view/comment count
32 32strip: //div[@id='wrapper']/div[2][@class='postmeta_permalink_wrapper']/div[1][@class='postmeta_permalink']/div[2][@class='pm_line']
33# Remove medium duplicates of the article image 33
34strip_image_src: medium.jpg 34# Remove contact text
35 35strip: //div[@id='wrapper']/div[1][@class='content permalink']/p[6][@class='contactinfo']
36# Remove "arrow" class at bottom of page 36
37strip: //p[@class="arrow"] 37# Remove medium duplicates of the article image
38 38strip_image_src: medium.jpg
39# Remove "track" image from article body 39
40strip: //img[@alt="track"] 40# Remove "arrow" class at bottom of page
41test_url: http://lifehacker.com/5925801/how-can-i-turn-vague-goals-into-actionable-to+dos 41strip: //p[@class="arrow"]
42test_url: http://lifehacker.com/5941600/hack-an-old-computer-mouse-into-a-wireless-bluetooth-mouse \ No newline at end of file 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 \ No newline at end of file