-
Notifications
You must be signed in to change notification settings - Fork 259
/
.time.com.txt
26 lines (21 loc) · 1.01 KB
/
.time.com.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
date: //meta[@name='date']/@content
author: //meta[@name='byline']/@content
date: //span[@class = 'date']
title: //div[@id='print']//h1
title: //h1[@class="entry-title"]
body: //article//div[contains(@class,'entry-content')]
strip: //div[@class='more-ways']
strip: //div[@id = 'stayConnected']
strip: //p[child::a[@rel = 'bookmark']]
strip: //p[starts-with(string(.),'(MORE:')]
strip: //p[starts-with(string(.),'(PHOTOS:')]
strip: //aside
#move_into(//p[../@class = 'entry-content'][position() = last()])://div[@id = 'featbox']
prune: no
replace_string(<noscript>): <div>
replace_string(</noscript>): </div>
strip: //div[@id='print']//div[contains(@class, 'thumbnail')]
single_page_link: //footer//a[contains(@href, '/printout/')]
test_url: http://content.time.com/time/specials/packages/article/0,28804,2094921_2094923_2094924,00.html
test_url: http://healthland.time.com/2011/07/24/amy-winehouse-and-the-pain-of-addiction/
test_url: http://nation.time.com/2013/09/17/navy-yard-shooter-had-been-treated-for-mental-health-problems/