1
0
mirror of https://github.com/moparisthebest/wallabag synced 2024-11-27 19:32:18 -05:00
wallabag/inc/3rdparty/site_config/standard/foreignpolicy.com.txt
2013-12-06 10:13:03 +01:00

11 lines
532 B
Plaintext

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