I have integrated an FCKEditor (http://wiki.fckeditor.net/) textarea into a simple RoR app (http://www.joshuamcharles.com/rails/fckeditor.html). I want to provide spell checking to users. FCKEditor has two options for spell checking. First you can use the default IE only spell checker. However, I want a spell checker that will be available to all users. The second option is server side spell checking through Speller Pages/aSpell (http://wiki.fckeditor.net/Developer%27s_Guide/Configuration/Spell_Checker). FCKEditor provides three server scripts that connect the editor with the server-side spell checking. The scripts are available in Cold Fusion, PHP, and Perl. Is there a way to easily get one of these scripts to be recognized by Webrick? I have already tried to enable the Perl script by installing Perl on the server and adjusting the she-bang line at the top of the script to point to the install. I am getting the following output in my development.log when I call the spell checking feature through FCKEditor: ActionController::RoutingError (Recognition failed for "/javascripts/editor/dialog/fck_spellerpages/spellerpages/server-scripts/spe llchecker.pl"): c:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.9.1/lib/action_controller/routin g.rb:444:in `recognition_failed'' c:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.9.1/lib/action_controller/routin g.rb:434:in `recognize!'' c:/ruby/lib/ruby/gems/1.8/gems/rails-0.13.1/lib/dispatcher.rb:32:in `dispatch'' c:/ruby/lib/ruby/gems/1.8/gems/rails-0.13.1/lib/webrick_server.rb:105:in `handle_dispatch'' c:/ruby/lib/ruby/gems/1.8/gems/rails-0.13.1/lib/webrick_server.rb:71:in `service'' c:/ruby/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'' c:/ruby/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'' c:/ruby/lib/ruby/1.8/webrick/server.rb:155:in `start_thread'' c:/ruby/lib/ruby/1.8/webrick/server.rb:144:in `start'' c:/ruby/lib/ruby/1.8/webrick/server.rb:144:in `start_thread'' c:/ruby/lib/ruby/1.8/webrick/server.rb:94:in `start'' c:/ruby/lib/ruby/1.8/webrick/server.rb:89:in `each'' c:/ruby/lib/ruby/1.8/webrick/server.rb:89:in `start'' c:/ruby/lib/ruby/1.8/webrick/server.rb:79:in `start'' c:/ruby/lib/ruby/1.8/webrick/server.rb:79:in `start'' c:/ruby/lib/ruby/gems/1.8/gems/rails-0.13.1/lib/webrick_server.rb:57:in `dispatch'' script/server:49 Is there a way to get this to work with one of the provided scripts?
David Kessler <kesslerdn@...> writes:> server-side spell checking. The scripts are available in Cold Fusion, PHP, > and Perl. Is there a way to easily get one of these scripts to be > recognized by Webrick? I have already tried to enable the Perl script byI had the same problem with the image browser in fckeditor and choose to implemented my own connector controller in rails. It was alot easier that I imagined upfront. So instead of trying to get the perl, php or whatever version to work, my advice is to just grow your own. The image browser solution only contains a +/-20 line controller and a +/-15 line rxml template. No rocket science involved and I had fun programming instead of mucking about with my server configuration. Cheers, Remco
On 10/12/05, Remco van t Veer <rwvtveer-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> I had the same problem with the image browser in fckeditor and choose to > implemented my own connector controller in rails. It was alot easier that I > imagined upfront. So instead of trying to get the perl, php or whatever version > to work, my advice is to just grow your own. The image browser solution only > contains a +/-20 line controller and a +/-15 line rxml template. No rocket > science involved and I had fun programming instead of mucking about with my > server configuration.I did the same, but ran into one problem. For some reason, running on port 3000, the AJAX calls from FCKEditor wouldn''t work. I didn''t have time to investigate it fully, so I just changed webrick to run from port 80 and everything went smooth. I''m working on a full implementation of all the fckeditor stuff in Rails (Image and Document Browsing and Upload, as well as Spell Checking) but don''t hold your breath on me. I''ve got alot of projects that are currently taking higher priority, unfortunately. This project is alot of fun, and those other aren''t!