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