aboutsummaryrefslogtreecommitdiffhomepage
path: root/inc/3rdparty/site_config/standard/lifehacker.com.txt
diff options
context:
space:
mode:
Diffstat (limited to 'inc/3rdparty/site_config/standard/lifehacker.com.txt')
-rw-r--r--inc/3rdparty/site_config/standard/lifehacker.com.txt42
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"
2author://a[@class="plus-icon modfont"]
3
4# Add date and time
5date: //span[@class="date"]
6
7# Remove date and time from article text
8strip: //span[@class="date"]
9
10# Remove login/comment text
11strip: //*[(@class="presence_control_external smalltype")]
12
13strip: //div[@class="nodebyline modfont"]
14
15# Remove right sidebar
16strip: //div[@id="rightwrapper"]
17
18# Remove print header
19strip: //div[@id='printhead']/h1
20
21# Remove 'content is restricted'
22strip: //div[@id='agegate_IDHERE']
23
24# Remove follow text
25strip: //*[(@class="permalink_ads")]
26
27# Remove view/comment count
28strip: //div[@id='wrapper']/div[2][@class='postmeta_permalink_wrapper']/div[1][@class='postmeta_permalink']/div[2][@class='pm_line']
29
30# Remove contact text
31strip: //div[@id='wrapper']/div[1][@class='content permalink']/p[6][@class='contactinfo']
32
33# Remove medium duplicates of the article image
34strip_image_src: medium.jpg
35
36# Remove "arrow" class at bottom of page
37strip: //p[@class="arrow"]
38
39# Remove "track" image from article body
40strip: //img[@alt="track"]
41test_url: http://lifehacker.com/5925801/how-can-i-turn-vague-goals-into-actionable-to+dos
42test_url: http://lifehacker.com/5941600/hack-an-old-computer-mouse-into-a-wireless-bluetooth-mouse \ No newline at end of file