-
Notifications
You must be signed in to change notification settings - Fork 56
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support multiple response types in the same post #635
Comments
good point! at minimum, we should think through the order of precedence (and document it) more deliberately. rsvp should probably come before photo, for example. :P do you know if there's any prior art or best practice documented anywhere for this yet? I'll go look on the wiki in a bit. |
we're probably more likely to just document the order of precedence than to try to get multi posting right. beyond problems like atomicity, we don't necessarily know the user's intent. i can imagine someone else with the same post might be a bit surprised if bridgy posted the rsvp and also the photo, separately. (maybe no more surprised than us choosing one, though. not sure.) @barnabywalters if you're interested in a more powerful and configurable posse tool, definitely check it @kylewm's https://silo.pub/ ! more background: https://snarfed.org/2015-11-29_keep-bridgy-publish-dumb , https://kylewm.com/2015/11/silo-pub-as-a-generic-micropub-to-silo-adapter |
i dug into this a bit more, and we actually interpreted this specific post as a note with photo instead of an RSVP because it has
|
…if that’s not possible or awkward, document which will take priority if multiple are provided. For example, this post https://waterpigs.co.uk/notes/4gG89z/ is both a photo and an event RSVP, but when POSSEing to facebook using Publish it was treated just as a photo. From this I can assume that presence of a u-photo takes priority over presence of u-in-reply to p-rsvp — where do other response types fit into this?
The text was updated successfully, but these errors were encountered: