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/bioromeo'
require_relative 'foodsoft_article_import/bnn' require_relative 'foodsoft_article_import/bnn'
require_relative 'foodsoft_article_import/utf8_encoder' 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' require_relative 'foodsoft_article_import/foodsoft'
module FoodsoftArticleImport module FoodsoftArticleImport
@ -23,8 +23,8 @@ module FoodsoftArticleImport
@@file_formats ||= { @@file_formats ||= {
'bnn' => FoodsoftArticleImport::Bnn, 'bnn' => FoodsoftArticleImport::Bnn,
'foodsoft' => FoodsoftArticleImport::Foodsoft, 'foodsoft' => FoodsoftArticleImport::Foodsoft,
'dnb_xml' => FoodsoftArticleImport::DnbXml, 'dnb_xml' => FoodsoftArticleImport::Odin,
'odin' => FoodsoftArticleImport::DnbXml, 'odin' => FoodsoftArticleImport::Odin,
'bioromeo' => FoodsoftArticleImport::Bioromeo, 'bioromeo' => FoodsoftArticleImport::Bioromeo,
}.freeze }.freeze
end end

View file

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