diff options
author | faried nawaz <faried@gmail.com> | 2022-11-14 01:50:52 +0500 |
---|---|---|
committer | faried nawaz <faried@gmail.com> | 2022-12-19 01:44:41 +0500 |
commit | 3f0783c0a50c99ba4697829f9571b57d8b08f5de (patch) | |
tree | 478a897958d752917b9e2c484417ed5bc6cd8657 /docs/development/ap_extensions.md | |
parent | 8db82932a7998d411fa86d53b66f540714f465f3 (diff) | |
download | pleroma-3f0783c0a50c99ba4697829f9571b57d8b08f5de.tar.gz pleroma-3f0783c0a50c99ba4697829f9571b57d8b08f5de.zip |
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.
Diffstat (limited to 'docs/development/ap_extensions.md')
0 files changed, 0 insertions, 0 deletions