XXX INCOMPLETE: support for other input formats, and webcontent-with-IP
XXX not tested yet