I've been working alot with editing of posts after they've been published. I know I can hit update on the post to just update it, but I want to have the journey of revisions available for users to view on site.
So I was thinking of a plugin. I've looked at http://wordpress.org/extend/plugins/duplicate-post/ which creates another copy on a new permalink. This is a good starting point I think, but I'm wondering if the functionality could be done in reverse.
Functionality: When a post is updated (on every update no matter how small), it pushes the new updated content to the original post permalink, and moves the older post to a new permalink with a suffix of the update count.
Example: My post is called hello-world
. I publish it and the permalink becomes http://mysite.com/hello-world. I need to edit it, so I go to posts and edit the page. I click update, and the original hello-world
post is copied and published under hello-world-draft-1
, and the newly updated post takes the place of the original hello-world
post.
This way anyone linking to the post would always see the most up-to-date version of it, but all drafts would be available to view to any user by visiting /hello-world-draft-X
, where 'X' is every update made that is not the main post slug.
I'm thinking this is something like being able to show revisions to the user? Comments and suggestions welcome.
Thanks.
Update: This plugin looks good but only works on uploaded .doc files and not posts. http://wordpress.org/extend/plugins/wp-document-revisions/