Skip to content

Replace Category string with Categories []string#116

Open
gmalmquist wants to merge 1 commit intogorilla:mainfrom
gmalmquist:gmalmquist-multiple-categories
Open

Replace Category string with Categories []string#116
gmalmquist wants to merge 1 commit intogorilla:mainfrom
gmalmquist:gmalmquist-multiple-categories

Conversation

@gmalmquist
Copy link

Both RSS and Atom support multiple categories on feeds and entries, per their respective specifications. This branch supports that, and additionally plumbs the categories field through to both RSS and Atom variants. This addresses issue #77, which has as of writing been closed as stale without actually being fixed.

This change is breaking.

What type of PR is this? (check all applicable)

  • Refactor
  • Feature
  • Bug Fix
  • Optimization
  • Documentation Update
  • Go Version Update
  • Dependency Update

Description

Related Tickets & Documents

Added/updated tests?

  • Yes
  • No, and this is why: please replace this line with details on why tests
    have not been included
  • I need help with writing tests

Run verifications and test

  • make verify is passing
  • make test is passing

Both RSS and Atom support multiple categories on feeds and entries,
per their respective specifications. This branch supports that, and
additionally plumbs the categories field through to both RSS and
Atom variants. This addresses issue gorilla#77, which has as of writing
been closed as stale without actually being fixed.

*This change is breaking.*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[feature] RSS item can hold multiple <category>

1 participant