Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • pleroma pleroma
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 646
    • Issues 646
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 86
    • Merge requests 86
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • PleromaPleroma
  • pleromapleroma
  • Merge requests
  • !3783

fix atom and rss feeds for users and tags

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged faried nawaz requested to merge faried/pleroma:fix/2980-rss-feed-generation into develop Nov 13, 2022
  • Overview 9
  • Commits 10
  • Pipelines 9
  • Changes 15

issue: #2980

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.

Edited Nov 15, 2022 by feld
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: fix/2980-rss-feed-generation