Convert Markdown files to RSS feed(github.com) |
Convert Markdown files to RSS feed(github.com) |
https://extrastatic.dev/svekyll/svekyll-cli/-/merge_requests...
FWIW: I wrote a post using Svekyll about AI embeddings which has a view source button at the bottom. If you click that, you can download a full svekyll blog and add the RSS code to the _config.yml and then just "npm i && npm run build" to see it generate the RSS for that complex post. Then, look at it in your feed reader to see how it escapes the HTML, code blocks, images, etc.
Basically I write the posts in Markdown, commit them to the repository and it automatically generates a RSS feed and a index in the repository (inside the README.md file), and also publishes the blog posts to https://kokada.capivaras.dev/, that is where the blog actually lives.
I don't see how this is a problem, for proper preview, the markdown will have to get compiled into HTML/text anyway.
Most SSG's do this, but this can also be done with a good enough markdown compiler (cough lowdown) and a for loop. Without restricting your markdown formatting to a subset of the features of 2 markdown compilers
One question: how are the articles linked in the RSS file? Are they relative to that file and/or assumed to be in the same folder?
Does not currently support ordered or unordered lists.
People still think of "RSS feeds" and "RSS readers" even if some of those are Atom or at least offer Atom as an option.
Can you give me a pointer how to write the Atom podcast feed?
If you don't care about the Apple Podcasts directory you can publish an Atom podcast feed that will work with most podcatchers. The primary thing you do differently from a normal Atom feed is to use the `link` element with `rel=enclosure` to reference the audio file for each episode/entry.
<link rel="enclosure" href="http://example.com/audio.m4a" length="100" type="audio/mp4" />
I wrote Splitflap, the valid RSS/Atom feed generator package for Racket [2]. Not many folks use Racket but you might find the docs a good resource on this sort of thing anyway.[1]: https://podcasters.apple.com/support/823-podcast-requirement...
But his is mostly try-and-error and merely no specs. Apple doesn't talk about atom AFAIK.
Racket is interesting, I'm into Ocaml, but create those feeds via https://codeberg.org/mro/internet-radio-recorder/src/branch/...
[audio/mpeg](http://example.mp3)
<enclosure url='http://example.mp3' type='audio/mpeg' length='2273741' />