Add "txt", "odt" and "csv" extension to file categories vocabulary
authorDenis Laxalde <denis.laxalde@logilab.fr>
Fri, 08 Mar 2019 14:26:39 +0100
changeset 2984 ddfcb3102127
parent 2983 d61ddd5bbee0
child 2985 bed054c64f7d
Add "txt", "odt" and "csv" extension to file categories vocabulary We only update the file, that will be used in SAEM upon instance creation. We do not handle migration of existing instance.
cubicweb_seda/migration/data/file_categories.csv
--- a/cubicweb_seda/migration/data/file_categories.csv	Thu Dec 20 16:22:21 2018 +0100
+++ b/cubicweb_seda/migration/data/file_categories.csv	Fri Mar 08 14:26:39 2019 +0100
@@ -140,6 +140,14 @@
 ;#3-13-1-28;#3-13-1;fmt/491;format;PDF/X;
 ;#3-13-1-29;#3-13-1;fmt/492;format;PDF/X;
 ;#3-13-1-30;#3-13-1;fmt/493;format;PDF/E;
+;#3-14;#3;txt;extension;;
+;#3-14-1;#3-14;text/plain;type_mime;text/plain;
+;#3-14-1-1;#3-14-1;x-fmt/111;format;texte;
+;#3-15;#3;odt;extension;;
+;#3-15-1;#3-15;application/vnd.oasis.opendocument.text;type_mime;;
+;#3-15-1-1;#3-15-1;fmt/136;format;version 1.0;
+;#3-15-1-2;#3-15-1;fmt/290;format;version 1.1;
+;#3-15-1-3;#3-15-1;fmt/291;format;version 1.2;
 ;#4;;données structurées;catégorie;;
 ;#4-1;#4;atom;extension;;
 ;#4-1-1;#4-1;application/atom+xml;type_mime;;
@@ -202,6 +210,9 @@
 ;#4-14;#4;xslt;extension;;
 ;#4-14-1;#4-14;application/xslt+xml;type_mime;;
 ;#4-14-1-1;#4-14-1;x-fmt/281;format;;
+;#4-15;#4;csv;extension;;
+;#4-15-1;#4-15;text/csv;type_mime;;
+;#4-15-1-1;#4-15-1;x-fmt/18;format;valeurs séparées par un délimiteur;
 ;#5;;Image;catégorie;;
 ;#5-1;#5;jpeg;extension;;
 ;#5-1-1;#5-1;image/jpeg;type_mime;;