mastodon/app/views
Alexandre Alapetite 2c36d35784 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>
```
2018-11-23 22:15:46 +01:00
..
about Replace SVG asset with Custom mascot (#8766) 2018-10-08 00:20:45 +02:00
accounts WebSub: ATOM before RSS (#9302) 2018-11-23 22:15:46 +01:00
admin Add option to block reports from domain (#8830) 2018-10-20 08:02:44 +02:00
admin_mailer
application Add separate setting for sidebar text (site_short_description) (#8107) 2018-07-31 18:59:34 +02:00
auth Fix td instead of th in sessions table header (#9162) 2018-10-30 17:00:34 +01:00
authorize_interactions Add remote interaction dialog for toots (#8202) 2018-08-18 03:03:12 +02:00
errors
filters Redesign forms, verify link ownership with rel="me" (#8703) 2018-09-18 16:45:58 +02:00
follower_accounts Redesign public profiles and toots (#8068) 2018-07-28 19:25:33 +02:00
following_accounts Redesign public profiles and toots (#8068) 2018-07-28 19:25:33 +02:00
home Change documentation URL (#8898) 2018-10-06 14:33:36 +09:00
invites Redesign forms, verify link ownership with rel="me" (#8703) 2018-09-18 16:45:58 +02:00
kaminari
layouts Set @body_classes to admin layout (#9081) 2018-10-25 00:10:01 +02:00
media
notification_mailer
oauth
remote_follow Redesign public profiles and toots (#8068) 2018-07-28 19:25:33 +02:00
remote_interaction Add remote interaction dialog for toots (#8202) 2018-08-18 03:03:12 +02:00
remote_unfollows Redesign public profiles and toots (#8068) 2018-07-28 19:25:33 +02:00
settings Remove character counter from edit profile (#9100) 2018-10-26 01:55:24 +02:00
shared Fix form validation flash message color and input borders (#9235) 2018-11-23 22:12:42 +01:00
shares
stream_entries Fix RTL layout of status display names (#9075) 2018-10-24 18:18:08 +02:00
tags
user_mailer
well_known Add remote interaction dialog for toots (#8202) 2018-08-18 03:03:12 +02:00