blob: 6ab7a091e2cc35b64ecff759ad6038c84dbca4da (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
title: //div[@id='art-mast']//h1
author: substring-after(//span[@id='by-line'], 'BY ')
date: //span[@id='pub-date']
body: //div[@id='art-mast']//h2 | //div[@id='art-mast']/h3 | //div[@id='art-body']//div[@class='translateBody']
strip: //div[@id='share-box']
prune: no
single_page_link: //span[@id='controls']/a[contains(@href, 'print=yes')]
test_url: http://www.foreignpolicy.com/articles/2011/08/01/a_murderers_manifesto_and_me
test_url: test_url: http://www.foreignpolicy.com/articles/2012/02/29/five_years_in_damascus
|