From: Lanius Trolling Date: Sun, 28 Jul 2024 22:08:27 +0000 (-0400) Subject: Fix other RSS values X-Git-Url: https://gitweb.starshipfights.net/?a=commitdiff_plain;h=6c7741ffb2252906070630781f94fae9565a5d99;p=factbooks Fix other RSS values --- diff --git a/src/jvmMain/kotlin/info/mechyrdia/lore/ViewsRss.kt b/src/jvmMain/kotlin/info/mechyrdia/lore/ViewsRss.kt index b16fae7..0e5184b 100644 --- a/src/jvmMain/kotlin/info/mechyrdia/lore/ViewsRss.kt +++ b/src/jvmMain/kotlin/info/mechyrdia/lore/ViewsRss.kt @@ -64,8 +64,8 @@ suspend fun generateRecentPageEdits(): RssChannel { return RssChannel( title = "Recently Edited Factbooks | The Hour of Decision", - link = MainDomainName, - description = "An RSS feed containing all factbooks in The Hour of Decision, in order of most recently edited.", + link = "$MainDomainName/edits.rss", + description = "All factbooks in The Hour of Decision, in order of most recently edited.", pubDate = mostRecentChange, lastBuildDate = mostRecentChange, ttl = 30, @@ -116,7 +116,7 @@ suspend fun ApplicationCall.recentCommentsRssFeedGenerator(limit: Int): RssChann return RssChannel( title = "Recent Comments - Error | The Hour of Decision", - link = "$MainDomainName/comment/recent", + link = "$MainDomainName/comments.rss", description = "Comment limit must be between ${validLimits.first} and ${validLimits.last}, got $limit", pubDate = null, lastBuildDate = Instant.now(), @@ -144,8 +144,8 @@ suspend fun ApplicationCall.recentCommentsRssFeedGenerator(limit: Int): RssChann return RssChannel( title = "Recent Comments | The Hour of Decision", - link = "$MainDomainName/comment/recent", - description = "An RSS feed containing the $limit most recently-submitted comments", + link = "$MainDomainName/comments.rss", + description = "The $limit most recently-submitted comments", pubDate = mostRecentComment, lastBuildDate = mostRecentComment, ttl = 60,