From 7253b83d76e8f2e896d3ec44508bd684607330ec Mon Sep 17 00:00:00 2001 From: jbowdre Date: Sat, 13 Apr 2024 23:35:04 +0000 Subject: [PATCH] convert Markdown post to Gempost --- gemlog/another-echofeed-test.gmi | 17 +++++++++++++++++ gemlog/another-echofeed-test.yaml | 4 ++++ .../{incoming => }/another-echofeed-test.md | 16 ++++++++-------- 3 files changed, 29 insertions(+), 8 deletions(-) create mode 100644 gemlog/another-echofeed-test.gmi create mode 100644 gemlog/another-echofeed-test.yaml rename markdown/{incoming => }/another-echofeed-test.md (93%) diff --git a/gemlog/another-echofeed-test.gmi b/gemlog/another-echofeed-test.gmi new file mode 100644 index 0000000..4a5d6df --- /dev/null +++ b/gemlog/another-echofeed-test.gmi @@ -0,0 +1,17 @@ +This is a quick post to see if this absolute nonsense[1] I have cobbled together actually works. + +=> https://github.com/jbowdre/capsule/blob/main/.github/workflows/markdown2gempost.yml 1: absolute nonsense + +If it works: + +- EchoFeed[1] will see this post in my Scribbles RSS feed, and relay it to my GitHub repo as a Markdown file. +=> https://echofeed.app/ 1: EchoFeed + +- My new GitHub Actions workflow will see the new Markdown file, use a script and md2gmi[1] in a Docker container to convert the Markdown to Gemtext along with a YAML metadata sidecar for gempost, and store the results in the repo. +- The existing workflow will see the new gemtext post and use gempost[2] to (re)build the site, and then deploy it to my virtual server where it will be made available within Geminispace. + +=> https://github.com/n0x1m/md2gmi 1: md2gmi +=> https://github.com/justlark/gempost 2: gempost + +I really hope this works. + diff --git a/gemlog/another-echofeed-test.yaml b/gemlog/another-echofeed-test.yaml new file mode 100644 index 0000000..6d3b1d2 --- /dev/null +++ b/gemlog/another-echofeed-test.yaml @@ -0,0 +1,4 @@ +id: "urn:uuid:de84e442-6798-4421-b1ed-21683e1386a6" +title: "Another Echofeed Test" +published: "2024-04-13T23:32:47.000000Z" +updated: "2024-04-13T23:32:47.000000Z" diff --git a/markdown/incoming/another-echofeed-test.md b/markdown/another-echofeed-test.md similarity index 93% rename from markdown/incoming/another-echofeed-test.md rename to markdown/another-echofeed-test.md index 674e4fd..8f91408 100644 --- a/markdown/incoming/another-echofeed-test.md +++ b/markdown/another-echofeed-test.md @@ -1,11 +1,11 @@ ---- -title: "Another Echofeed Test" -published: "2024-04-13T23:32:47.000000Z" -updated: "2024-04-13T23:32:47.000000Z" ---- - -This is a quick post to see if this [absolute nonsense](https://github.com/jbowdre/capsule/blob/main/.github/workflows/markdown2gempost.yml) I have cobbled together actually works. - +--- +title: "Another Echofeed Test" +published: "2024-04-13T23:32:47.000000Z" +updated: "2024-04-13T23:32:47.000000Z" +--- + +This is a quick post to see if this [absolute nonsense](https://github.com/jbowdre/capsule/blob/main/.github/workflows/markdown2gempost.yml) I have cobbled together actually works. + If it works: - [EchoFeed](https://echofeed.app/) will see this post in my Scribbles RSS feed, and relay it to my GitHub repo as a Markdown file.