FCKeditor on Rails

[UPDATE 2007-01-09] So I’ve been writing Ruby/Rails to pay the bills for about 9 months now and this poor project has been suffering much longer than that. I had some time, wanted to clean this up and needed something that wasn’t work to code on to clear the head. So, if you are using Rails 1.2 you can now install this as a plugin in conjunction with Rails Engines or AppablePlugins.

You can get more info on the trac. [/UPDATE]

I’ve been reading all this great stuff about Ruby on Rails so I told my boss that we should look into it, then I expensed a copy of Agile web Development with Rails and gave it a read. It looked promising.

I read a post on the Rails blog the other day about integrating FCKeditor with Rails and thought that would be a nice addition, unfortunately the method mentioned was little more than how to drop tags in a page to get FCKeditor to go. There wasn’t any real Rails to it.

I decided that would make a somewhat interesting project to start playing with Rails as it needs to interact with the file system a little. So I spent the past day-and-a-halfish building FCKeditor on Rails, it’s a little rough around the edges and I still want to integrate the mcpuk File Browser becasue it has so much more functionality than the default.

The end result is a Rails helper/controller that lets you add an FCKeditor instance just like you would expect in Rails:

fckeditor(:object, :param, {:width => '600px', :height => '500px'})

not to shabby. Now we will see how long it takes me to get around to adding mcpuk support.

The source can also be found in the FCKeditor trac project.


Swish-E PHP Class

So I spent some time looking into local search solutions and built a PHP class for Swish-E. This spot is a place holder for when I get off my lazy butt and post something.

See the swish-e, weee post for now.

So I realize that I never actually got he code into trac and nobody asked for it, so I guess this is now defunct as well. Just doing a little house keeping.


The boy drops the F-Bomb

So this morning as I’m catching up on news and trying to wake up, Alexander is banging around in the living room playing with toys with the TV on in the background.

Something on PBS is on and in the show someone drops something and it breaks, to which Alexander comments “Oh, f–k”.

Not that any of this surprises me, it happens to be one of moms favorite words. The part that surprised me was he used it in the proper context, although f–k is a lot like dude, it’s hard to find a use for it where it’s not in context.


SquirrelMail-X

Stumbled onto Roundcube a while back, it looks nice, but I wanted to mess with the layout and since they are returning markup from the backend as opposed to just data it wasn’t as simple as I’d like. I believe they are considering changing this, not positive.

I also wasn’t too sure about the backend IMAP libraries it is built on. So I decided to see what would be involved in tweaking SquirrelMail to have it return XML instead of markup. So far, so good. There’s a lot involved and limited time, but I’m making progress.

There should be some progress to show soon.

This is long since defunct, and I have a feeling whatever code was written for this is very broken with current Squirrelmail code…


FCKeditor on Rails

I’ve been reading all this great stuff about Ruby on Rails so I told my boss that we should look into it, then I expensed a copy of Agile web Development with Rails and gave it a read. It looked promising.

I read a post on the Rails blog the other day about integrating FCKeditor with Rails and thought that would be a nice addition, unfortunately the method mentioned was little more than how to drop tags in a page to get FCKeditor to go. There wasn’t any real Rails to it.

I decided that would make a somewhat interesting project to start playing with Rails as it needs to interact with the file system a little. So I spent the past day-and-a-halfish building FCKeditor on Rails, it’s a little rough around the edges and I still want to integrate the mcpuk File Browser becasue it has so much more functionality than the default.

The end result is a Rails helper/controller that lets you add an FCKeditor instance just like you would expect in Rails:

fckeditor(:object, :param, {:width => '600px', :height => '500px'})

not to shabby. Now we will see how long it takes me to get around to adding mcpuk support.

The source can also be found in the FCKeditor trac project.