aboutsummaryrefslogtreecommitdiff
path: root/cmds/rss.go
diff options
context:
space:
mode:
authorSam Scholten2026-08-30 20:51:41 +1000
committerSam Scholten2026-08-30 20:51:41 +1000
commitf84f1c0e26908e2a70777441e1174a26dca10b91 (patch)
tree071b9edc337af700570c65f1ec9ad6b3291bb241 /cmds/rss.go
parent49d9f3e0eaeeab234c3ec903be43b88919d98eff (diff)
downloadfluxrec-main.tar.gz
fluxrec-main.zip
serve: POST /api/poll manual trigger; rename feed to FluxrecsHEADmain
/api/poll runs an out-of-schedule poll through the same serialized path as the scheduler (TryLock, so curls and refreshes can't race the cursor), is POST-only, and 429s inside a 1-minute cooldown after any run. Response is JSON: polled/new_run plus the fresh row's stats when entries arrived. Also rename the RSS channel to Fluxrecs (Miniflux adopts upstream title changes as the feed name). just poll-now wraps the curl.
Diffstat (limited to 'cmds/rss.go')
-rw-r--r--cmds/rss.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmds/rss.go b/cmds/rss.go
index 30be578..f5f28a9 100644
--- a/cmds/rss.go
+++ b/cmds/rss.go
@@ -56,7 +56,7 @@ func RenderRSS(runs []core.RunRow) ([]byte, error) {
doc := rssDocument{
Version: "2.0",
Channel: rssChannel{
- Title: "fluxrec recommendations",
+ Title: "Fluxrecs",
Description: "Top-scored Miniflux entries, refreshed on a schedule.",
},
}