From e37feb66714437fff639340a56023a3fab0ccf57 Mon Sep 17 00:00:00 2001 From: "FiveFilters.org" Date: Sat, 30 Aug 2014 23:21:03 +0200 Subject: Add XPath expressions to check for native ads --- theguardian.com.txt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'theguardian.com.txt') diff --git a/theguardian.com.txt b/theguardian.com.txt index c803e4e..6243cdc 100644 --- a/theguardian.com.txt +++ b/theguardian.com.txt @@ -6,8 +6,11 @@ strip: //div[contains(@class, 'kindleWidget')] #strip: //a[not(text())] strip_id_or_class: pocket-btn author: //li[@class='byline'] +native_ad_clue: //meta[@property="article:tag" and contains(@content, "Partner zone")] prune: no tidy: no test_url: http://www.theguardian.com/world/2013/oct/04/nsa-gchq-attack-tor-network-encryption test_url: http://www.theguardian.com/world/2013/oct/03/edward-snowden-files-john-lanchester -test_url: http://www.theguardian.com/commentisfree/2014/jun/15/britishness-search-identity-my-part-in-camerons-odyssey \ No newline at end of file +test_url: http://www.theguardian.com/commentisfree/2014/jun/15/britishness-search-identity-my-part-in-camerons-odyssey +# Native ad +test_url: http://www.theguardian.com/sustainable-business/2014/jul/18/ben-jerry-turn-ice-cream-into-energy \ No newline at end of file -- cgit v1.3.1