forked from fivefilters/ftr-site-config
-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'upstream/master'
- Loading branch information
Showing
18 changed files
with
77 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
These files are released to the public domain. | ||
|
||
See https://creativecommons.org/publicdomain/zero/1.0/ for more information. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# Generated by FiveFilters.org's web-based selection tool | ||
# Place this file inside your site_config/custom/ folder | ||
# Source: http://siteconfig.fivefilters.org/grab.php?url=http%3A%2F%2Fdaserste.ndr.de%2Fpanorama%2Faktuell%2FChronik-Rechtsextreme-Vorfaelle-in-der-AfD-2016%2Cafd892.html | ||
|
||
title: //h1[contains(concat(' ',normalize-space(@class),' '),' headline ')] | ||
next_page_link: //li[@class='next']/a | ||
body: //div[contains(concat(' ',normalize-space(@class),' '),' modCon ')]//div[contains(concat(' ',normalize-space(@class),' '),' mod ') and (contains(concat(' ',normalize-space(@class),' '),' modA ')) and (contains(concat(' ',normalize-space(@class),' '),' modParagraph '))]//div[contains(concat(' ',normalize-space(@class),' '),' boxCon ')]//div[contains(concat(' ',normalize-space(@class),' '),' box ')] | ||
test_url: http://daserste.ndr.de/panorama/aktuell/Chronik-Rechtsextreme-Vorfaelle-in-der-AfD-2016,afd892.html |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,10 @@ | ||
title: //h1 | ||
date: //div[@class='datum'] | ||
single_page_link: //a[contains(@href, '?type=99')] | ||
date: //time | ||
next_page_link: //li[@class='next']//a | ||
|
||
# this hack preserves the intro text, because it would be striped otherwise if the title is set to //h1 | ||
dissolve: //div[@class='artikelMeldung'] | ||
# 1 page | ||
test_url: http://www.elektroniknet.de/elektronik-automotive/wirtschaft/aus-quattro-gmbh-wird-audi-sport-136464.html | ||
test_contains: etwa 1.200 Mitarbeiter an den Standorten Neckarsulm und Ingolstadt | ||
|
||
|
||
strip_id_or_class: anzeige | ||
strip_id_or_class: top_page_navigation | ||
strip_id_or_class: cr_image_container | ||
strip_id_or_class: cr_image_reference | ||
strip_id_or_class: cr_image_icon | ||
strip_id_or_class: _close_txt | ||
strip_id_or_class: _close_ico | ||
strip_id_or_class: clearer | ||
|
||
strip://h1 | ||
strip://h6 | ||
strip://div[contains(@id, 'plista')] | ||
strip://img[contains(@id,'tiny')] | ||
strip://img[@class='cr_image'] | ||
|
||
# strip url at the top | ||
strip: //p[@style='font-size: 10px;'] | ||
|
||
test_url: http://www.elektroniknet.de/automotive/technik-know-how/sicherheitselektronik/article/87717/0/Besser_als_die_Wirklichkeit/ | ||
# 2 pages | ||
test_url: http://www.elektroniknet.de/elektronik-automotive/sonstiges/machine-learning-wird-demnaechst-massiv-an-bedeutung-gewinnen-136362.html | ||
test_contains: Ende 2014 übernahm er seine heutige Position als CEO von MBRDNA |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
http_header(user-agent): Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.2 (KHTML, like Gecko) Chrome/15.0.874.92 Safari/535.2 | ||
|
||
test_url: http://www.foley.com/rss/rss.aspx?id=2 | ||
test_url: https://www.foley.com/solicitor-general-sides-with-sandoz-on-interpretation-of-biosimilar-statute-12-13-2016/ | ||
test_contains: The Solicitor General of the United States |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
body: //article | ||
body: //p[@class='TexteChronique'] | ||
body: //div[@class='src-content'] | ||
|
||
strip: //header | ||
strip: //figure | ||
strip: //div[@class='framed'] | ||
strip: //form | ||
|
||
test_url: http://ici.radio-canada.ca/nouvelle/1003322/lexique-mots-neige-hiver-guy-bertrand | ||
test_url: http://ici.radio-canada.ca/tele/deuxieme-chance/inscription/ | ||
test_url: http://ici.radio-canada.ca/emissions/aujourd_hui_l_histoire/2016-2017/chronique.asp?idChronique=423294 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
prune: no | ||
body: //div[@itemprop="articleBody"] | ||
strip: //aside | ||
|
||
test_url: https://www.indiehackers.com/businesses/paleo-meal-plans |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
body: //div[@class='article-page']//p[@class='amorce'] | //div[@class='article-page']//div[contains(@class, 'entry')] | ||
author: //div[@class='infosAuteur'] | ||
|
||
strip: //ul[@class='stories'] | ||
|
||
test_url:http://www.lapresse.ca/actualites/national/201611/30/01-5046565-coup-dur-pour-les-radars-photo-plusieurs-constats-pourraient-etre-annules.php | ||
test_url: http://www.lapresse.ca/le-soleil/vivre-ici/la-science-au-quotidien/201610/01/01-5026482-les-vertus-de-leau-degout.php |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
title: //h1[@class='headline3'] | ||
author: substring-after(//p[@class="byline"], 'By ') | ||
date: //meta[@name="REVISION_DATE"]/@content | ||
body: //div[@id='articleImage' or @id='frame_fd1fade'] | //span[@id='articleText'] | //div[@class='pageNavigation'] | ||
body: //div[@id='articleImage' or @id='frame_fd1fade'] | //span[@id='article-text'] | //div[@class='pageNavigation'] | ||
strip: //li[@class='next'] | ||
strip: //span[@class='articleLocation'] | ||
prune: no | ||
tidy: no | ||
|
||
test_url: http://www.reuters.com/article/2011/04/08/us-ivorycoast-killings-idUSTRE73732A20110408 | ||
test_url: http://www.reuters.com/article/2011/04/08/us-ivorycoast-killings-idUSTRE73732A20110408 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# Generated by FiveFilters.org's web-based selection tool | ||
# Place this file inside your site_config/custom/ folder | ||
|
||
title: //h1[contains(concat(' ',normalize-space(@class),' '),' c-page-title ')] | ||
body: //div[contains(concat(' ',normalize-space(@class),' '),' c-entry-content ')] | ||
date: //time[contains(concat(' ',normalize-space(@class),' '),' c-byline__item ')] | ||
strip: //h3 | ||
test-url: http://www.vox.com/policy-and-politics/2016/11/28/13728086/trump-literally-and-seriously |