I've also implemented this in my Micropub server:
- when creating a post, and the
draftscope is present, the
post-statusis forced to
draft(even if it's set otherwise in the post)
- when updating a post, and the
draftscope is present, the update is only allowed when updating a
draftpost, otherwise returns
- delete/undelete returns
draftscope is present
Autogenerating Postman Collections for Micropub Servers (3 mins read).
Creating Postman collections programmatically from a Micropub server's supported configuration.
Providing Hints for Autoconfiguring Micropub Clients (3 mins read).
Enhancing my Micropub Server and autoconfiguring Micropub client with the support for
Creating an Auto-configuring Micropub Client (2 mins read).
Announcing support for my Micropub Client configuring itself based on support in my server.
Not much #Hacktoberfest at tonight's #HomebrewWebsiteClub but I did manage to almost get my auto-configuring #Micropub editor set up so it'll provide me a way to create content for any posts that are supported on my site! This uses q=post-types and works really nicely, from some limited local testing
This is looking really lovely! I really like the design ☺
Discussing the options available for posts that require authentication while using a static site, using my own personal requirements.
Creating My Own Personal Micropub Client (3 mins read).
Announcing my own personal Micropub client to publish content that is very specific to my workflows.
Rendering Micropub Client Data on Posts (2 mins read).
Sharing more information about Micropub clients that have created a post, if possible.
Woo! Got #Micropub edit functionality working 🙌 https://gitlab.com/jamietanna/jvt.me/-/commit/fda688f955c351000095a7e5c8ee294513afad6b is my first update through the API. Next will be getting my syndication links auto updated once syndication is reported as successful, but not one to do tonight
You may also be interested in a read of my posts:
Announcing Micropub-Media-Endpoint-Proxy (2 mins read).
Announcing a web-based solution for uploading files to your Micropub media endpoint.
It may not be ready by the #IndieWeb newsletter tomorrow, but I'm hoping my web-based Micropub media endpoint upload client will be live this weekend - exactly what would fit for https://jlelse.blog/micro/2020/01/2020-01-01-frviz/
TLDR: Nearly everyone who wants micropub support writes their own library, endpoint, or whole cms or blog engine.
I believe part of this is because Micropub requires intimate knowledge of how your own site is set up, so unfortunately can't be written as a generic solution, because most folks won't have things set up the same way, even on ie WordPress using common IndieWeb plugins
It's still a good point that maybe we need to look at creating an out-of-the-box Micropub endpoint for some of the common tech stacks.
Setting up a Staging Server for my Micropub Endpoint (4 mins read).
Setting up a Micropub server that I can use to test changes before it publishes content to this site.
My Micropub endpoint has a fair bit of unit testing inside the Java project ( https://gitlab.com/jamietanna/www-api/tree/develop/www-api-web/micropub ) for common flows, but I've also found a tonne of implementation issues by integrating with real Micropub clients.
Some of it is an issue on a Micropub client, but most of it is something I've missed or assumed incorrectly.
Some of it is also a case of reading through the Micropub spec!
Reader Mail: Getting Started with Hugo and Micropub (5 mins read).
Answering a question by a reader about how to get started with writing a Micropub endpoint for use with Hugo.
Owning My Step Count (5 mins read).
Sharing the journey of starting to own my step counts and my technical solution.
Woo, thanks to https://realize.be/ for releasing an update of the wonderful Android app https://indigenous.realize.be/ which adds in a fix to not send multiple bearer tokens in Micropub requests ( https://github.com/swentel/indigenous-android/issues/241 )
This started breaking for me when I upgraded my Micropub endpoint to use the spring-oauth2-resource-server module ( https://gitlab.com/jamietanna/www-api/merge_requests/27 ) which is a well-formed OAuth2 server, whereas my previous implementation was not.
Super speedy fix, and glad to be back to using the app again!
A look at what the IndieWeb is, why you should care, and how to get started with it.
Announcing the Microformats translation layer for Eventbrite.com/Eventbrite.co.uk events.
IndieWebCamp Amsterdam 2019 (19 mins read).
Recapping my time at IndieWebCamp Amsterdam, my first 'official' IndieWeb event, and meeting some of the big names in the community.
Adding RSVP Support for Indie Events (1 mins read).
Adding RSVP support to my Micropub endpoint for Indie events.
Announcing the Microformats translation layer for Meetup.com events.
Announcing the creation of my Micropub server, to allow publishing content away from my laptop/desktop.
Restructuring The Way That My Site's Content Types Work (5 mins read).
How I've restructured my content to map more closely to Microformats for any Indie content types.