-
Notifications
You must be signed in to change notification settings - Fork 202
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
Custom feed for categories doesn't work if it contains åäö #356
Comments
Hi, |
Sure! The relevant part of my config:
The category is named "Träffar". The feed url is:
Or:
I'm honestly not sure. It's shown as "Träffar" in the adressbar, but when I copy the url it turns into "Tr%C3%A4ffar". The feed looks like this for me: <feed xmlns="http://www.w3.org/2005/Atom">
<generator uri="https://jekyllrb.com/" version="4.2.1">Jekyll</generator>
<link href="http://localhost:4000/feed/Tr%C3%A4ffar.xml" rel="self" type="application/atom+xml"/>
<link href="http://localhost:4000/" rel="alternate" type="text/html"/>
<updated>2021-12-17T17:44:45+01:00</updated>
<id>http://localhost:4000/feed/Tr%C3%A4ffar.xml</id>
<title type="html">Linuxkompis | Träffar</title>
<subtitle>En vänlig Linux-gemenskap för alla!</subtitle>
</feed> |
Okay. I was able to reproduce this. jekyll-feed/lib/jekyll-feed/feed.xml Line 48 in 6bc0f83
The fix is very simple: - {% assign posts = posts | where: "category", page.category %}
+ {% assign posts = posts | where: "categories", page.category %} @Hund Are you willing to submit a pull request to patch this..? |
Great! Me? Where? And what exactly should I do? |
Sorry. I didn't mean to get you tensed / confused.. I'll do the needful myself. Thanks for reporting. |
Thank you! I appreciate it. :) |
I'm not sure why, but my extra feeds doesn't update anymore. If I add any posts, they don't show up in the extra feed like they should. |
Do you have a link to your site's source, or do you have a sample where you can reproduce the effect? This change doesn't seem like it would affect whether new posts would be added. |
The issue is probably me. Feel free to have a look at it. :) |
I just tried adding custom feeds for a few catergories to one of my websites. One of this categories is "Träffar" (Meetups).
It does generate a feed, but it doesn't contain any posts.
I'm running Jekyll 4.2.1 with jekyll-feed 0.15.1.
The text was updated successfully, but these errors were encountered: