mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-03-31 13:55:07 +03:00
[HeiseBridge] add all RSS feeds from heise.de (#3223)
Add all feeds from https://www.heise.de/news-extern/news.html with (mostly) their original name. The existing ones moved from e.g. https://www.heise.de/newsticker/heise-atom.xml to https://www.heise.de/rss/heise-atom.xml. Some feeds were commented out, as they do not provide full-text feeds for multiple reasons.
This commit is contained in:
parent
e76ddf9192
commit
e44e458617
1 changed files with 84 additions and 9 deletions
|
@ -12,14 +12,89 @@ class HeiseBridge extends FeedExpander
|
||||||
'name' => 'Category',
|
'name' => 'Category',
|
||||||
'type' => 'list',
|
'type' => 'list',
|
||||||
'values' => [
|
'values' => [
|
||||||
'Alle News'
|
// source: https://www.heise.de/news-extern/news.html
|
||||||
=> 'https://www.heise.de/newsticker/heise-atom.xml',
|
'heise online News'
|
||||||
'Top-News'
|
=> 'https://www.heise.de/rss/heise-atom.xml',
|
||||||
=> 'https://www.heise.de/newsticker/heise-top-atom.xml',
|
'heise online IT'
|
||||||
'Internet-Störungen'
|
=> 'https://www.heise.de/rss/heise-Rubrik-IT-atom.xml',
|
||||||
=> 'https://www.heise.de/netze/netzwerk-tools/imonitor-internet-stoerungen/feed/aktuelle-meldungen/',
|
'heise online Wissen'
|
||||||
'Alle News von heise Developer'
|
=> 'https://www.heise.de/rss/heise-Rubrik-Wissen-atom.xml',
|
||||||
=> 'https://www.heise.de/developer/rss/news-atom.xml'
|
'heise online Mobiles'
|
||||||
|
=> 'https://www.heise.de/rss/heise-Rubrik-Mobiles-atom.xml',
|
||||||
|
'heise online Entertainment'
|
||||||
|
=> 'https://www.heise.de/rss/heise-Rubrik-Entertainment-atom.xml',
|
||||||
|
'heise online Netzpolitik'
|
||||||
|
=> 'https://www.heise.de/rss/heise-Rubrik-Netzpolitik-atom.xml',
|
||||||
|
'heise online Wirtschaft'
|
||||||
|
=> 'https://www.heise.de/rss/heise-Rubrik-Wirtschaft-atom.xml',
|
||||||
|
'heise online Journal'
|
||||||
|
=> 'https://www.heise.de/rss/heise-Rubrik-Journal-atom.xml',
|
||||||
|
'heise online Top-News'
|
||||||
|
=> 'https://www.heise.de/rss/heise-top-atom.xml',
|
||||||
|
//'iMonitor – Internet-Störungen'
|
||||||
|
//=> 'https://www.heise.de/netze/netzwerk-tools/imonitor-internet-stoerungen/feed/aktuelle-meldungen/',
|
||||||
|
//'heise tipps+tricks 🦄💻📱'
|
||||||
|
//=> 'https://www.heise.de/rss/tipps-und-tricks-atom.xml',
|
||||||
|
'Alle Inhalte von heise+'
|
||||||
|
=> 'https://www.heise.de/rss/heiseplus-atom.xml',
|
||||||
|
'heise Autos News'
|
||||||
|
=> 'https://www.heise.de/autos/rss/news-atom.xml',
|
||||||
|
'heise Developer - Neueste Meldungen'
|
||||||
|
=> 'https://www.heise.de/developer/rss/news-atom.xml',
|
||||||
|
'Der Dotnet-Doktor'
|
||||||
|
=> 'https://www.heise.de/developer/rss/dotnet-doktor-blog-atom.xml',
|
||||||
|
'the next big thing'
|
||||||
|
=> 'https://www.heise.de/developer/rss/next-big-thing-blog-atom.xml',
|
||||||
|
'Tales from the Web side'
|
||||||
|
=> 'https://www.heise.de/developer/rss/tales-from-the-web-side-blog-atom.xml',
|
||||||
|
'Continuous Architecture'
|
||||||
|
=> 'https://www.heise.de/developer/rss/continuous-architecture-blog-atom.xml',
|
||||||
|
'Der Pragmatische Architekt'
|
||||||
|
=> 'https://www.heise.de/developer/rss/der-pragmatische-architekt-blog-atom.xml',
|
||||||
|
'Modernes C++'
|
||||||
|
=> 'https://www.heise.de/developer/rss/modernes-cplusplus-blog-atom.xml',
|
||||||
|
'colspan'
|
||||||
|
=> 'https://www.heise.de/developer/rss/colspan-dev-blog-atom.xml',
|
||||||
|
'"Ich roll\' dann mal aus"'
|
||||||
|
=> 'https://www.heise.de/developer/rss/ich-roll-dann-mal-aus-atom.xml',
|
||||||
|
'Well Organized'
|
||||||
|
=> 'https://www.heise.de/developer/rss/well-organized-blog-atom.xml',
|
||||||
|
'Neuigkeiten von der Insel'
|
||||||
|
=> 'https://www.heise.de/developer/rss/neuigkeiten-von-der-insel-blog-atom.xml',
|
||||||
|
'Von Menschen und Maschinen'
|
||||||
|
=> 'https://www.heise.de/developer/rss/von-menschen-und-maschinen-blog-atom.xml',
|
||||||
|
'heise Foto'
|
||||||
|
=> 'https://www.heise.de/foto/rss/news-atom.xml',
|
||||||
|
//'Top-Programme bei heise Download'
|
||||||
|
//=> 'https://www.heise.de/download/feed/top',
|
||||||
|
'heise Security'
|
||||||
|
=> 'https://www.heise.de/security/rss/news-atom.xml',
|
||||||
|
'Security-Alert Meldungen'
|
||||||
|
=> 'https://www.heise.de/security/rss/alert-news-atom.xml',
|
||||||
|
'c\'t-Blog'
|
||||||
|
=> 'https://www.heise.de/ct/blog/blog-atom.xml',
|
||||||
|
'c\'t-Blog Labs'
|
||||||
|
=> 'https://www.heise.de/ct/blog/blog-ctlabs-atom.xml',
|
||||||
|
'c\'t-Blog Fair & Green IT'
|
||||||
|
=> 'https://www.heise.de/ct/blog/blog-fgit-atom.xml',
|
||||||
|
'c\'t-Blog RTFM'
|
||||||
|
=> 'https://www.heise.de/ct/blog/blog-rtfm-atom.xml',
|
||||||
|
'c\'t-Themen'
|
||||||
|
=> 'https://www.heise.de/ct/rss/artikel-atom.xml',
|
||||||
|
'Make - Neueste Meldungen'
|
||||||
|
=> 'https://www.heise.de/make/rss/hardware-hacks-atom.xml',
|
||||||
|
'iX News'
|
||||||
|
=> 'https://www.heise.de/ix/rss/news-atom.xml',
|
||||||
|
'Mac & i'
|
||||||
|
=> 'https://www.heise.de/mac-and-i/news-atom.xml',
|
||||||
|
'MIT Technology Review'
|
||||||
|
=> 'https://www.heise.de/tr/rss/news-atom.xml',
|
||||||
|
'MIT Technology Review Blog'
|
||||||
|
=> 'https://www.heise.de/tr/rss/blog-atom.xml',
|
||||||
|
//'Telepolis'
|
||||||
|
//=> 'https://www.heise.de/tp/news-atom.xml',
|
||||||
|
//'Aktuelle News von TechStage'
|
||||||
|
//=> 'https://www.techstage.de/rss.xml',
|
||||||
]
|
]
|
||||||
],
|
],
|
||||||
'limit' => [
|
'limit' => [
|
||||||
|
@ -65,7 +140,7 @@ class HeiseBridge extends FeedExpander
|
||||||
$article = defaultLinkTo($article, $item['uri']);
|
$article = defaultLinkTo($article, $item['uri']);
|
||||||
|
|
||||||
// remove unwanted stuff
|
// remove unwanted stuff
|
||||||
foreach ($article->find('figure.branding, a-ad, div.ho-text, a-img, .opt-in__content-container') as $element) {
|
foreach ($article->find('figure.branding, a-ad, div.ho-text, a-img, .opt-in__content-container, .a-toc__list') as $element) {
|
||||||
$element->remove();
|
$element->remove();
|
||||||
}
|
}
|
||||||
// reload html, as remove() is buggy
|
// reload html, as remove() is buggy
|
||||||
|
|
Loading…
Add table
Reference in a new issue