If I understand this correctly, you could avoid the custom item route altogether and just use an HTML item. Select HTML as the item type and list your HTML file in the file name field. Make sure "Write RT" is checked in the Details window. You should be good to go.