pull down to refresh

Verify Content in _posts:
Ensure you have a _posts directory with valid files (e.g., YYYY-MM-DD-title.md) and include front matter:

I do not see anywhere mentioned this in jekyll feed instructions: https://github.com/jekyll/jekyll-feed

Do I have to create it? What I have to put in there?

The layout files are already prepared with the same line.
What is missing is the content feed, with pages etc. See here: https://darth-coin.github.io/feed.xml

reply
100 sats \ 25 replies \ @ek 4 Jan

That you need to have a _posts directory is mentioned here: https://jekyllrb.com/docs/structure/

I've got something working locally, I'll send you a PR.

but I don't want your dirty sats lol

reply

So now to who I should give the bounty?
It was a nice and quick experiment.

reply
5000 sats \ 0 replies \ @ek 4 Jan

I can create a comment as @anon and you can click pay bounty there

reply
21 sats \ 1 reply \ @nym 4 Jan

Glad you got it working.

reply

Is fun, still learning. I have some basic knowledge about html, css and stuff like that so this github thing is a playground for me now.
More things / ideas will come and maybe more bounties on SN.

reply

ok I merge it. Let's see how it goes. Thanks, so was about the gem file...

reply
0 sats \ 19 replies \ @ek 4 Jan

That was not the PR to fix the RSS feed, that was just for me building your site and playing with it, lol

reply

OK I get that.

The permalinks can be customized for each post, but the date and markup language are determined solely by the file name.

So I should create a _posts folder and add each page in that format and inside of each md file the permalink to existing html page?

reply
0 sats \ 17 replies \ @ek 4 Jan
So I should create a _posts folder and add each page in that format and inside of each md file the permalink to existing html page?

You can also use symlinks. I was able to put a post into your RSS feed like this:

$ mkdir _posts
$ cd _posts
$ ln -s ../beginner/5-stages-became-bitcoiner-de.html 2009-01-03-5-stages-became-bitcoiner-de.html

But I think the bigger problem is how to create an RSS feed for each language.

reply

I will be happy with only EN for the moment. Each page have links to other languages anyways so reader con just click it.

reply
100 sats \ 4 replies \ @ek 4 Jan

I was too lazy to do it for all posts. I sent you a PR that should explain to you what you need to do for each of them.

Let me know if that works for you, this can probably also be scripted.

Ok I create a symlink for testing in _posts

Now you said:

Since the default permalink is using /YYYY/MM/DD/title.html which is probably not what you want, you also need to set permalink in your front matter.

That means for each page I would have to add the permalink in the header of the file?
Like:

layout: default-de
title: 21 ₿itcoin Orange Pillen für Neulinge
permalink: /2025-01-03-21-bitcoin-orange-pills-de.html
reply
0 sats \ 8 replies \ @ek 4 Jan

No, for that one the permalink needs to be /general/21-bitcoin-orange-pills-de.html

Try it without a permalink so the default will be used in the RSS feed and you will see what I mean.

30 sats \ 1 reply \ @ek 4 Jan

Was this created by a LLM? If so, I expect better from you @nym.

reply
21 sats \ 0 replies \ @nym 4 Jan

Was on my phone and just trying to help

reply
reply

So just add a _posts folder and the name of each page ?
I do not want to move all the pages I already created.

reply

i suspect you will have to move everything to _posts

that's probably the way jekyll-feed Plugin is configured

reply


Must be a way to indicate each post where is located.
If not... then I have to renounce of adding a RSS feed.

reply
reply
I do not see anywhere mentioned this in jekyll feed instructions

hmmmm. you are right.

the link i sent is from 2020, maybe it's outdated.

reply