aboutsummaryrefslogtreecommitdiff
path: root/patches/01_prettier_rssfeed.patch
diff options
context:
space:
mode:
authorMiquel Lionel <lionelmiquel@sfr.fr>2021-02-18 17:25:32 +0100
committerMiquel Lionel <lionel@les-miquelots.net>2021-02-18 17:25:32 +0100
commit4e513641d311f1a3895a13efb45179e7b88e5b6d (patch)
tree6f9bdd76b46072f7a2fbe42ce5f4cbbd8491a561 /patches/01_prettier_rssfeed.patch
parentc9129233298e6586e2242fd6892cd84531390b83 (diff)
downloadhonk_custom-4e513641d311f1a3895a13efb45179e7b88e5b6d.tar.gz
honk_custom-4e513641d311f1a3895a13efb45179e7b88e5b6d.zip
now this branch will work on tip
Diffstat (limited to 'patches/01_prettier_rssfeed.patch')
-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",