Skip to content

feat: add optional tag-based RSS feed generation#2280

Open
suryaanshrai wants to merge 8 commits intojackyzha0:v4from
suryaanshrai:feature/tag-based-feeds
Open

feat: add optional tag-based RSS feed generation#2280
suryaanshrai wants to merge 8 commits intojackyzha0:v4from
suryaanshrai:feature/tag-based-feeds

Conversation

@suryaanshrai
Copy link

@suryaanshrai suryaanshrai commented Jan 17, 2026

Overview

As discussed in this issue -> #2168

Why this feature?

This will allow users to have tag based feeds.

Example usecase

A user can create a RSS feed based newsletter, only for the pages containing the tag blog in it.

Demo and Screenshots

Can checkout the implementation at my website, such as https://suryaansh.dev/tags/games/index.xml

Screenshot for reference:
image

Changes in this PR

  • Add includeTags, rssTagsLimit and rssTags options to ContentIndex plugin
  • Implement logic to generate RSS feeds for unique tags
  • Output feeds to 'tags//index.xml'
  • Support limiting the number of generated tag feeds
  • Supports generation of feed only for a list of tags

Default values for the options

{
    'includeTags': false,
    'rssTagsLimit': 15,
    'rssTags': []
}

Sample configuration

// In quartz.config.ts
Plugin.ContentIndex({
    enableRSS: true,
    includeTags: true,
    includeEmptyFiles: false,
    rssLimit: 15,
}),

- Add 'includeTags' and 'rssTagsLimit' options to ContentIndex plugin
- Implement logic to generate RSS feeds for unique tags
- Output feeds to 'tags/<tag>/index.xml'
- Support limiting the number of generated tag feeds by frequency
Enable generating RSS feeds for specific tags via `rssTags` option
Copilot AI review requested due to automatic review settings January 17, 2026 16:56
Copy link
Contributor

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 adds support for generating tag-based RSS feeds in Quartz, allowing users to create separate RSS feeds for specific tags or the most frequently used tags. This enables use cases like tag-specific newsletters (e.g., a feed for only "blog" tagged posts).

Changes:

  • Added three new configuration options: includeTags, rssTagsLimit, and rssTags to control tag-based RSS feed generation
  • Implemented logic to generate RSS feeds for individual tags at tags/<tag>/index.xml
  • Support for both explicit tag lists and automatic generation for top N tags by frequency

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@github-actions
Copy link

github-actions bot commented Jan 17, 2026

built with Refined Cloudflare Pages Action

⚡ Cloudflare Pages Deployment

Name Status Preview Last Commit
quartz ✅ Ready (View Log) Visit Preview 50ce65a

suryaanshrai and others added 3 commits January 17, 2026 22:34
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Copy link
Contributor

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

Copilot reviewed 1 out of 1 changed files in this pull request and generated 3 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copilot reviews
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.

1 participant