This article describes how to convert HTML to RVFz and set it as Description text on an Item. The HTML converter supports HTML 4.
Example
IswItem i = SWConnection.Instance.Broker.GetItem(SWHandleUtility.ToHandle(s)); // The file to import string tempFile = "C:\\Temp\\example.html"; // Default font for the conversion string FontStyle = "Arial"; // Convert the HTML file to RVFz. byte[] desc = SystemWeaver.Common.SWUtility.HtmlToRvfz(tempFile, FontStyle); // Set it as a description on an Item i.Description = SWDescription.MakeDescription(desc);