Commit 9e045c1d authored by Przemyslaw Kaminski's avatar Przemyslaw Kaminski

[parsers] add wos_zip

parent 37a4d4d1
Pipeline #2537 canceled with stage
...@@ -13,7 +13,7 @@ import Web.File.Blob (Blob, size) ...@@ -13,7 +13,7 @@ import Web.File.Blob (Blob, size)
import Web.File.FileReader.Aff (readAsArrayBuffer, readAsText) import Web.File.FileReader.Aff (readAsArrayBuffer, readAsText)
data FileType = CSV | CSV_HAL | WOS | PresseRIS | Arbitrary | JSON | ZIP data FileType = CSV | CSV_HAL | JSON | PresseRIS | WOS | WOS_ZIP | Arbitrary | ZIP
derive instance Generic FileType _ derive instance Generic FileType _
instance Eq FileType where eq = genericEq instance Eq FileType where eq = genericEq
...@@ -23,9 +23,10 @@ instance Read FileType where ...@@ -23,9 +23,10 @@ instance Read FileType where
read "Arbitrary" = Just Arbitrary read "Arbitrary" = Just Arbitrary
read "CSV" = Just CSV read "CSV" = Just CSV
read "CSV_HAL" = Just CSV_HAL read "CSV_HAL" = Just CSV_HAL
read "JSON" = Just JSON
read "PresseRIS" = Just PresseRIS read "PresseRIS" = Just PresseRIS
read "WOS" = Just WOS read "WOS" = Just WOS
read "JSON" = Just JSON read "WOS_ZIP" = Just WOS_ZIP
read "ZIP" = Just ZIP read "ZIP" = Just ZIP
read _ = Nothing read _ = Nothing
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment