indieweb / micropub-extensions

Issue tracking for Micropub extensions
https://indieweb.org/Micropub-extensions
11 stars 1 forks source link

Additional syndicate-to property #23

Open dshanske opened 4 years ago

dshanske commented 4 years ago

https://www.w3.org/TR/micropub/#h-syndication-targets

Proposing an optional property, checked, that if present and true would tell a client to set the target to checked by default...as opposed to the current behavior common in clients of making the user select each syndication target.

If the endpoint does not want to give the user any choice, it would not provide a target at all and just posse each time.

swentel commented 4 years ago

Ready in Drupal IndieWeb and Indigenous

barryf commented 4 years ago

I would find setting defaults for syndication very useful, but I'd like this to be more granular based on the post-type: I syndicate most of my notes I create in Micropublish to Twitter, but not my bookmarks.

I think this may be a candidate for adding an optional item to the query for supported properties (#8) instead:

{
  "post-types": [
    {
      "type": "note",
      "name": "Note",
      "syndicate-to": ["uid-of-my-service"]
    }
  ]
}
jalcine commented 4 years ago

Oh, I desperately need this! I won’t have time to immediately work on this but I do plan to support this on the server side.

(Originally published at: https://v2.jacky.wtf/post/de738b9b-7442-4a28-ab05-676270e020b7)

jalcine commented 4 years ago

Going to track progress on my implementation of this at https://git.jacky.wtf/indieweb/koype/issues/213

(Originally published at: https://v2.jacky.wtf/post/6ba67a27-b616-44b4-9636-0d7334b850ae)

aaronpk commented 4 years ago

Proposal: Add a new property to the syndicate-to query to tell the server what kind of post the client is trying to make.

?q=syndicate-to&post-type=reply

The server could then return a different list of syndication targets depending on the post type.

Additionally: Add a new property to the response for servers to tell the client which options to check by default.

{
  "syndicate-to": [
    {
      "uid": "https://archive.org/",
      "name": "archive.org",
      "checked": true
    },
    ....
}
barryf commented 4 years ago

Micropublish now supports this checked property.