]> git.immae.eu Git - github/wallabag/wallabag.git/blame - inc/3rdparty/site_config/standard/lifehacker.com.txt
[add] new specific configuration files
[github/wallabag/wallabag.git] / inc / 3rdparty / site_config / standard / lifehacker.com.txt
CommitLineData
ac4d1142
NL
1# Adds author text: Gawker sites commonly show as "Author: View Profile"\r
2author://a[@class="plus-icon modfont"]\r
3\r
4# Add date and time\r
5date: //span[@class="date"]\r
6\r
7# Remove date and time from article text\r
8strip: //span[@class="date"]\r
9\r
10# Remove login/comment text\r
11strip: //*[(@class="presence_control_external smalltype")]\r
12\r
13strip: //div[@class="nodebyline modfont"]\r
14\r
15# Remove right sidebar\r
16strip: //div[@id="rightwrapper"]\r
17\r
18# Remove print header\r
19strip: //div[@id='printhead']/h1\r
20\r
21# Remove 'content is restricted'\r
22strip: //div[@id='agegate_IDHERE']\r
23\r
24# Remove follow text\r
25strip: //*[(@class="permalink_ads")]\r
26\r
27# Remove view/comment count\r
28strip: //div[@id='wrapper']/div[2][@class='postmeta_permalink_wrapper']/div[1][@class='postmeta_permalink']/div[2][@class='pm_line']\r
29\r
30# Remove contact text\r
31strip: //div[@id='wrapper']/div[1][@class='content permalink']/p[6][@class='contactinfo']\r
32\r
33# Remove medium duplicates of the article image\r
34strip_image_src: medium.jpg\r
35\r
36# Remove "arrow" class at bottom of page\r
37strip: //p[@class="arrow"]\r
38\r
39# Remove "track" image from article body\r
40strip: //img[@alt="track"]\r
41test_url: http://lifehacker.com/5925801/how-can-i-turn-vague-goals-into-actionable-to+dos\r
42test_url: http://lifehacker.com/5941600/hack-an-old-computer-mouse-into-a-wireless-bluetooth-mouse