Finalize/fix RSS feeds

This commit is contained in:
2022-08-27 21:35:05 +02:00
parent c1a701353a
commit 684859c197
5 changed files with 12 additions and 10 deletions
+2 -2
View File
@@ -198,7 +198,7 @@ func (h *DefaultHandler) HandleNewsFeedPage(w io.Writer) error {
return err
}
newsFeed := rss.GenerateRssFeed(registry)
newsFeed := rss.GenerateRssFeed(registry, "Feed Notizie PHC", "https://phc.dm.unipi.it/news", "Le ultime nuove sul PHC.")
return newsFeed.WriteRss(w)
}
@@ -209,7 +209,7 @@ func (h *DefaultHandler) HandleGuideFeedPage(w io.Writer) error {
return err
}
guideFeed := rss.GenerateRssFeed(registry)
guideFeed := rss.GenerateRssFeed(registry, "Feed Guide PHC", "https://phc.dm.unipi.it/guide", "Le più recenti guide a carattere informatico a cura dei macchinisti del PHC.")
return guideFeed.WriteRss(w)
}