Micropub-extensions

From IndieWeb
Jump to: navigation, search

This page is for brainstorming, discussion, and other questions and explorations about extensions to Micropub.

Contents

Server Commands

The Micropub spec reserves the mp- prefix in the form-encoded syntax as a mechanism for clients to give commands to servers. This section is for brainstorming additional uses of the mp- functionality.

Slug

Many posting UIs provide an option for the user to choose a slug for the post that will be created.

wordpress-customize-slug.png

This proposal is for a new mp- command for the client to suggest a slug to the Micropub endpoint.

  • mp-slug=

The server may or may not decide to respect the requested slug, based on whether it would cause conflicts with other URLs on the site. For example, some URL structures are {year}/{slug}, so the server may decide to modify the slug to avoid conflicting with an existing one.

Implementations

New Properties

Post Status

  • post-status=published (or no post-status set) - The post is published, or when the published date is in the future, the post is scheduled.
  • post-status=draft - The post is a draft, and should not be shown in lists. (Of course it's up to the implementation whether it wants to use a capability URL for draft posts or actually restrict it to logged-in users.)

Implementations

Visibility

  • visibility=public (or no visibility set)
  • visibility=private

Wordpress supports password-protected posts, however, passwords are inherently insecure and also not very user friendly, and there are likely better solutions to the problem. Essentially the goal of password-protected posts on Wordpress is to provide "guest access" to posts, where the viewer does not need an account at the site. Flickr accomplishes this with something they call "guest passes".

Query

Micropub supports making a GET request to a Micropub endpoint with a q= parameter, in order to query aspects of the endpoint or for retrieving the original source content of posts. This section is for brainstorming additional uses of the query functionality.

  • mp-config
  • venue - not yet implemented suggestion of a venue query for a client to retrieve venues as part of check-in functionality.
  • category - suggestion to get existing tags/categories in the client

Questions

  • According to the current spec (2017-01), a GET ?q=config should also include the syndicate-to property. If the collection of supported properties grows, is this still a thing to hold on to? Venues and tags can make the response potentially large. Sebastiaan Andeweg

See Also

Personal tools
Namespaces
Variants
Actions
Recent & Upcoming
Resources
Toolbox