File: .time.com.txt

package info (click to toggle)
feedreader 2.10.0-1.1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 11,580 kB
  • sloc: ansic: 11,948; xml: 879; php: 177; python: 35; sh: 32; makefile: 28
file content (26 lines) | stat: -rw-r--r-- 1,036 bytes parent folder | download | duplicates (2)
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/