# Jekyll-feed plugin and index.html in subdirectory

**URL:** <https://talk.jekyllrb.com/t/jekyll-feed-plugin-and-index-html-in-subdirectory/7829>\
**Category:** Help\
**Created:** [November 23, 2022, 8:04am UTC](https://talk.jekyllrb.com/t/jekyll-feed-plugin-and-index-html-in-subdirectory/7829 "2022-11-23T08:04:25Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![kari](https://avatars.discourse-cdn.com/v4/letter/k/9f8e36/32.png) [@kari](https://talk.jekyllrb.com/u/kari)\
**Post date:** [November 23, 2022, 8:04am UTC](https://talk.jekyllrb.com/t/jekyll-feed-plugin-and-index-html-in-subdirectory/7829/1 "2022-11-23T08:04:26Z")

</div>

I created a blogging site for myself and I’m using Jekyll. I have my introduction on the blog home page (i.e. \_site/index.html). I have generated the blog listing into the \_site/blogs/index.html file. Is it possible to configure the jekyll-feed plugin to gather the feeds from an index.html file located in some subdirectory?

---

<div class="post-metadata">

**Author:** ![ninja](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.jekyllrb.com/ninja/32/4925_2.png) [@ninja](https://talk.jekyllrb.com/u/ninja)\
**Post date:** [November 23, 2022, 11:35am UTC](https://talk.jekyllrb.com/t/jekyll-feed-plugin-and-index-html-in-subdirectory/7829/2 "2022-11-23T11:35:54Z")

</div>

yes sure it can. you can create each xml feed for each categories if you like.

---

<div class="post-metadata">

**Author:** ![kari](https://avatars.discourse-cdn.com/v4/letter/k/9f8e36/32.png) [@kari](https://talk.jekyllrb.com/u/kari)\
**Post date:** [November 23, 2022, 12:17pm UTC](https://talk.jekyllrb.com/t/jekyll-feed-plugin-and-index-html-in-subdirectory/7829/3 "2022-11-23T12:17:05Z")

</div>

But I’m not talking about categories but all posts, that I custom-made gather in some sub-directory, e.g.:

{% for post in site.posts %}

{{ post.date | date: '%-d.%-m.%Y' }}  
{{ post.title }}

 {% endfor %}

---

<div class="post-metadata">

**Author:** ![ninja](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.jekyllrb.com/ninja/32/4925_2.png) [@ninja](https://talk.jekyllrb.com/u/ninja)\
**Post date:** [November 23, 2022, 1:06pm UTC](https://talk.jekyllrb.com/t/jekyll-feed-plugin-and-index-html-in-subdirectory/7829/4 "2022-11-23T13:06:11Z")

</div>

relax, i can confirm that Jekyll can do.  
all you need are here [jekyll-feed/feed.xml at master · jekyll/jekyll-feed · GitHub](https://github.com/jekyll/jekyll-feed/blob/master/lib/jekyll-feed/feed.xml)

Right now, I’m just a little bit busy developing my app using Jekyll, so I can not explain in more detail here. But I feel you can make it works by giving you the resource repository.

---

<div class="post-metadata">

**Author:** ![kari](https://avatars.discourse-cdn.com/v4/letter/k/9f8e36/32.png) [@kari](https://talk.jekyllrb.com/u/kari)\
**Post date:** [November 23, 2022, 1:50pm UTC](https://talk.jekyllrb.com/t/jekyll-feed-plugin-and-index-html-in-subdirectory/7829/5 "2022-11-23T13:50:54Z")

</div>

Hi ninja and thank you for your support!  
I’m happy to hear it is possible.  
I read the jekyll-feed documentation on that Github page yesterday but I couldn’t find any configuration on how to point to some non-standard index.html (e.g. living in a sub-directory like in my case).  
Any help would be greatly appreciated! 🙂

---

<div class="post-metadata">

**Author:** ![kari](https://avatars.discourse-cdn.com/v4/letter/k/9f8e36/32.png) [@kari](https://talk.jekyllrb.com/u/kari)\
**Post date:** [November 23, 2022, 5:20pm UTC](https://talk.jekyllrb.com/t/jekyll-feed-plugin-and-index-html-in-subdirectory/7829/6 "2022-11-23T17:20:36Z")

</div>

I managed to resolve this issue with:

> **[GitHub - georgemandis/jekyll-rss-feeds: Templates for rendering RSS feeds for...](https://github.com/georgemandis/jekyll-rss-feeds)**
>
> Templates for rendering RSS feeds for your Jekyll blog - GitHub - georgemandis/jekyll-rss-feeds: Templates for rendering RSS feeds for your Jekyll blog

---

<div class="post-metadata">

**Author:** ![kari](https://avatars.discourse-cdn.com/v4/letter/k/9f8e36/32.png) [@kari](https://talk.jekyllrb.com/u/kari)\
**Post date:** [November 23, 2022, 6:12pm UTC](https://talk.jekyllrb.com/t/jekyll-feed-plugin-and-index-html-in-subdirectory/7829/7 "2022-11-23T18:12:41Z")

</div>

Well, actually not. That script creates rss feed and I need atom feed.

---

<div class="post-metadata">

**Author:** ![dieghernan](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.jekyllrb.com/dieghernan/32/1714_2.png) [@dieghernan](https://talk.jekyllrb.com/u/dieghernan)\
**Post date:** [November 24, 2022, 6:00am UTC](https://talk.jekyllrb.com/t/jekyll-feed-plugin-and-index-html-in-subdirectory/7829/8 "2022-11-24T06:00:33Z")

</div>

Hi,

I developed [this template](https://github.com/dieghernan/chulapa/blob/master/assets/atom.xml) for my site that generates valid atom feeds. You may want to give it a try.

---

<div class="post-metadata">

**Author:** ![ninja](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.jekyllrb.com/ninja/32/4925_2.png) [@ninja](https://talk.jekyllrb.com/u/ninja)\
**Post date:** [November 24, 2022, 6:33am UTC](https://talk.jekyllrb.com/t/jekyll-feed-plugin-and-index-html-in-subdirectory/7829/9 "2022-11-24T06:33:38Z")

</div>

awesome theme and features, thanks for share i give one start for the repos
