Hacky version control for html
neverfriday.com
neverfriday.com
(any feedback is welcome)
Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.1.2) Gecko/20090729 Firefox/3.5.2
For example, if I click on one revision (Gerry Giraffe) and then on the next (Kramer Koala) stuff happens, but if I click back on Gerry, nothing happens. Perhaps further instructions are required.
I suppose you'd have the same problem if you put a diff under version control, but it seems like this kind of thing implies that there should be something different about those tags (I'd say another namespace, but those have been abused enough already).
I don't know how/if I'd solve this, I'm just wondering if anyone else feels the same.
I don't think you should necessarily store versioning history of content with INS and DEL tags. If you have a CMS you might have each historic version of content. If the user requests a diff, you can generate it automatically by comparing versions, but you can represent that diff for the user by using INS and DEL elements.
* but you can represent that diff for the user by using INS and DEL elements.*
This would be false. No thank you. The whole point of including the datetime attribute is to allow for storing the versions in the document itself. HTML should never be hand-coded and should only be interacted with via a good editor. However, there aren't too many of those around.
The default web browser behaviour for dealing with the INS and DEL elements is incorrect and the cause of it is a lack of understanding of what those elements are for and why they were included in the spec.
Each date up at the top as various changes associated with it. On each day, changes were made to the document. By clicking show/hide you can toggle the changes from that day. By clicking Apply Changes, you can apply all changes up until that day (so if you're applying changes up till day 3, it will apply the changes from day 1 and 2 as well). Play Through Changes does the same thing, however it pauses for a second or two between the changes so you can visually see the changes (fade in/out of the elements).
Applying all changes will run through everything and give you the "final" version of the document.
I'll include a better explanation on the website itself, I was just tired as heck at 4am ;)