login | register
Wed 19 of Nov, 2008 (23:56 UTC)

bitweaver - Web Application Framework and CMS

Web Application Framework and CMS

Refresh cacheHistoryPrint

Inline Diff

Created by: laetzer, Last modification: Wed 17 of Sep, 2008 (18:31 UTC)

Inline Diff and WYSIWYG

If you're using the HTML format, and possibly a WYSIWYG editor like FCKEditor or TinyMCE, you can compare different versions of a Wiki page efficiently with Text_Diff (a PEAR package that needs to be installed on your system).

If content is present in HTML (format_guid=bithtml), Bitweaver decodes entities in order to display only the content of the text, not the markup. The goal is to be able to see the differences between two pages colorful like in the following image. Note that the colors themselves have to be set in your style's CSS. Text_Diff wraps deleted and inserted sequences in XHTML compliant semantic markup (<del> and <ins>).

bw_diff_html.gif


Inline VS line-based

Enable Inline Diff in Admin > Liberty > General Settings > Misc. If enabled, comparing two wiki pages will look similiar to the second half of this indicating screenshot:

inline_diff.png



Notes

  • To make Text_Diff work with UTF-8, you might have to stop the WYSIWYG-editor from processing special characters (Motörhead VS Mot&ouml;rhead). This is very specific to your site's and editor's setup and might not be needed at all.
  • add yours ...

Comments

Related Items

Features

BitTabs  •  Bitweaver Features  •  FeaturePrettyUrlsExtended  •  HTMLPurifier Filter Options  •  ImageMagick  •  Inline Diff  •  ModuleParameters  •  PrettyUrls  •  StyleLayouts  •  StyleVariations

Online Help

These pages are linked from within bitweaver's administration

Attachment Tracker Filter  •  AuthenticationPluginMultisites  •  AuthenticationPlugins  •  bitweaverSyntax  •  DataPluginAddtabs  •  DataPluginAdsense  •  DataPluginAgentInfo  •  DataPluginArticle  •  DataPluginArticles  •  DataPluginAttachment  •  DataPluginAvatar  •  DataPluginBackLinks  •  DataPluginBiticon  •  DataPluginBlog  •  DataPluginCalendar  •  DataPluginClock  •  DataPluginCode  •  DataPluginComment  •  DataPluginCountDown  •  DataPluginCreationTime  •  DataPluginDiv  •  DataPluginDropDown  •  DataPluginExample  •  DataPluginGauge  •  DataPluginGeshiData  •  DataPluginHitCounter  •  DataPluginImage  •  DataPluginImg  •  DataPluginInclude  •  DataPluginLang  •  DataPluginLedgertable  •  DataPluginLibrary  •  DataPluginMakeTOC  •  DataPluginMapQuest  •  DataPluginMapQuestDirections  •  DataPluginModule  •  DataPluginObject  •  DataPluginPluginHelp  •  DataPluginQuote  •  DataPluginRenderer  •  DataPlugins  •  DataPluginSF  •  DataPluginSort  •  DataPluginSourceForge  •  DataPluginspan  •  DataPluginSplit  •  DataPluginSpyText  •  DataPluginTitleSearch  •  DataPluginTOC  •  DataPluginTranslated  •  DataPluginUserCount  •  DataPluginUserLink  •  DataPluginUserList  •  DataPluginWikiList  •  DataPluginYoutube  •  FeaturePrettyUrlsExtended  •  HTMLPurifier  •  HTMLSyntax  •  IconStyles  •  Inline Diff  •  LibertyMime  •  LibertyMime FLV Plugin  •  List of Plugins  •  ModuleParameters  •  Plugin Help Pages Source  •  PrettyUrls  •  Simple Purifier  •  StyleLayouts  •  Style Purifier  •  TikiWikiSyntax  •  TranslationTutorial