diff options
Diffstat (limited to 'inc/3rdparty/site_config/standard/lifehacker.com.txt')
-rwxr-xr-x | inc/3rdparty/site_config/standard/lifehacker.com.txt | 47 |
1 files changed, 0 insertions, 47 deletions
diff --git a/inc/3rdparty/site_config/standard/lifehacker.com.txt b/inc/3rdparty/site_config/standard/lifehacker.com.txt deleted file mode 100755 index ec97f06c..00000000 --- a/inc/3rdparty/site_config/standard/lifehacker.com.txt +++ /dev/null | |||
@@ -1,47 +0,0 @@ | |||
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 | body: //div[contains(@class, 'marquee-asset-wrapper') or contains(@class, 'post-content')] | ||
8 | |||
9 | # Remove date and time from article text | ||
10 | strip: //span[@class="date"] | ||
11 | |||
12 | # Remove login/comment text | ||
13 | strip: //*[(@class="presence_control_external smalltype")] | ||
14 | |||
15 | strip: //div[@class="nodebyline modfont"] | ||
16 | |||
17 | # Remove right sidebar | ||
18 | strip: //div[@id="rightwrapper"] | ||
19 | |||
20 | # Remove print header | ||
21 | strip: //div[@id='printhead']/h1 | ||
22 | |||
23 | # Remove 'content is restricted' | ||
24 | strip: //div[@id='agegate_IDHERE'] | ||
25 | |||
26 | # Remove follow text | ||
27 | strip: //*[(@class="permalink_ads")] | ||
28 | |||
29 | strip_id_or_class: inset_groups | ||
30 | |||
31 | # Remove view/comment count | ||
32 | strip: //div[@id='wrapper']/div[2][@class='postmeta_permalink_wrapper']/div[1][@class='postmeta_permalink']/div[2][@class='pm_line'] | ||
33 | |||
34 | # Remove contact text | ||
35 | strip: //div[@id='wrapper']/div[1][@class='content permalink']/p[6][@class='contactinfo'] | ||
36 | |||
37 | # Remove medium duplicates of the article image | ||
38 | strip_image_src: medium.jpg | ||
39 | |||
40 | # Remove "arrow" class at bottom of page | ||
41 | strip: //p[@class="arrow"] | ||
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 | ||