From: Jeff D. <da...@da...> - 2001-03-01 16:43:58
|
>Yes and yes, and it's an idea I've played with (in my head at least). >Doing it by diffs is somewhat awkward though... what would be cool is to >store the pages in a format that preserves the change information somehow. >Outside of XML though, I haven't had any ideas how to preserve this info. A very interesting idea! In the database, tag each line with which version number in which it originally appeared. Then a display similar to (but hopefully far less cluttered than) the 'annotated' source view produced by the SF CVS browser could then be produced. (I.e. "recent" additions or changes could be highlighted, and perhaps annotated with the author's name.) (My guess is that deleted text would not be shown in this display.) An example of SF CVS 'annotated' source can be found at: http://cvs.sourceforge.net/cgi-bin/cvsweb.cgi/phpwiki/lib/editpage.php?annota te=1.15&cvsroot=phpwiki Another, simpler, option which has been in the back of my head for a while now, is just to fix things so that the diff output gets transform.php'ed. Then one can create a "unified diff" (with infinite context) which will be the transformed page with changes since the last version highlit. (One VersionHistory is added, changes since any particular archived version, could be highlit.) ----- In other news: Arno: I greatly appreciate your comments in the JeffsDatabaseAPI pages of the PhpWiki. I've responded to most of your points/questions, and would be interested to know if you've been swayed at all. Steve & Others: I look forward to your comments as well. There's no huge rush, but it's clear that a fair amount of back-and-forth (and around-and-around) dialog will be needed before any kind of consensus can be reached. So it would be good to at least "check-in" with your initial reactions/thoughts fairly soon. Also, feel free to suggest alternate database API's (possibly completely different) (or based more closely on the current API) if that's what you think we should be considering. Also, I'm happy to report that Sandra (my wife), Lucy (my dog) and I (along with most of the rest of Seattle) seem to have survived yesterday's rather large earthquake in fine shape. Jeff |