Skip to content
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

Option to only include unique categories in the feed #383

Closed
erikgraa opened this issue Jan 5, 2023 · 6 comments
Closed

Option to only include unique categories in the feed #383

erikgraa opened this issue Jan 5, 2023 · 6 comments
Labels

Comments

@erikgraa
Copy link

erikgraa commented Jan 5, 2023

Is it possible to add an option to only enumerate unique items from a post's categories and tags?

Input

---
layout: post
categories: ["Category", "Sub-category"]
tags: ["Tag1", "Tag2", "Category"] 
---

Expected feed.xml

<category term="Category"/>
<category term="Sub-category"/>
<category term="Tag1"/>
<category term="Tag2"/>

Actual feed.xml

The item Category is enumerated twice.

<category term="Category"/>
<category term="Sub-category"/>
<category term="Tag1"/>
<category term="Tag2"/>
<category term="Category"/>
@ashmaroli
Copy link
Member

Since the feed renders the same XML tag for items in both site.categories and site.tags, I think this is a bug due to oversight and not a missing feature.

What do you think, @parkr ?

@jekyllbot
Copy link
Contributor

This issue has been automatically marked as stale because it has not been commented on for at least two months.

The resources of the Jekyll team are limited, and so we are asking for your help.

If this is a bug and you can still reproduce this error on the master/main branch, please reply with all of the information you have about it in order to keep the issue open.

If this is a feature request, please consider whether it can be accomplished in another way. If it cannot, please elaborate on why it is core to this project and why you feel more than 80% of users would find this beneficial.

This issue will automatically be closed in two months if no further activity occurs. Thank you for all your contributions.

@erikgraa
Copy link
Author

erikgraa commented Mar 6, 2023

Did you have a chance to look at this, @ashmaroli, @parkr et al?

@jekyllbot jekyllbot removed the stale label Mar 6, 2023
@jekyllbot
Copy link
Contributor

This issue has been automatically marked as stale because it has not been commented on for at least two months.

The resources of the Jekyll team are limited, and so we are asking for your help.

If this is a bug and you can still reproduce this error on the master/main branch, please reply with all of the information you have about it in order to keep the issue open.

If this is a feature request, please consider whether it can be accomplished in another way. If it cannot, please elaborate on why it is core to this project and why you feel more than 80% of users would find this beneficial.

This issue will automatically be closed in two months if no further activity occurs. Thank you for all your contributions.

@jekyllbot jekyllbot added the stale label May 6, 2023
@erikgraa
Copy link
Author

erikgraa commented May 6, 2023

Would be nice if you could comment on this feature/bug, @ashmaroli / @parkr. :)

@jekyllbot jekyllbot removed the stale label May 6, 2023
@jekyllbot jekyllbot added the stale label Jul 6, 2023
@jekyllbot
Copy link
Contributor

This issue has been automatically marked as stale because it has not been commented on for at least two months.

The resources of the Jekyll team are limited, and so we are asking for your help.

If this is a bug and you can still reproduce this error on the master/main branch, please reply with all of the information you have about it in order to keep the issue open.

If this is a feature request, please consider whether it can be accomplished in another way. If it cannot, please elaborate on why it is core to this project and why you feel more than 80% of users would find this beneficial.

This issue will automatically be closed in two months if no further activity occurs. Thank you for all your contributions.

@jekyllbot jekyllbot closed this as not planned Won't fix, can't repro, duplicate, stale Sep 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants