faried nawaz
|
3f0783c0a5
|
fix atom and rss feeds for users and tags
Changes:
- make the XML closer to spec (RSS does not pass w3c's validator, but works)
- fix dates (RFC3339 for Atom, doc says RFC822 for RSS but RFC1123 is closer)
- fix attachment/enclosure links (but see below)
- set feed item title to post's "summary" if present
- pruned several elements that validators did not like
- examples: ap_enabled, user banner urls.
Specs:
- https://www.rssboard.org/rss-specification
- https://validator.w3.org/feed/docs/atom.html
- https://www.intertwingly.net/wiki/pie/Rss20AndAtom10Compared
Validators:
- https://validator.w3.org/feed/
- https://rssatom.com/feedvalidator.php
Attachment/enclosure links should have a "length" field (mandatory
according to the spec). This is not present in the object's data
map.
|
2022-12-19 01:44:41 +05:00 |
Mark Felder
|
7c64f705f6
|
Update to Phoenix 1.6 and chase dependencies
Also bump minimum Elixir to 1.11
|
2022-11-03 16:13:07 +00:00 |
Alex Gleason
|
f2134e605b
|
Merge remote-tracking branch 'pleroma/develop' into cycles-base-url
|
2021-05-31 16:49:46 -05:00 |
Alex Gleason
|
51a9f97e87
|
Deprecate Pleroma.Web.base_url/0
Use Pleroma.Web.Endpoint.url/0 directly instead. Reduces compiler cycles.
|
2021-05-31 16:48:03 -05:00 |
Ivan Tashkinov
|
ee221277b0
|
Encapsulation of tags / hashtags fetching from objects.
|
2020-12-21 22:54:26 +03:00 |
Alexander Strizhakov
|
4d330d9df1
|
fix for use of published from different entities
|
2020-04-16 18:05:36 +03:00 |
Maksim Pechnikov
|
99c0a11c58
|
added atom feed
|
2020-01-24 22:12:23 +03:00 |