[HeiseBridge] Remove archive link for heise+

archive.ph is also not able to provide the full content of paywalled
heise+ articles.
This commit is contained in:
Mynacol 2023-08-27 12:54:02 +02:00 committed by Paul
parent c3b5b382ba
commit 999d5dce40
1 changed files with 1 additions and 3 deletions

View File

@ -137,10 +137,8 @@ class HeiseBridge extends FeedExpander
if (strpos($item['uri'], 'https://www.heise.de') !== 0) { if (strpos($item['uri'], 'https://www.heise.de') !== 0) {
return $item; return $item;
} }
// abort on heise+ articles
// abort on heise+ articles and link to archive.ph for full-text content
if ($sessioncookie == '' && str_starts_with($item['title'], 'heise+ |')) { if ($sessioncookie == '' && str_starts_with($item['title'], 'heise+ |')) {
$item['uri'] = 'https://archive.ph/?run=1&url=' . urlencode($item['uri']);
return $item; return $item;
} }