diff options
author | Nicolas LÅ“uillet <nicolas.loeuillet@smile.fr> | 2014-10-10 13:33:54 +0200 |
---|---|---|
committer | Nicolas LÅ“uillet <nicolas.loeuillet@smile.fr> | 2014-10-10 13:33:54 +0200 |
commit | 44d35257e805856b4913c63fcbed3c0acb64bae8 (patch) | |
tree | 11e9d276c34b1b287706cb61182bdc71729661e2 /inc/3rdparty/site_config/standard/lifehacker.com.txt | |
parent | af8292c1de1886cd975d79f0f42df40e0bd1c5bd (diff) | |
parent | cf8a5e1eedbed484dbcb1ddc9f7a13fc19b7a27b (diff) | |
download | wallabag-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.txt | 89 |
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" |
2 | author://a[@class="plus-icon modfont"] | 2 | author://a[@class="plus-icon modfont"] |
3 | 3 | ||
4 | # Add date and time | 4 | # Add date and time |
5 | date: //span[@class="date"] | 5 | date: //span[@class="date"] |
6 | 6 | ||
7 | # Remove date and time from article text | 7 | body: //div[contains(@class, 'marquee-asset-wrapper') or contains(@class, 'post-content')] |
8 | strip: //span[@class="date"] | 8 | |
9 | 9 | # Remove date and time from article text | |
10 | # Remove login/comment text | 10 | strip: //span[@class="date"] |
11 | strip: //*[(@class="presence_control_external smalltype")] | 11 | |
12 | 12 | # Remove login/comment text | |
13 | strip: //div[@class="nodebyline modfont"] | 13 | strip: //*[(@class="presence_control_external smalltype")] |
14 | 14 | ||
15 | # Remove right sidebar | 15 | strip: //div[@class="nodebyline modfont"] |
16 | strip: //div[@id="rightwrapper"] | 16 | |
17 | 17 | # Remove right sidebar | |
18 | # Remove print header | 18 | strip: //div[@id="rightwrapper"] |
19 | strip: //div[@id='printhead']/h1 | 19 | |
20 | 20 | # Remove print header | |
21 | # Remove 'content is restricted' | 21 | strip: //div[@id='printhead']/h1 |
22 | strip: //div[@id='agegate_IDHERE'] | 22 | |
23 | 23 | # Remove 'content is restricted' | |
24 | # Remove follow text | 24 | strip: //div[@id='agegate_IDHERE'] |
25 | strip: //*[(@class="permalink_ads")] | 25 | |
26 | 26 | # Remove follow text | |
27 | # Remove view/comment count | 27 | strip: //*[(@class="permalink_ads")] |
28 | strip: //div[@id='wrapper']/div[2][@class='postmeta_permalink_wrapper']/div[1][@class='postmeta_permalink']/div[2][@class='pm_line'] | 28 | |
29 | 29 | strip_id_or_class: inset_groups | |
30 | # Remove contact text | 30 | |
31 | strip: //div[@id='wrapper']/div[1][@class='content permalink']/p[6][@class='contactinfo'] | 31 | # Remove view/comment count |
32 | 32 | strip: //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 | |
34 | strip_image_src: medium.jpg | 34 | # Remove contact text |
35 | 35 | strip: //div[@id='wrapper']/div[1][@class='content permalink']/p[6][@class='contactinfo'] | |
36 | # Remove "arrow" class at bottom of page | 36 | |
37 | strip: //p[@class="arrow"] | 37 | # Remove medium duplicates of the article image |
38 | 38 | strip_image_src: medium.jpg | |
39 | # Remove "track" image from article body | 39 | |
40 | strip: //img[@alt="track"] | 40 | # Remove "arrow" class at bottom of page |
41 | test_url: http://lifehacker.com/5925801/how-can-i-turn-vague-goals-into-actionable-to+dos | 41 | strip: //p[@class="arrow"] |
42 | test_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 | ||
44 | strip: //img[@alt="track"] | ||
45 | test_url: http://lifehacker.com/5925801/how-can-i-turn-vague-goals-into-actionable-to+dos | ||
46 | test_url: http://lifehacker.com/5941600/hack-an-old-computer-mouse-into-a-wireless-bluetooth-mouse | ||
47 | test_url: http://lifehacker.com/what-happens-to-the-brain-when-you-meditate-and-how-it-1202533314 \ No newline at end of file | ||