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/views
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
..
about Replace SVG asset with Custom mascot (#8766) 6 years ago
accounts WebSub: ATOM before RSS (#9302) 6 years ago
admin Add option to block reports from domain (#8830) 6 years ago
admin_mailer Show remote reports in admin UI as coming from domain rather than user (#7347) 7 years ago
application Add separate setting for sidebar text (site_short_description) (#8107) 7 years ago
auth Change the password form order (#9267) 6 years ago
authorize_interactions Add remote interaction dialog for toots (#8202) 7 years ago
errors New error page graphic. Other error page improvements (#5099) 7 years ago
filters Redesign forms, verify link ownership with rel="me" (#8703) 6 years ago
follower_accounts Redesign public profiles and toots (#8068) 7 years ago
following_accounts Redesign public profiles and toots (#8068) 7 years ago
home Change documentation URL (#8898) 6 years ago
invites Redesign forms, verify link ownership with rel="me" (#8703) 6 years ago
kaminari Pagination improvements (#1445) 8 years ago
layouts Set @body_classes to admin layout (#9081) 6 years ago
media Save video metadata and improve video OpenGraph tags (#6481) 7 years ago
notification_mailer Display content warning in mail notification emails (#6832) 7 years ago
oauth Oauth code in input form and add description message (#4986) 7 years ago
remote_follow Redesign public profiles and toots (#8068) 7 years ago
remote_interaction Add remote interaction dialog for toots (#8202) 7 years ago
remote_unfollows Redesign public profiles and toots (#8068) 7 years ago
settings Remove character counter from edit profile (#9100) 6 years ago
shared Fix form validation flash message color and input borders (#9235) 6 years ago
shares Add protocol handler. Handle follow intents (#4511) 8 years ago
stream_entries Fix RTL layout of status display names (#9075) 6 years ago
tags Strip tags from og:description on public tag page (#7437) 7 years ago
user_mailer Fix e-mail changed notification (fixes #6778) (#6835) 7 years ago
well_known Add remote interaction dialog for toots (#8202) 7 years ago