Fix other RSS values
authorLanius Trolling <lanius@laniustrolling.dev>
Sun, 28 Jul 2024 22:08:27 +0000 (18:08 -0400)
committerLanius Trolling <lanius@laniustrolling.dev>
Sun, 28 Jul 2024 22:08:27 +0000 (18:08 -0400)
src/jvmMain/kotlin/info/mechyrdia/lore/ViewsRss.kt

index b16fae7b21392b685554a61138b63765a5421114..0e5184b7666bc2c4bb9709e85e233db94e27c865 100644 (file)
@@ -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,