Administration project: Version diffing

Author Message

Paul Forsyth

Monday 14 June 2004 11:32:10 am

I was reading the new grokdoc.net site and noticed its cms (mediawiki) has some pretty nice document management features. One that caught my attention was its diffing tool for page versions, eg:

http://www.grokdoc.net/index.php?title=Main_Page&action=history

Very nice and very lightweight. eZ publish currently doesnt have a diffing tool for version control but it certainly should. This would greatly help with intranet sites using eZ for document management tasks.

Could this be added to the administration project? :)

paul

--
http://www.visionwt.com

Tony Wood

Monday 14 June 2004 11:56:03 am

You could use the current admin translation code as a base. It kinda does the same thing. All you need is a few extra fields and colour and "bobs your uncle" instant diff tool.

Well i am sure it will harder than that, but, I hope you get where I am coming from.

--tony
http://www.visionwt.com

Tony Wood : twitter.com/tonywood
Vision with Technology
Experts in eZ Publish consulting & development

Power to the Editor!

Free eZ Training : http://www.VisionWT.com/training
eZ Future Podcast : http://www.VisionWT.com/eZ-Future

Bård Farstad

Monday 14 June 2004 12:56:04 pm

Yes, a diffing tool is something we should have in eZ publish. In most datatypes it's also really simple. The XML text field is a bit harder to diff though.

--bård

Documentation: http://ez.no/doc

Paul Forsyth

Monday 14 June 2004 1:53:32 pm

True XML diffing may be complex, but you could always convert it to html to perform the diff and use a standard text tool. As always this would be a handler, of which more complex instances may be created at some point...

paul

--
http://www.visionwt.com

liu spider

Saturday 05 March 2005 2:12:35 pm

anyone working on this idea now?

http://liucougar.scim-im.org
SCIM Input Method Platform
http://scim.sf.net
SJSD Online Editor
http://sf.net/projects/sjsd

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 18 2025 15:02:09
Script start
Timing: Jan 18 2025 15:02:09
Module start 'layout'
Timing: Jan 18 2025 15:02:09
Module start 'content'
Timing: Jan 18 2025 15:02:10
Module end 'content'
Timing: Jan 18 2025 15:02:10
Script end

Main resources:

Total runtime1.0065 sec
Peak memory usage4,096.0000 KB
Database Queries67

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0059 588.0313152.6406
Module start 'layout' 0.00590.0029 740.671939.4766
Module start 'content' 0.00880.9962 780.1484642.3672
Module end 'content' 1.00500.0015 1,422.515612.1250
Script end 1.0065  1,434.6406 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00330.3281160.0002
Check MTime0.00140.1349160.0001
Mysql Total
Database connection0.00070.072010.0007
Mysqli_queries0.953594.7288670.0142
Looping result0.00070.0664650.0000
Template Total0.974696.820.4873
Template load0.00220.223120.0011
Template processing0.972396.600820.4862
Template load and register function0.00010.011210.0001
states
state_id_array0.00080.077110.0008
state_identifier_array0.00140.142320.0007
Override
Cache load0.00190.1901280.0001
Sytem overhead
Fetch class attribute can translate value0.00050.053640.0001
Fetch class attribute name0.00090.093680.0001
XML
Image XML parsing0.00160.159240.0004
class_abstraction
Instantiating content class attribute0.00000.001180.0000
General
dbfile0.00090.0929290.0000
String conversion0.00000.000740.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
5content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
8content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
3content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
3content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 21
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs