pub / newsplanet

Planet-Style Newsfeed generated with perlanet
git clone https://src.jayvii.de/pub/newsplanet.git
Home | Log | Files | Exports | Refs | README | RSS

commit f449a01f10702011d10ad09c850b2ce34174ed6a
parent b377df92044f7e876c03047d105dbf3bb5eaf64a
Author: JayVii <jayvii[AT]posteo[DOT]de>
Date:   Sat,  8 Feb 2025 15:37:19 +0100

feat: add heise and golem

Diffstat:
Mnetpolitics.yaml | 11++++++-----
Mrun.sh | 2+-
2 files changed, 7 insertions(+), 6 deletions(-)

diff --git a/netpolitics.yaml b/netpolitics.yaml @@ -16,11 +16,12 @@ feed: format: RSS cache_dir: /tmp/newsplanet/netpolitics feeds: - - title: Netzpolitik.ORG (Ticker) - url: https://netzpolitik.org/ticker/feed/ - web: https://netzpolitik.org/ticker - title: Netzpolitik.ORG url: https://netzpolitik.org/feed/ web: https://netzpolitik.org - - + - title: Heise Online + url: https://www.heise.de/rss/heise-Rubrik-Netzpolitik-atom.xml + web: https://www.heise.de/newsticker/netzpolitik/ + - title: Golem + url: https://rss.golem.de/rss.php?feed=RSS1.0&ms=netzpolitik + web: https://www.golem.de/specials/netzpolitik/ diff --git a/run.sh b/run.sh @@ -53,7 +53,7 @@ FEEDS="" for i in `seq 1 1 $NFEEDS`; do TITLE=`echo "$TITLES" | sed -n "${i},${i}p"` WEB=`echo "$WEBS" | sed -n "${i},${i}p"` - FEEDS="$FEEDS<a href=\"$WEB\">$TITLE</a><br>" + FEEDS="${FEEDS}<a href=\"${WEB}\">${TITLE}</a><br>" done FEEDS=`echo "$FEEDS" | sed -e 's/\//\\\\\//g' -ze 's/\n//g'` sed -E -e "s/<\!--FEEDS-->/$FEEDS/" -i "$HTML"