From 59229fa7d54d0ffe1ac586b5bca18a549e65e0a0 Mon Sep 17 00:00:00 2001 From: Michael Date: Sat, 29 Jul 2017 08:01:02 +0000 Subject: [PATCH 1/3] Using a whitelist for "leistungsschutzrecht" --- leistungsschutzrecht/leistungsschutzrecht.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/leistungsschutzrecht/leistungsschutzrecht.php b/leistungsschutzrecht/leistungsschutzrecht.php index ec633b1dc..c58c707f0 100644 --- a/leistungsschutzrecht/leistungsschutzrecht.php +++ b/leistungsschutzrecht/leistungsschutzrecht.php @@ -71,9 +71,13 @@ function leistungsschutzrecht_fetchsites() { $sitelist = fetch_url($url); $siteurls = explode(',', $sitelist); + $whitelist = array('tagesschau.de', 'heute.de', 'wdr.de'); + $sites = array(); foreach ($siteurls AS $site) { - $sites[$site] = $site; + if (!in_array($site, $whitelist)) { + $sites[$site] = $site; + } } // I would prefer parsing the list from the original site, but I haven't found a list. From 43087289c962534ce53b784ca43b3272dd0fd850 Mon Sep 17 00:00:00 2001 From: Michael Date: Fri, 18 Aug 2017 07:48:04 +0000 Subject: [PATCH 2/3] Retriever is deactivated, see issue 3482 --- retriever/retriever.php | 1 + 1 file changed, 1 insertion(+) diff --git a/retriever/retriever.php b/retriever/retriever.php index a05e2e3fa..72e327b35 100644 --- a/retriever/retriever.php +++ b/retriever/retriever.php @@ -4,6 +4,7 @@ * Description: Follow the permalink of RSS/Atom feed items and replace the summary with the full content. * Version: 1.0 * Author: Matthew Exon + * Status: Unsupported */ require_once('include/html2bbcode.php'); From 27222a7e3ba79cd8639073a7a8489fab2dccf806 Mon Sep 17 00:00:00 2001 From: Michael Date: Sat, 19 Aug 2017 09:59:49 +0000 Subject: [PATCH 3/3] README added --- retriever/README | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 retriever/README diff --git a/retriever/README b/retriever/README new file mode 100644 index 000000000..b97281519 --- /dev/null +++ b/retriever/README @@ -0,0 +1,5 @@ +"retriever" is deactivated since it has side effects for all received posts. + +It was created in a time when the option 'Fetch further information for feeds' didn't exist. + +To activate it, please go to the list of your contacts, edit the contact and then select between the different options.