From 6c7741ffb2252906070630781f94fae9565a5d99 Mon Sep 17 00:00:00 2001 From: Lanius Trolling Date: Sun, 28 Jul 2024 18:08:27 -0400 Subject: [PATCH] Fix other RSS values --- src/jvmMain/kotlin/info/mechyrdia/lore/ViewsRss.kt | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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, -- 2.25.1