mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2025-07-09 18:08:49 +00:00
Review updates
update renamed and moved functions
This commit is contained in:
parent
ca3c45101e
commit
f151406355
19 changed files with 37 additions and 36 deletions
|
@ -70,7 +70,7 @@ function leistungsschutzrecht_fetchsites()
|
|||
{
|
||||
// This list works - but question is how current it is
|
||||
$url = "http://leistungsschutzrecht-stoppen.d-64.org/blacklist.txt";
|
||||
$sitelist = Network::fetchURL($url);
|
||||
$sitelist = Network::fetchUrl($url);
|
||||
$siteurls = explode(',', $sitelist);
|
||||
|
||||
$whitelist = ['tagesschau.de', 'heute.de', 'wdr.de'];
|
||||
|
@ -89,7 +89,7 @@ function leistungsschutzrecht_fetchsites()
|
|||
|
||||
$url = "http://www.vg-media.de/lizenzen/digitale-verlegerische-angebote/wahrnehmungsberechtigte-digitale-verlegerische-angebote.html";
|
||||
|
||||
$site = Network::fetchURL($url);
|
||||
$site = Network::fetchUrl($url);
|
||||
|
||||
$doc = new DOMDocument();
|
||||
@$doc->loadHTML($site);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue