diff options
author | Nicolas LÅ“uillet <nicolas.loeuillet@gmail.com> | 2013-12-23 02:28:56 -0800 |
---|---|---|
committer | Nicolas LÅ“uillet <nicolas.loeuillet@gmail.com> | 2013-12-23 02:28:56 -0800 |
commit | 60fc4f4b1ab37fbfe9021f3fa1395d66a4424ed2 (patch) | |
tree | 515c4b9c8286ae363f77722c91acb878151dc386 /inc/3rdparty/site_config/standard/lifehacker.com.txt | |
parent | cbfd5a1019f47fadefd8490dae9f039ae894298d (diff) | |
parent | da5fc42f615eeb45a702604970f94967507fb432 (diff) | |
download | wallabag-1.3.0.tar.gz wallabag-1.3.0.tar.zst wallabag-1.3.0.zip |
Merge pull request #363 from inthepoche/dev1.3.0
poche 1.3.0
Diffstat (limited to 'inc/3rdparty/site_config/standard/lifehacker.com.txt')
-rw-r--r-- | inc/3rdparty/site_config/standard/lifehacker.com.txt | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/inc/3rdparty/site_config/standard/lifehacker.com.txt b/inc/3rdparty/site_config/standard/lifehacker.com.txt new file mode 100644 index 00000000..32ade14a --- /dev/null +++ b/inc/3rdparty/site_config/standard/lifehacker.com.txt | |||
@@ -0,0 +1,42 @@ | |||
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 \ No newline at end of file | ||