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 --- arstechnica.com.txt | 2 ++ bbc.com.txt | 2 ++ theatlantic.com.txt | 2 ++ theguardian.com.txt | 5 ++++- 4 files changed, 10 insertions(+), 1 deletion(-) diff --git a/arstechnica.com.txt b/arstechnica.com.txt index 767f680..eb92aa2 100644 --- a/arstechnica.com.txt +++ b/arstechnica.com.txt @@ -13,5 +13,7 @@ title: //div[@id='story']//h2[@class='title'] strip: //div[@class='pager'] next_page_link: //nav//a[span/@class='next']/@href +native_ad_clue: //meta[@property="og:url" and contains(@content, '/sponsored/')] + test_url: http://arstechnica.com/tech-policy/news/2012/02/gigabit-internet-for-80-the-unlikely-success-of-californias-sonicnet.ars test_url: http://arstechnica.com/apple/2005/04/macosx-10-4/ diff --git a/bbc.com.txt b/bbc.com.txt index 93a3604..67a27c6 100644 --- a/bbc.com.txt +++ b/bbc.com.txt @@ -36,6 +36,8 @@ strip_id_or_class: comments_module replace_string(