Helping ordinary people create extraordinary websites!

Go Back   Web Development Forum > Website Programming > Server-Side Scripting
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 07-02-2009, 05:43 AM
Junior Member
 
Join Date: Jul 2009
Posts: 1
Default RTF To Html

We have an RTF file saved in the database. If we pull the data and write it as a file, without any further
processing/formatting, it should be possible to open the file in an RTF reader application, say, Wordpad.
In other words, we are storing the RTF file as 'raw' data.

Our plan is to bring this onto the www browser, like firefox or IE (to allow editing)and put the contents
in a 'Rich Text Area' that the end user can edit the contents, without loosing the formatting. So far, we
have not seen any online RTF editor, or a plug-in that is closely integrated with a browser, like Acrobat
Reader in the case of PDF files.

One solution is to use a Rich Text (WYSIWYG) editor that can integrate with php. In this case we need
to convert the RTF on the fly to HTML and import the formatted contents to a WYSIWYG Rich Text editor.

Ideally we are looking for a php class do this.

After editing, the formatted (ie, bold, italic, etc. etc) content needs to be ideally converted back to RTF when
the end user "Saves" it, and be stored in the database. We need the saved the document in RTF ideally,
but we can live with HTML too.

The difficulty is that we are getting the data initially from an external source in RTF format and we
are trying to provide an online editing feature. The RTF file can contain header/footer/images in addition
to styled text.

Give any Suggestion?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 12-07-2009, 07:47 PM
Senior Member
 
Join Date: Jul 2009
Location: www.shoesbuyonline.com
Posts: 140
Send a message via MSN to gengye
Default

I think Google Docs, Microsoft Words and Dreamweaver could all help you in this purpose.

Have a nice day,
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT -5. The time now is 04:15 AM.


Website Design by Ducani Media Group
Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.