[Widgets] Manifest format

Hi,
I'm wondering if we should define a simple manifest format that
authors can optionally use in a widget package (manifest.xml or as
part of config.xml). The purpose of the manifest format would be to
associate files in the zip archive with media types (particularly for
cases where the file extension may be ambiguous, unassociable, or
missing). For example:

<?xml version="1.0"?>
<manifest xmlns="http://www.w3.org/ns/widgets">
   <file path="/data/output.json" type="text/javascript">
   <file path="/graphics/graph.data" type="image/png">
   <file path="/audio/music" type="audio/mpeg">
</manifest>

FWIW, OOXML-OPC, ODF, and OCF define a manifest format.

Kind regards,
-- 
Marcos Caceres
http://datadriven.com.au

Received on Tuesday, 9 October 2007 06:47:30 UTC