2014-07-13 04:15:40 -04:00
|
|
|
# Creator: Greg Leuch <greg@...>
|
|
|
|
|
|
|
|
# It can be messy.
|
|
|
|
tidy:no
|
|
|
|
|
|
|
|
# The basic template.
|
|
|
|
title: //h1[@data-print='title']
|
|
|
|
author: //a[@data-print='author']
|
|
|
|
date: //time[@data-print='date']
|
|
|
|
body: //div[@data-print='body']
|
|
|
|
body: //section[@data-print='body']
|
|
|
|
|
2014-10-27 01:46:13 -04:00
|
|
|
find_string: rel:bf_image_src=
|
|
|
|
replace_string: src=
|
|
|
|
find_string: src="data:
|
|
|
|
replace_string: disabled_src="data:
|
|
|
|
|
|
|
|
native_ad_clue: //meta[@property="article:section" and @content="Advertiser"]
|
|
|
|
|
2014-07-13 04:15:40 -04:00
|
|
|
# For various things...
|
2013-12-06 04:13:03 -05:00
|
|
|
strip: *[@data-print="ignore"]
|
2014-10-27 01:46:13 -04:00
|
|
|
test_url: http://www.buzzfeed.com/hgrant/35-reasons-why-dogs-hate-the-holidays
|
|
|
|
# Native ad
|
|
|
|
test_url: http://www.buzzfeed.com/bravo/ways-to-up-your-online-dating-game
|