An Integrated Framework for Web Publication of Interactive Documents