passthejoe/blogPoster

Add the ability to copy or upload a post file to a Hugo-style blog, then build and deploy that blog

passthejoe opened this issue · 0 comments

The script right now is customized to upload to a dynamic, Perl CGI-delivered Ode blog (http://ode.io). That software isn't generally available, and used of static sites like Hugo and Jekyll are much more common.

The aim of this feature would be to have the script automate the creation and publication of entries on a static blog like Hugo.

I am already using Hugo for a site, and it is not alone in static-site generators in being a good microblogging platform. I have my Ode site set up so it doesn't show a post title — like Twitter and Facebook and other social-media apps, where there's always a post and never a title. In a way, a social-media post = a title-less blog post.

Ode doesn't require building like a static site, though it does require pinging to create the post index (via the Indexette add-in). In the case of Hugo, this script should:

Create the entry and generate the proper metadata
Copy the post to the Hugo blog's content directory
Trigger a build of the system
Transfer the new files to the live web site