JSON embedded is not great. Also it means firing up the big csv library,
rather than the JSON one which we use all the time in CKAN. Any takers for
JSON comment option?


On 5 December 2013 17:07, kindly <notifications@github.com> wrote:

> In ckan/config/resource_formats.json:
>
> > + "doc": ["application/ms-word", "DOC", "Word Document"],
> > + "application/atom+xml": ["application/atom+xml", "Atom Feed", "Atom Feed"],
> > + "application/x-e00": ["application/x-e00","E00"," ARC/INFO interchange file format"],
> > + "application/x-javascript": ["application/x-javascript","JS","JavaSript"],
> > + "application/x-director": ["application/x-director","DCR","Adobe Shockwave format"],
> > + "application/x-mxd": ["application/x-mxd","MXD","ESRI ArcGIS project file"],
> > + "application/xslt+xml": ["application/xslt+xml","XSLT","Extensible Stylesheet Language Transformations"],
> > + "chemical/x-mopac-input": ["chemical/x-mopac-input","MOP","MOPAC Input format"],
> > + "application/vnd.oasis.opendocument.database": ["application/vnd.oasis.opendocument.database","ODB","OpenDocument Database"],
> > + "application/vnd.oasis.opendocument.chart": ["application/vnd.oasis.opendocument.chart","ODC","OpenDocument Chart"],
> > + "application/vnd.oasis.opendocument.formula": ["application/vnd.oasis.opendocument.formula","ODF","OpenDocument Math Formula"],
> > + "application/vnd.oasis.opendocument.graphics": ["application/vnd.oasis.opendocument.graphics","ODG","OpenDocument Image"],
> > + "application/vnd.oasis.opendocument.spreadsheet": ["application/vnd.oasis.opendocument.spreadsheet","ODS","OpenDocument Spreadsheet"],
> > + "application/vnd.oasis.opendocument.text": ["application/vnd.oasis.opendocument.text","ODT","OpenDocument Text"],
> > + "application/owl+xml": ["application/owl+xml","OWL","Web Ontology Language"],
> > + "application/vnd.ms-powerpoint": ["application/vnd.ms-powerpoint","PPT","Powerpoint Presentation"],
>
> Sorry made some typos on the TSV file format proposed initially. Would
> prefer it to be
>
> file_extension;description;mimetype;alternate_input_values
> CSV;CSV File;text/csv;"["wierd csv input with a ; 1",...]"
>
> note optional quoting
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/okfn/ckan/pull/1350/files#r8135905>
> .
>