Extract/Generate HTML Markup from Rich Text field using Lotusscript

Hi all,

I am looking for a way to extract/generate the HTML markup from a Rich Text field content using Lotusscript (from a background agent).

The idea was to use the Rich Text field in the Lotus form, so that people with less HTML experience can do things more easily by copying and pasting the content in the respective fields in documents through Notes client.

Later using Lotusscript we want to access the content and output in a custom fashion to the browser.

I have already checked out the following resources for this purpose but both of them turned not working for me.

http://www-01.ibm.com/support/docview.wss?uid=swg21091054

http://www.nsftools.com/tips/NotesTips.htm#richtexttohtml

The version of Domino that I am using is 8.5.1

Any help regarding this is appreciated.

Thanks

JP

Subject: Build vs. Buy

If those resources weren’t enough to help you build what you hope to achieve, perhaps it’s time to look at a purchased solution. Genii Software has put untold engineering hours into their products to provide high-fidelity rich-text<->HTML co-existence and manipulation. You should take a look at CoexEdit and the Midas Rich Text LSX. http://www.geniisoft.com/

FWIW, I have no financial interest or connection to the company.

Subject: I second that

If the purpose is to be able to move back and forth between notes and web, save yourself the trouble and buy a solution, as anything that you come up with, will probably end up not being reliable.

However, if its a one time, one way conversion, you can load up the notesdocuments on web, using java HttpConnection, and download the autogenerated html. You can also get embedded images and files in this way with some clever html parsing. However, expect some Java coding to be able to do this.