1 # Adds author text: Gawker sites commonly show as "Author: View Profile"
2 author://a[@class="plus-icon modfont"]
5 date: //span[@class="date"]
7 body: //div[contains(@class, 'marquee-asset-wrapper') or contains(@class, 'post-content')]
9 # Remove date and time from article text
10 strip: //span[@class="date"]
12 # Remove login/comment text
13 strip: //*[(@class="presence_control_external smalltype")]
15 strip: //div[@class="nodebyline modfont"]
17 # Remove right sidebar
18 strip: //div[@id="rightwrapper"]
21 strip: //div[@id='printhead']/h1
23 # Remove 'content is restricted'
24 strip: //div[@id='agegate_IDHERE']
27 strip: //*[(@class="permalink_ads")]
29 strip_id_or_class: inset_groups
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']
35 strip: //div[@id='wrapper']/div[1][@class='content permalink']/p[6][@class='contactinfo']
37 # Remove medium duplicates of the article image
38 strip_image_src: medium.jpg
40 # Remove "arrow" class at bottom of page
41 strip: //p[@class="arrow"]
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