From 16843570e22e44bb96377a08c159116a7908d3e4 Mon Sep 17 00:00:00 2001 From: Peter Kleiweg Date: Thu, 23 Jul 2026 23:44:09 +0200 Subject: [PATCH] sikkom: maak gebruik van namespaces --- Sikkom/cmd/sikkom/sikkom.go | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/Sikkom/cmd/sikkom/sikkom.go b/Sikkom/cmd/sikkom/sikkom.go index 3d83161..b079935 100644 --- a/Sikkom/cmd/sikkom/sikkom.go +++ b/Sikkom/cmd/sikkom/sikkom.go @@ -31,7 +31,7 @@ type ItemT struct { PubDate string `xml:"pubDate"` UnixTime int64 `xml:"unixTime"` Guid string `xml:"guid"` - Link string `xml:"link"` + Link string `xml:"https://www.rssboard.org/rss-specification link"` // i.p.v. atom:link Premium bool `xml:"premium"` Data []byte `xml:",innerxml"` } @@ -94,9 +94,8 @@ func main() { p(err) p(resp.Body.Close()) - b2 := bytes.ReplaceAll( - bytes.ReplaceAll(body, []byte("