diff --git a/ckan/config/resource_formats.json b/ckan/config/resource_formats.json index d4749a99b1f..c20b4f8210b 100644 --- a/ckan/config/resource_formats.json +++ b/ckan/config/resource_formats.json @@ -8,70 +8,84 @@ " * Mimetype - canonical mimetype for the format. It must be unique to this resource format. It should be listed here: https://www.iana.org/assignments/media-types/media-types.xhtml or here: http://hg.python.org/cpython/file/2.7/Lib/mimetypes.py#l403", " * List of alternative representations - these are other names that the user might type when they mean this format, or alternative mime-types or any other identifier. (They must be unique to this resource format.)" ], - ["PPTX", "Powerpoint OOXML Presentation", "application/vnd.openxmlformats-officedocument.presentationml.presentation", []], - ["EXE", "Windows Executable Program", "application/x-msdownload", []], + ["ArcGIS Map Preview", "ArcGIS Map Preview", "ArcGIS Map Preview", ["arcgis map preview"]], + ["ArcGIS Map Service", "ArcGIS Map Service", "ArcGIS Map Service", ["arcgis map service"]], + ["ArcGIS Online Map", "ArcGIS Online Map", "ArcGIS Online Map", ["web map application"]], + ["Atom Feed", "Atom Feed", "application/atom+xml", []], + ["BIN", "Binary Data", "application/octet-stream", ["bin"]], + ["BMP", "Bitmap Image File", "image/x-ms-bmp", []], + ["CSV", "Comma Separated Values File", "text/csv", ["text/comma-separated-values"]], + ["DCR", "Adobe Shockwave format", "application/x-director", []], + ["dBase", "dBase Database", "application/x-dbf", ["dbf"]], ["DOC", "Word Document", "application/msword", []], - ["KML", "KML File", "application/vnd.google-earth.kml+xml", []], - ["XLS", "Excel Document", "application/vnd.ms-excel", ["Excel", "application/msexcel", "application/x-msexcel", "application/x-ms-excel", "application/x-excel", "application/x-dos_ms_excel", "application/xls", "application/x-xls"]], - ["WCS", "Web Coverage Service", "wcs", []], + ["DOCM", "Word OOXML - Macro Enabled", "application/vnd.ms-word.document.macroEnabled.12", []], + ["DOCX", "Word OOXML Document", "application/vnd.openxmlformats-officedocument.wordprocessingml.document", []], + ["DOTM", "Word OOXML Template - Macro Enabled", "application/vnd.ms-word.template.macroEnabled.12", []], + ["DOTX", "Word OOXML - Template", "application/vnd.openxmlformats-officedocument.wordprocessingml.template", []], + ["Esri REST", "Esri Rest API Endpoint", "Esri REST", ["arcgis_rest"]], + ["EXE", "Windows Executable Program", "application/x-msdownload", []], + ["E00", " ARC/INFO interchange file format", "application/x-e00", []], + ["GeoJSON", "Geographic JavaScript Object Notation", "application/geo+json", ["geojson"]], + ["GIF", "GIF Image File", "image/gif", []], + ["GTFS", "General Transit Feed Specification", null, []], + ["GZ", "Gzip File", "application/gzip", ["application/x-gzip"]], + ["HTML", "Web Page", "text/html", ["htm", "http://purl.org/net/mediatypes/text/html"]], + ["ICS", "iCalendar", "text/calendar", ["ifb", "iCal"]], + ["JPEG", "JPG Image File", "image/jpeg", ["jpeg", "jpg"]], ["JS", "JavaScript", "application/x-javascript", []], + ["JSON", "JavaScript Object Notation", "application/json", []], + ["KML", "KML File", "application/vnd.google-earth.kml+xml", []], + ["KMZ", "KMZ File", "application/vnd.google-earth.kmz+xml", ["application/vnd.google-earth.kmz"]], ["MDB", "Access Database", "application/x-msaccess", []], + ["MOP", "MOPAC Input format", "chemical/x-mopac-input", []], + ["MrSID", "MrSID", "image/x-mrsid", []], + ["MXD", "ESRI ArcGIS project file", "application/x-mxd", []], ["NetCDF", "NetCDF File", "application/netcdf", []], - ["ArcGIS Map Service", "ArcGIS Map Service", "ArcGIS Map Service", ["arcgis map service"]], - ["TSV", "Tab Separated Values File", "text/tab-separated-values", ["text/tsv"]], - ["WFS", "Web Feature Service", null, []], - ["WMTS", "Web Map Tile Service", null, []], - ["ArcGIS Online Map", "ArcGIS Online Map", "ArcGIS Online Map", ["web map application"]], - ["Perl", "Perl Script", "text/x-perl", []], - ["KMZ", "KMZ File", "application/vnd.google-earth.kmz+xml", ["application/vnd.google-earth.kmz"]], - ["OWL", "Web Ontology Language", "application/owl+xml", []], ["N3", "N3 Triples", "application/x-n3", []], - ["ZIP", "Zip File", "application/zip", ["zip", "http://purl.org/NET/mediatypes/application/zip"]], - ["GZ", "Gzip File", "application/gzip", ["application/x-gzip"]], - ["QGIS", "QGIS File", "application/x-qgis", []], - ["ODS", "OpenDocument Spreadsheet", "application/vnd.oasis.opendocument.spreadsheet", []], - ["ODT", "OpenDocument Text", "application/vnd.oasis.opendocument.text", []], - ["JSON", "JavaScript Object Notation", "application/json", []], - ["BMP", "Bitmap Image File", "image/x-ms-bmp", []], - ["HTML", "Web Page", "text/html", ["htm", "http://purl.org/net/mediatypes/text/html"]], - ["RAR", "RAR Compressed File", "application/rar", []], - ["TIFF", "TIFF Image File", "image/tiff", []], ["ODB", "OpenDocument Database", "application/vnd.oasis.opendocument.database", []], - ["TXT", "Text File", "text/plain", []], - ["DCR", "Adobe Shockwave format", "application/x-director", []], + ["ODC", "OpenDocument Chart", "application/vnd.oasis.opendocument.chart", []], ["ODF", "OpenDocument Math Formula", "application/vnd.oasis.opendocument.formula", []], ["ODG", "OpenDocument Image", "application/vnd.oasis.opendocument.graphics", []], - ["XML", "XML File", "application/xml", ["text/xml", "http://purl.org/net/mediatypes/application/xml"]], - ["XLSX", "Excel OOXML Spreadsheet", "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet", []], - ["DOCX", "Word OOXML Document", "application/vnd.openxmlformats-officedocument.wordprocessingml.document", []], - ["BIN", "Binary Data", "application/octet-stream", ["bin"]], - ["XSLT", "Extensible Stylesheet Language Transformations", "application/xslt+xml", []], - ["WMS", "Web Mapping Service", "WMS", ["wms"]], - ["SVG", "SVG vector image", "image/svg+xml", ["svg"]], - ["PPT", "Powerpoint Presentation", "application/vnd.ms-powerpoint", []], + ["OWL", "Web Ontology Language", "application/owl+xml", []], ["ODP", "OpenDocument Presentation", "application/vnd.oasis.opendocument.presentation", []], - ["JPEG", "JPG Image File", "image/jpeg", ["jpeg", "jpg"]], - ["SPARQL", "SPARQL end-point", "application/sparql-results+xml", []], - ["GIF", "GIF Image File", "image/gif", []], - ["RDF", "RDF", "application/rdf+xml", ["rdf/xml"]], - ["E00", " ARC/INFO interchange file format", "application/x-e00", []], + ["ODS", "OpenDocument Spreadsheet", "application/vnd.oasis.opendocument.spreadsheet", []], + ["ODT", "OpenDocument Text", "application/vnd.oasis.opendocument.text", []], ["PDF", "PDF File", "application/pdf", []], - ["CSV", "Comma Separated Values File", "text/csv", ["text/comma-separated-values"]], - ["ODC", "OpenDocument Chart", "application/vnd.oasis.opendocument.chart", []], - ["Atom Feed", "Atom Feed", "application/atom+xml", []], - ["MrSID", "MrSID", "image/x-mrsid", []], - ["ArcGIS Map Preview", "ArcGIS Map Preview", "ArcGIS Map Preview", ["arcgis map preview"]], - ["XYZ", "XYZ Chemical File", "chemical/x-xyz", []], - ["MOP", "MOPAC Input format", "chemical/x-mopac-input", []], - ["Esri REST", "Esri Rest API Endpoint", "Esri REST", ["arcgis_rest"]], - ["dBase", "dBase Database", "application/x-dbf", ["dbf"]], - ["MXD", "ESRI ArcGIS project file", "application/x-mxd", []], - ["TAR", "TAR Compressed File", "application/x-tar", []], + ["Perl", "Perl Script", "text/x-perl", []], ["PNG", "PNG Image File", "image/png", []], + ["POTM", "PowerPoint Open XML - Macro-Enabled Template", "application/vnd.ms-powerpoint.template.macroEnabled.12", []], + ["POTX", "PowerPoint OOXML Presentation - Template", "application/vnd.openxmlformats-officedocument.presentationml.template", []], + ["PPAM", "PowerPoint Open XML - Macro-Enabled Add-In", "application/vnd.ms-powerpoint.addin.macroEnabled.12", []], + ["PPT", "Powerpoint Presentation", "application/vnd.ms-powerpoint", []], + ["PPTM", "PowerPoint Open XML - Macro-Enabled", "application/vnd.ms-powerpoint.presentation.macroEnabled.12", []], + ["PPTX", "Powerpoint OOXML Presentation", "application/vnd.openxmlformats-officedocument.presentationml.presentation", []], + ["PPSM", "PowerPoint Open XML - Macro-Enabled Slide Show", "application/vnd.ms-powerpoint.slideshow.macroEnabled.12", []], + ["PPSX", "PowerPoint Open XML - Slide Show", "application/vnd.openxmlformats-officedocument.presentationml.slideshow", []], + ["QGIS", "QGIS File", "application/x-qgis", []], + ["RAR", "RAR Compressed File", "application/rar", []], + ["RDF", "RDF", "application/rdf+xml", ["rdf/xml"]], ["RSS", "RSS feed", "application/rss+xml", []], - ["GeoJSON", "Geographic JavaScript Object Notation", "application/geo+json", ["geojson"]], ["SHP", "Shapefile", null, ["esri shapefile"]], + ["SPARQL", "SPARQL end-point", "application/sparql-results+xml", []], + ["SVG", "SVG vector image", "image/svg+xml", ["svg"]], + ["TAR", "TAR Compressed File", "application/x-tar", []], + ["TIFF", "TIFF Image File", "image/tiff", []], ["TORRENT", "Torrent", "application/x-bittorrent", ["bittorrent"]], - ["ICS", "iCalendar", "text/calendar", ["ifb", "iCal"]], - ["GTFS", "General Transit Feed Specification", null, []] + ["TSV", "Tab Separated Values File", "text/tab-separated-values", ["text/tsv"]], + ["TXT", "Text File", "text/plain", []], + ["WCS", "Web Coverage Service", "wcs", []], + ["WFS", "Web Feature Service", null, []], + ["WMS", "Web Mapping Service", "WMS", ["wms"]], + ["WMTS", "Web Map Tile Service", null, []], + ["XLAM", "Excel OOXML Spreadsheet - Macro-Enabled Add-In", "application/vnd.ms-excel.addin.macroEnabled.12", []], + ["XLS", "Excel Document", "application/vnd.ms-excel", ["Excel", "application/msexcel", "application/x-msexcel", "application/x-ms-excel", "application/x-excel", "application/x-dos_ms_excel", "application/xls", "application/x-xls"]], + ["XLSB", "Excel OOXML Spreadsheet - Binary Workbook", "application/vnd.ms-excel.sheet.binary.macroEnabled.12", []], + ["XLSM", "Excel OOXML Spreadsheet - Macro-Enabled", "application/vnd.ms-excel.sheet.macroEnabled.12", []], + ["XLSX", "Excel OOXML Spreadsheet", "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet", []], + ["XLTM", "Excel OOXML Spreadsheet - Macro-Enabled Template", "application/vnd.ms-excel.template.macroEnabled.12", []], + ["XLTX", "Excel OOXML Spreadsheet - Template", "application/vnd.openxmlformats-officedocument.spreadsheetml.template", []], + ["XML", "XML File", "application/xml", ["text/xml", "http://purl.org/net/mediatypes/application/xml"]], + ["XSLT", "Extensible Stylesheet Language Transformations", "application/xslt+xml", []], + ["XYZ", "XYZ Chemical File", "chemical/x-xyz", []], + ["ZIP", "Zip File", "application/zip", ["zip", "http://purl.org/NET/mediatypes/application/zip"]] ]