Publii icon indicating copy to clipboard operation
Publii copied to clipboard

Micropub Support

Open jalcine opened this issue 4 years ago • 3 comments

Micropub's a W3C standard for publishing content to one's site from any client. I really like Publii and am interested to know if it's possible to have Micropub support on the roadmap. I know Publii is optimized for static sites - Micropub can work with those as well!

I'd love to see and help with this, I really want this for my personal site.

jalcine avatar Jun 26 '20 21:06 jalcine

Hi,

I hear about it first time. Could you elaborate what potential benefits we can get by adding support for Micropub and how it can work with static websites?

dziudek avatar Jul 09 '20 17:07 dziudek

The Micropub specification began as a simplified version of the AtomPub and MetaWeblog APIs. Where AtomPub is an API to create items in an Atom feed, Micropub is an API to create items in a [Microformats2] feed.

In addition to being used with a different vocabulary from AtomPub and MetaWeblog, Micropub simplifies and improves upon both APIs in a number of ways. Micropub uses OAuth 2.0 Bearer Tokens for authentication, rather than the previous insecure username/password authentication method. Micropub also uses traditional form posts as well as JSON posts, which is both simpler and more secure than an XMLRPC approach.

Because Publii generates pages locally rather than on a server, I don't see the use for Micropub. Its purpose, if I understand correctly, is to accept posts written from other editors. I guess if one is wanting to write posts for your Publii site in a separate local editor and then have Publii generate it. Does that sound right @jalcine ?

Spacesurfer avatar Jan 27 '21 15:01 Spacesurfer

Yeah, that is the objective of it. It could also serve as a way to backfill posts into a site (like if you wanted to idiomatically import your Wordpress RSS feed or a Twitter archive).

jalcine avatar Apr 30 '21 23:04 jalcine

At this moment we have no plans to implement such feature. I think it is a topic for a plugin, not for the core feature.

dziudek avatar Sep 03 '22 10:09 dziudek