updated
🆙
This article is a stub. You can help the IndieWebCamp wiki by expanding it.
An updated is a post that has been edited by the author. It should have dt-updated with the datetime of the update.
Why
There are numerous reasons you may want to update a post, and indicate to others that you want any copies updated, hoping they will update any caches of it, from displays of your responses to reply-contexts in reply to your original posts.
Use Case
A user updates a post and wants any copies of that post (i.e. if it was a reply post) on other sites to also be updated.
Contents |
Handling
How to handle updated posts, i.e. implementation details:
- When a post is updated by the user, implementations should:
- send a webmention to all URLs that were either in the previous version of the post or the new version
- update any POSSE copies of that post. See POSSE Update for details.
- When the permalink of a post that has been updated is requested, implementations should return:
- an HTML h-entry with a
dt-updatedwith the date the post was updated.
- an HTML h-entry with a
IndieWeb Examples
Not sure who explicitly supports proper "updated" posts with dt-updated and automatic sending of webmentions to all URLs whether in the previous or new version of a post.
If you think you support updated posts properly, try http://webmention.rocks/ Update tests, if you pass them all, add yourself here with citations of your updated post(s).
bear
bear has implemented updated posts support on his site bear.im since 2016-04-15.
Example URL of an updated post:
Silo Examples
Facebook supports editing posts and shows that a post has been "edited". (See versioning#Facebook for details).
Flickr
Flickr supports replacing the photo of a photo post, without changing its permalink, comments etc.
Brainstorming
Update POSSE copies
When you update a post, you should update its POSSE copies too if you can.
Notifying Responses
- send a webmention to all responses to the post (so the responses can update their reply-context, per reply-context CRUD, possibly notify the responder so they can update or delete their response).
- Note: this is subject to the issues documented re: reply-context CRUD
Issues
Threaded Comments Problems
Similar to deleted posts, but perhaps less disruptive, and updated post or comment may impact the relevance / meaning of subsequent replies.