Merge pull request #419 from annando/bad-retriever
Retriever is deactivated, see issue 3482
This commit is contained in:
commit
403114fd35
|
@ -71,10 +71,14 @@ function leistungsschutzrecht_fetchsites() {
|
||||||
$sitelist = fetch_url($url);
|
$sitelist = fetch_url($url);
|
||||||
$siteurls = explode(',', $sitelist);
|
$siteurls = explode(',', $sitelist);
|
||||||
|
|
||||||
|
$whitelist = array('tagesschau.de', 'heute.de', 'wdr.de');
|
||||||
|
|
||||||
$sites = array();
|
$sites = array();
|
||||||
foreach ($siteurls AS $site) {
|
foreach ($siteurls AS $site) {
|
||||||
|
if (!in_array($site, $whitelist)) {
|
||||||
$sites[$site] = $site;
|
$sites[$site] = $site;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
// I would prefer parsing the list from the original site, but I haven't found a list.
|
// I would prefer parsing the list from the original site, but I haven't found a list.
|
||||||
// The following stays here to possibly reenable it in the future without having to reinvent the wheel completely.
|
// The following stays here to possibly reenable it in the future without having to reinvent the wheel completely.
|
||||||
|
|
5
retriever/README
Normal file
5
retriever/README
Normal file
|
@ -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.
|
|
@ -4,6 +4,7 @@
|
||||||
* Description: Follow the permalink of RSS/Atom feed items and replace the summary with the full content.
|
* Description: Follow the permalink of RSS/Atom feed items and replace the summary with the full content.
|
||||||
* Version: 1.0
|
* Version: 1.0
|
||||||
* Author: Matthew Exon <http://mat.exon.name>
|
* Author: Matthew Exon <http://mat.exon.name>
|
||||||
|
* Status: Unsupported
|
||||||
*/
|
*/
|
||||||
|
|
||||||
require_once('include/html2bbcode.php');
|
require_once('include/html2bbcode.php');
|
||||||
|
|
Loading…
Reference in a new issue