diff --git a/leistungsschutzrecht/leistungsschutzrecht.php b/leistungsschutzrecht/leistungsschutzrecht.php index ec633b1d..c58c707f 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. diff --git a/retriever/README b/retriever/README new file mode 100644 index 00000000..b9728151 --- /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. diff --git a/retriever/retriever.php b/retriever/retriever.php index a05e2e3f..72e327b3 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');