We help IT Professionals succeed at work.

Plugin for online newspaper

Among the things we develop, we have a solution for newspapers. The people who admin this newspaper have their own username and password which the use to log into a webpage. At this page, they could insert or update articles on their online newspaper.

The article-sheet on this admin-page have a big textarea-field for the  body of the article. This is not an ideal solution because the user must have a certain knowledge of HTML to perform textformatting.

What I'm looking for is a link to a tool that could replace this textarea field, some kind of WYSIWYG-editor or something.(Javaapplet or shockwave etc.)

I know that this isn't possible using plain PHP or HTML, but I like to post the question here in case some of you have any link to suggest.

I'm looking for links to both freeware and commercial software.

Thanks in advance.

Batalf
Comment
Watch Question

Commented:
I have written a simple WYSIWYG editor applet (which works under Java Plug-In 1.3) for a former employer - if you are interested, I can create custom applet for you.

Commented:
I have written a simple WYSIWYG editor applet (which works under Java Plug-In 1.3) for a former employer - if you are interested, I can create custom applet for you.

Commented:
sorry :(
Top Expert 2005

Author

Commented:
Yeah that will be great.

What I need is this:

First of all. I'm not letting any applets reading data directly from our database. The applet has communicate to and from files.

What the applet should receive is 3 variables:(through param-list)

1. articleID - The ID of the article
2. sessionID - Used for authentication.
4. a filename(example: get_article.html?id=5), Instead of getting the text of the article the applet is given a filename with a searchstring(PHP parses the file get_article.html based on the id-value).

The applet should then read all data from get_article.html?id=5. This is the text of the article.

When the user is finished correcting data he/she could press a save-button and the data should be sent from the applet to a file, for example: receive_data.html?id=articleID&sessionID=sessionID

The search-values articleID and sessionID are the variables the applet received through the param-list.

I would be wery thankful and give you a lot of more points if you could customize an applet for me.

Regards
Batalf
Alf Magne Kalleland
alf@xait.no
Top Expert 2005

Author

Commented:
Yeah that will be great.

What I need is this:

First of all. I'm not letting any applets reading data directly from our database. The applet has communicate to and from files.

What the applet should receive is 3 variables:(through param-list)

1. articleID - The ID of the article
2. sessionID - Used for authentication.
4. a filename(example: get_article.html?id=5), Instead of getting the text of the article the applet is given a filename with a searchstring(PHP parses the file get_article.html based on the id-value).

The applet should then read all data from get_article.html?id=5. This is the text of the article.

When the user is finished correcting data he/she could press a save-button and the data should be sent from the applet to a file, for example: receive_data.html?id=articleID&sessionID=sessionID

The search-values articleID and sessionID are the variables the applet received through the param-list.

I would be wery thankful and give you a lot of more points if you could customize an applet for me.

Regards
Batalf
Alf Magne Kalleland
alf@xait.no
Top Expert 2005

Author

Commented:
That would be great.

What I need is this:

First of all. I'm not letting any applets reading data directly from our database. The applet has communicate to and from files.

What the applet should receive is 3 variables:(through param-list)

1. articleID - The ID of the article
2. sessionID - Used for authentication.
4. a filename(example: get_article.html?id=5), Instead of getting the text of the article the applet is given a filename with a searchstring(PHP parses the file get_article.html based on the id-value).

The applet should then read all data from get_article.html?id=5. This is the text of the article.

When the user is finished correcting data he/she could press a save-button and the data should be sent from the applet to a file, for example: receive_data.html?id=articleID&sessionID=sessionID

The search-values articleID and sessionID are the variables the applet received through the param-list.

Buttons I need is probably a button for bold, italic, and if possible table and bulletlist.

I would be wery thankful and give you a lot of more points if you could customize an applet for me.


Regards
Batalf
Alf Magne Kalleland
alf@xait.no
Top Expert 2005

Author

Commented:
Source code to me would be great.

mailaddress : alf@xait.no

Regards
Batalf
heyhey:

Are you planning on releasing the application?  I would definitely like to check that out.

Joe
hobbsj@somecrazyfool.com
Commented:
Well, this is not really a PHP question, but...

Java is the way to go if you need your solution to be cross-platform.

However, if you are able to restrict yourself to an IE/Windows-only version of an online HTML editor, then you need to research a little more about how Microsoft has provided some extended browser functionality for IE5+. This is especially easy with browser versions 5.5 and up. For example, you can set an attribute for any majoHTML element called ContentEditable="true", which provides Rich Text-style WYSIWYG editing.

A good example of this sort of ability is at http://www.3fingeredsalute.com/usertier/ShowArticle.asp?ID=147
Top Expert 2005

Author

Commented:
This ActiveX editor is working! A little bit slow to load it but it's OK.

The application that should use this first is an internal web-application where all the users are working on IE5.x on Win-platform.

I have to continue looking or develop a java-editor for other users, but I'm helped so far!

Thank you!!
Top Expert 2005

Author

Commented:
To heyhey_
If you're still developing the applet for me I will appreciate it. IT's a copy of this question in the Java-zone....still open.

Commented:
I'm quite busy these days and I think that you've got enough good suggestions/help from other experts

so all I can do at the moment is to wish you good luck :)
Top Expert 2005

Author

Commented:
OK, thanks anyway:-)

Explore More ContentExplore courses, solutions, and other research materials related to this topic.