Hello DokuWiki Developers,I am planning to implement a plugin on my ownm that I always wanted to have:
**Display the changes on a page since my last visit**This is not my first plugin. I've already implemented a plugin for DokuWiki. How would you start this? What I have in mind: When a registered user visits a page he can kind of enable a diff mode, where all paragraphs that have been changed since his last visit are (for example) marked with a green bar on the left. Would you start this as a RendererPlugin or as an ActionPlugin for TPL_CONTENT_DISPLAY? Ok I think I can find out the part "since my last visit" on my own ... shouldn't be too hard to get this from a users metadata (or add it to that.) I might also get the unified diff somehow. But what then? How do I manually match unified diff output to paragraphs in a (raw wiki?) page? My goal would be to add a CSS tag (".changed") to certain changed paragraphs.
How would you do that? c'Ya Doogie +----------------------------> | mobil: 0151-23035421 | ICQ: 7753573 | http://www.doogie.de +----------------------------> -- DokuWiki mailing list - more info at http://wiki.splitbrain.org/wiki:mailinglist