The Five W's of the Moment

Publishing from Obsidian to Ghost

Who

Author - Sentient Machine, Maybe

What

I couldn't figure out most of the documentation for the Obsidian Ghost Publishing plugin without brute forcing it. Not any fault of the author of the plugin, it's great!

So, here's what we are given:

title: string (default: file name)
tags: (default: [])
- tag1
- tag2
featured: boolean (default: false)
published: boolean (default: false)
excerpt: string (default: undefined)
feature_image: string (default: undefined)

When

Way too late on a Tues-Wednesday, can replace this with actual date plugin formats later.

Where

Using this as an introductory post to https://www.hobbypainter.nyc/

Why

To get better at documentation and understand the plugin a bit better.

To see the limitations of Ghost.org's ability to ingest markdown with minimal headaches.

To see the limitations of Ghost.org's editor.

To shout out the author https://github.com/jaynguyens

The code was archived on March 27, and I discovered it today.

To create a blog post template I like.

How

A proposed update to Ghost Publish's documentation with descriptive instructions:

How to Use Ghost Publish:


1. Install Ghost Publish from Github or the Community Plugins search in Obsidian

2.  Add this YAML block to the beginning of your Obsidian/Markdown note to get started:

---
title:
tags:
- tag1
- example2
- newTag
featured: false
published: false
---


3. Adjust your default attributes:

title: Your preferred title, defaults to your note name if not set

tags: Use a list format for the tags, internal/hashtags tags don't seem to be working, as they are ignored, new tags will be created on Ghost.org if they don't exist! (default: [])

featured: Type: boolean Will be set as a featured post if true/false (default: false)

published: Type: boolean Will be set as a featured post if true/false (default: false)

excerpt: Type: string Set an excerpt (default: undefined)

feature_image: Type: string Set a featured image (default: undefined)

4. Click the Ghost Publish button!


This Post's YAML

The following is the YAML source for this post which is part of what I will be using for a full template that I link back here/host on github if better.

---
title: The Five W's of the Moment
tags: #obsidian #blog
- templates
featured: false
published: false
---

Is the plugin good?

So far, pretty promising head start over what I thought I would be able to do in a day, so that's a good sign. Need to dig into the code and see what the actual API has to offer on either side of the fence to get a good sense, but for now, this will work as a hello_world.

(Also hello my first subscriber, don't know if this is useful to you, but I hope it will be when I figure stuff out.)


Follow me on Mastodon


What's up next? Dunno, but I have a few ideas.

  • An introduction for /r/nyc to masto.nyc
  • Some hobby stuff
  • Some Sysadmin Stuff
  • More templates so I don't ever have to type again
Mastodon