Skip to content

feat(rss): Use server title and description for RSS feed, if configured #4717

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

maximilian-krauss
Copy link
Contributor

As much as I like memos, I think it's confusing for users if the title and description is different than the one which shown on the web ui.

This PR adds those in the meta of the RSS feed too:

CleanShot 2025-05-23 at 15 17 02@2x

@maximilian-krauss maximilian-krauss force-pushed the feat-rss-use-custom-settings branch from b86a10d to 726da31 Compare May 27, 2025 05:58
@boojack boojack requested a review from Copilot May 27, 2025 12:27
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR enhances the RSS feed functionality by using the server’s configured title and description for the feed metadata, ensuring consistency with the web UI.

  • Introduces a new heading structure and a helper function to retrieve RSS heading information from workspace settings.
  • Updates the feed generation to use the configured title and description when available.
Comments suppressed due to low confidence (1)

server/router/rss/rss.go:29

  • [nitpick] The struct name 'heading' is ambiguous. Consider renaming it to 'RSSHeading' to more clearly reflect its purpose.
type heading struct {

@maximilian-krauss maximilian-krauss force-pushed the feat-rss-use-custom-settings branch 2 times, most recently from f909b78 to 757d2e8 Compare May 27, 2025 12:39
@maximilian-krauss maximilian-krauss force-pushed the feat-rss-use-custom-settings branch from 757d2e8 to ad8e57b Compare May 27, 2025 13:41
Copy link
Member

@boojack boojack left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@boojack boojack merged commit eca91d5 into usememos:main May 27, 2025
1 of 2 checks passed
@maximilian-krauss maximilian-krauss deleted the feat-rss-use-custom-settings branch May 28, 2025 06:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants