rename dnb_xml to odin

This commit is contained in:
viehlieb 2023-02-07 17:26:51 +01:00
parent 22dedc0b96
commit 54120ff42b
2 changed files with 4 additions and 4 deletions

View file

@ -6,7 +6,7 @@ require 'active_support/core_ext/hash/keys'
require_relative 'foodsoft_article_import/bioromeo'
require_relative 'foodsoft_article_import/bnn'
require_relative 'foodsoft_article_import/utf8_encoder'
require_relative 'foodsoft_article_import/dnb_xml'
require_relative 'foodsoft_article_import/odin'
require_relative 'foodsoft_article_import/foodsoft'
module FoodsoftArticleImport
@ -23,8 +23,8 @@ module FoodsoftArticleImport
@@file_formats ||= {
'bnn' => FoodsoftArticleImport::Bnn,
'foodsoft' => FoodsoftArticleImport::Foodsoft,
'dnb_xml' => FoodsoftArticleImport::DnbXml,
'odin' => FoodsoftArticleImport::DnbXml,
'dnb_xml' => FoodsoftArticleImport::Odin,
'odin' => FoodsoftArticleImport::Odin,
'bioromeo' => FoodsoftArticleImport::Bioromeo,
}.freeze
end

View file

@ -7,7 +7,7 @@
require 'nokogiri'
module FoodsoftArticleImport
class DnbXml
class Odin
NAME = "De Nieuwe Band (XML)"
OUTLIST = true