fckw plugin

fckw plugin by Pierre Spring
Integrates the FCK Editor into DokuWiki

Last updated on 2009-01-22. Provides Syntax.
Compatible with DokuWiki 2007-06-26+.

Similar to dokuwikifck, grensladawritezor, wysiwyg, wysiwyg_nicedit.

Tagged with fck, markup, style, wysiwyg.

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 liip.ch

BUG: Currently, this plugin destroys any content created with plugins like: latex, doodle, bibtex, … (2008-05-30) (Still present)

CPAN HTML::WikiConverter

:!: Requires the 'CPAN HTML::WikiConverter package' to be installed on server.

This probably prevents this plugin from being used in a shared hosting environment (although Perl packages can be installed in local directories in most shared hosting plans– see http://www.perlcode.org/tutorials/perl/shared_hosting.html for a general outline).

Linux/Unix

Windows

I tried to install this plugin on my local 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…

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 discussion plugin ;-)

 
plugin/fckw.txt · Last modified: 2009/06/23 14:44 by 195.14.202.110
 
Except where otherwise noted, content on this wiki is licensed under the following license:CC Attribution-Noncommercial-Share Alike 3.0 Unported
Imprint Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki
WikiForumIRCBugsDarcsXRefTranslate