Open gerwitz opened 3 years ago
Ha, guess the shoe is on the other foot now! 😉
I did think about this earlier on, but decided to reduce the complexity to make the app easier to develop and more likely to ship. Not opposed to adding this in the future, however.
I'd be very interested in this. I've been thinking I want to make my static site starter kit a first-class citizen for Indiekit down the line. Essentially, a public server of Indiekit runs that with a few changes someone using a static site can plug into.
Now what Micropub client to recommend with this package...
Multi-tenancy is quite far off, and setting up a service to host multiple Micropub endpoints seems unlikely. But we’ll see, one step at a time!
If/when it comes to adding multi-tenancy support, it would make sense to add support for mp-destination
, too.
Now I wonder if mp-destination
would be a good way to designate "real" categories (since micropub categories are actually tags).
Okay, I’ll bite… what’s the difference between categories and tags? What are you currently trying to achieve, and how would mp-destination
help?
(I’ve been thinking a bit about multi-tenancy, but deferring development until after I’ve launched 1.0)
I have a small number of categories like work, personal, and meta, which in some design iterations have been used for distinct feeds or index pages. This would map well to destinations.
Tags are, well, tags. Folksonomy-style. I have at least dozens of them and only use them to inform search and "posts like this" pivots.
(Even the Micropub documentation refers to categories as tags. This field has always been mis-named.)
Possibly in the realm of ‘giant hack’, but it’s now possible to add separate tags and categories (or any other type of token array) to posts thanks to the recent APIs added for customising post types.
Take a look at https://github.com/paulrobertlloyd/paulrobertlloyd-indiekit/commit/287625010e839c2736922260ca7a9b852d6e4af7 for how I’m currently handling this for my own website. I’m sure there could be a smarter way to enable this sort of customisation, but this has at least moved from ‘impossible’, to ‘possible, with some effort’.
Do you have any plans or interest in supporting multiple sites on a single instance?
(If it's not obvious, I kinda want to retire sitewriter.net and replace it with indiekit before picking development back up again.)