Viewing html file in Notes client (in richtext field)

Hi!

I have a problem which I hope you experts out there can help me solve.

I have an application where I want the users to be able to view html files in both web client and Notes client. The html files are created with Microsoft Office, who has a good html rendering function. These files, including the sub-library (filename_files) are placed in the html directory of the server.

So far so good, the files can be viewed very nicely in the web client, but how can I display these files in the Notes client? Preferrably I would like to embed the html file in a rich text field if possible. I tried Import function on a rich text field, but this didn’t import any of the pictures in the html file (stored in the sub directory). Can this be done, and how? If it cannot be done, any ideas of a workaraound would be very appreciated.

TIA

/Oscar

Subject: Viewing html file in Notes client (in richtext field)

Import method supports importing graphics, but depending how the graphics URLs are encoded into the file, Import might not be able to find them. E.g. Suppose you Import files at path “C:\Lotus\Domino\data\html\thefiles”, and the files contain HTML such as: <IMG SRC=“/thefiles/dir132/snark.jpg”…>. Notes client doesn’t know what directory is the root of the HTTP server’s files, so it can’t interpret a path that starts with “/”.

Try using GetDocumentByURL instead.

Subject: Viewing html file in Notes client (in richtext field)

If you want to try another option, our Midas Rich Text LSX allows importing to and exporting from HTML, and recognizes/uses a number of the MS Word CSS features, thus allowing a better rendering in many cases between rich text and Word and back. It will import the graphics, assuming it knows where they are, so you should get a pretty good import.