aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiquel Lionel <lionelmiquel@sfr.fr>2021-02-05 11:21:28 +0100
committerMiquel Lionel <lionel@les-miquelots.net>2021-02-05 11:21:28 +0100
commit9e3952855832c1277dcaf6dd5e57d93cb729d75d (patch)
tree2a954de01fd1e333beaf334d3c59c98365903694
parent83865f6d1fe1ca663f339710ffaec2cb5aac86a6 (diff)
downloadhonk_custom-9e3952855832c1277dcaf6dd5e57d93cb729d75d.tar.gz
honk_custom-9e3952855832c1277dcaf6dd5e57d93cb729d75d.zip
Prettier RSS feed patch
- <title> of the RSS feed is in the following format: "@user - honking from domain.name" - <description> is in the following format: "RSS Feeds of honks from user@domain.name"
-rw-r--r--patches/01_prettier_rssfeed.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/patches/01_prettier_rssfeed.patch b/patches/01_prettier_rssfeed.patch
new file mode 100644
index 0000000..80e8d9e
--- /dev/null
+++ b/patches/01_prettier_rssfeed.patch
@@ -0,0 +1,16 @@
+diff --git a/web.go b/web.go
+index 11adf5b..502e15f 100644
+--- a/web.go
++++ b/web.go
+@@ -190,9 +190,9 @@ func showrss(w http.ResponseWriter, r *http.Request) {
+ name += " "
+ }
+ feed := rss.Feed{
+- Title: name + "honk",
++ Title: "@" + name + " - honking from " + serverName,
+ Link: home,
+- Description: name + "honk rss",
++ Description: "RSS Feed of honks from " + name + "@" + serverName,
+ Image: &rss.Image{
+ URL: base + "icon.png",
+ Title: name + "honk rss",