feat: add optional tag-based RSS feed generation#2280
Open
suryaanshrai wants to merge 8 commits intojackyzha0:v4from
Open
feat: add optional tag-based RSS feed generation#2280suryaanshrai wants to merge 8 commits intojackyzha0:v4from
suryaanshrai wants to merge 8 commits intojackyzha0:v4from
Conversation
- 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
Contributor
There was a problem hiding this comment.
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, andrssTagsto 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.
built with Refined Cloudflare Pages Action⚡ Cloudflare Pages Deployment
|
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>
based on copilot's review
Contributor
There was a problem hiding this comment.
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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
blogin it.Demo and Screenshots
Can checkout the implementation at my website, such as https://suryaansh.dev/tags/games/index.xml
Screenshot for reference:

Changes in this PR
includeTags,rssTagsLimitandrssTagsoptions to ContentIndex pluginDefault values for the options
{ 'includeTags': false, 'rssTagsLimit': 15, 'rssTags': [] }Sample configuration