mirror of
https://github.com/juherr/kill-the-news.git
synced 2026-06-20 22:03:48 +00:00
fix(feed): advertise WebSub hub in RSS/Atom body
Readers like FreshRSS discover the hub from <atom:link rel="hub"> in the feed XML, not the HTTP Link header. Without it they never subscribe and only refresh on cache expiry (~30 min) instead of receiving an instant push when a new email arrives. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
@@ -14,6 +14,11 @@ verbatim as the GitHub Release notes — so what you write here is what ships.
|
||||
|
||||
### Fixed
|
||||
|
||||
- RSS and Atom feeds now advertise the WebSub hub inside the feed body
|
||||
(`<atom:link rel="hub">`), not just in the HTTP `Link` header. Readers like
|
||||
FreshRSS discover the hub from the XML, so they can now subscribe and receive
|
||||
an instant push when a new email arrives instead of waiting up to the cache
|
||||
`max-age` (30 min) to refresh.
|
||||
- Subscription-confirmation detection now recognises a confirm email whose CTA
|
||||
button carries the subscribe/subscription hint only in its visible text (e.g.
|
||||
"Yes, subscribe me to this mailing list.") over an opaque tracking-redirect
|
||||
|
||||
Reference in New Issue
Block a user