You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
mastodon/app
Alexandre Alapetite d1d2377870 WebSub: ATOM before RSS (#9302)
Hello,
The ATOM feed contains the hub declaration for WebSub, but the RSS
version does not.
RSS/ATOM readers will typically pick whichever version comes first, and
will thus not see the WebSub feature.
I therefore suggest putting the ATOM version first, as it is more
feature-rich than its RSS counterpart is.

Clients not compatible with ATOM would not pick it anyway due to the
different type attribute.

A more complicated alternative would be to declare the WebSub feature in
the RSS version as well, using something like the following code, and
ensuring that clients subscribed to the RSS version would receive PuSH
updates just like those subscribed to the ATOM version.

````xml
<rss version="2.0" xmlns:webfeeds="http://webfeeds.org/rss/1.0"
xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<atom:link rel="self" type="application/rss+xml"
href="https://diaspodon.fr/users/test.rss"/>
<atom:link rel="hub" href="https://diaspodon.fr/api/push"/>
</channel>
</rss>
```
6 years ago
..
chewy Get rid of Chewy order/limit warning (#8355) 7 years ago
controllers Extract counters from accounts table to account_stats table (#9295) 6 years ago
helpers Fix missing protocol in dns-prefetch, improve code style (#8963) 7 years ago
javascript Deep compare tags for hashtag column reload (#9297) 6 years ago
lib Prevent multiple handlers for Delete of Actor from running (#9292) 6 years ago
mailers Fix low-hanging rubocop gripes (#8458) 7 years ago
models Extract counters from accounts table to account_stats table (#9295) 6 years ago
policies Improve support for aspects/circles (#8950) 7 years ago
presenters Cast status_count to integer (#9314) 6 years ago
serializers Fix filter ID not being a string in REST API (#9303) 6 years ago
services Simplify hashtag query service, perf increase for 'any' tags (#9298) 6 years ago
validators Fix follow limit validator reporting lower number past threshold (#9230) 6 years ago
views WebSub: ATOM before RSS (#9302) 6 years ago
workers Optimize the process of following someone (#9220) 6 years ago