====== fckw plugin ====== ---- plugin ---- description: Integrates the FCK Editor into DokuWiki author : Pierre Spring email : pierre.spring@liip.ch type : syntax lastupdate : 2009-01-22 compatible : 2007-06-26+ depends : conflicts : similar : wysiwyg, grensladawritezor, fckg tags : !obsolete, !discontinued, editing, wysiwyg ---- Download: [[https://​fosswiki.liip.ch/​download/​attachments/​4817036/​fckw.0.8.zip?​version=1&​modificationDate=1232621697000]] FIXME FCKW is the result of the intention to combine one of the best HTML WYSIWYG editors (FCKeditor) with a good and well maintained wiki (DokuWiki). Its name can be seen as the concatenation of both these things: FCKeditor and DokuWiki. A `best of breed` approach, obviously. The FCKW plugin stores the pages in wiki syntax. This makes it possible to switch back to a regular DokuWiki, without losing anything. * Download and Details on: https://fosswiki.liip.ch/display/DOKU/FCKW+DokuWiki+Plugin * Installation info: https://fosswiki.liip.ch/display/DOKU/Installation BUG: Currently, this plugin destroys any content created with plugins like: latex, doodle, bibtex, note, code,... (2008-05-30) (Still present) BUG: Currently plugin also removes from content national characters (2009-09-01) (Still present) BUG: This plugin doesn't work fine if you have set the variable userewrite whith value 1 or 2 (Still present) BUG: 0.8 / 0.8.1 / 1.0_RC4 have the following bugs: * when in a "\\code\\" section : putting the result command from a "tree" will delete all characters like | - that are usefull * when using the "\\file interpreter filename\\" facility : it always convert it to "\\code\\" BUG: requires HTML::WikiConverter::DokuWiki perl module, which has broken dependencies, so it won't install ===== CPAN HTML::WikiConverter ===== :!: Requires the [[http://search.cpan.org/~diberri/HTML-WikiConverter-0.62/|'CPAN HTML::WikiConverter package']] to be installed on server. This requires installing Perl modules locally on //shared hosting environment// -- see http://www.perlcode.org/tutorials/perl/shared_hosting.html for a general outline. ==== Linux/Unix ==== Traditional install from CPAN currently does not work, because it has broken dependencies (you can try to follow [[https://fosswiki.liip.ch/display/DOKU/Installation|FCKW installation manual]] to see it for yourself). Installation on debian (and debian based distributions) - sudo aptitude install libhtml-wikiconverter-mediawiki-perl you can check that it worked by trying: sudo perl -MCPAN -e 'install HTML::WikiConverter' which should say "HTML::WikiConverter is up to date" ==== Windows ==== I tried to install this plugin on my local [[http://www.apachefriends.org/en/xampp-windows.html|XAMPP]] installation. First thing was to download and install the //Perl 5.10.0-2.2.11// Add-on (see XAMPP for Windows Add-On section). Then I went into the command line and C:\xampp\perl\bin>perl.exe -MCPAN -e 'install HTML::WikiConverter::DokuWiki' Can't find string terminator "'" anywhere before EOF at -e line 1. C:\xampp\perl\bin>perl.exe -MCPAN -e "install HTML::WikiConverter::DokuWiki" CPAN: Storable loaded ok (v2.18) CPAN: LWP::UserAgent loaded ok (v5.817) CPAN: Time::HiRes loaded ok (v1.9711) I would like to connect to one of the following sites to get 'authors/01mailrc.t xt.gz': http://www.perl.org/CPAN/ ftp://ftp.perl.org/pub/CPAN/ Is it OK to try to connect to the Internet? [yes] yes Fetching with LWP: http://www.perl.org/CPAN/authors/01mailrc.txt.gz CPAN: YAML loaded ok (v0.66) Going to read \.cpan\sources\authors\01mailrc.txt.gz ............................................................................DONE Fetching with LWP: http://www.perl.org/CPAN/modules/02packages.details.txt.gz Going to read \.cpan\sources\modules\02packages.details.txt.gz Database was generated on Tue, 10 Mar 2009 02:30:05 GMT ............... New CPAN.pm version (v1.9304) available. [Currently running version is v1.9301] You might want to try install CPAN reload cpan to both upgrade CPAN.pm and run the new version without leaving the current session. .............................................................DONE Fetching with LWP: http://www.perl.org/CPAN/modules/03modlist.data.gz Going to read \.cpan\sources\modules\03modlist.data.gz ............................................................................DONE Going to write \.cpan\Metadata Running install for module 'HTML::WikiConverter::DokuWiki' Running make for D/DI/DIBERRI/HTML-WikiConverter-DokuWiki-0.53.tar.gz Fetching with LWP: http://www.perl.org/CPAN/authors/id/D/DI/DIBERRI/HTML-WikiConverter-DokuWiki-0 .53.tar.gz CPAN: Digest::SHA loaded ok (v5.45) Fetching with LWP: http://www.perl.org/CPAN/authors/id/D/DI/DIBERRI/CHECKSUMS Checksum for \.cpan\sources\authors\id\D\DI\DIBERRI\HTML-WikiConverter-DokuWiki- 0.53.tar.gz ok The system cannot find the path specified. Uncompressed \.cpan\sources\authors\id\D\DI\DIBERRI\HTML-WikiConverter-DokuWiki- 0.53.tar.gz successfully Using Tar:"C:\Programme\Microsoft Visual Studio .NET 2003\Vc7\bin\tar.EXE" xvf " HTML-WikiConverter-DokuWiki-0.53.tar": The system cannot find the path specified. Couldn't untar HTML-WikiConverter-DokuWiki-0.53.tar CPAN: File::Temp loaded ok (v0.18) Package seems to come without Makefile.PL. (The test -f "\.cpan\build\DIBERRI-sFSAv6\Makefile.PL" returned false.) Writing one on our own (setting NAME to HTMLWikiConverterDokuWiki) Had problems unarchiving. Please build manually Running make test Make had some problems, won't test Running make install Make had some problems, won't install C:\xampp\perl\bin> As the shell points out perl could not extract the tar file and install it... ===== Troubleshooting ===== I gave it a shot anyway and the editor comes up but I have two error lines on the top of the page Warning: include_once(C:\xampp\htdocs\dokuwiki/lib/plugins/snippets/helper.php) [function.include-once]: failed to open stream: No such file or directory in C:\xampp\htdocs\dokuwiki\inc\plugincontroller.class.php on line 82 Warning: include_once() [function.include]: Failed opening 'C:\xampp\htdocs\dokuwiki/lib/plugins/snippets/helper.php' for inclusion (include_path='.;C:\xampp\php\pear\') in C:\xampp\htdocs\dokuwiki\inc\plugincontroller.class.php on line 82 Quick-and-dirty workaround: create an empty text file named helper.php in "C:\xampp\htdocs\dokuwiki/lib/plugins/snippets/" I had a similar error pointing to the discussion-plugin, which was fixed by installing the [[plugin:discussion|discussion plugin]] ;-)