diff --git a/lib/foodsoft_article_import.rb b/lib/foodsoft_article_import.rb index c08cf2e..a2fa255 100644 --- a/lib/foodsoft_article_import.rb +++ b/lib/foodsoft_article_import.rb @@ -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 diff --git a/lib/foodsoft_article_import/dnb_xml.rb b/lib/foodsoft_article_import/odin.rb similarity index 99% rename from lib/foodsoft_article_import/dnb_xml.rb rename to lib/foodsoft_article_import/odin.rb index c5e2f11..bb9992d 100644 --- a/lib/foodsoft_article_import/dnb_xml.rb +++ b/lib/foodsoft_article_import/odin.rb @@ -7,7 +7,7 @@ require 'nokogiri' module FoodsoftArticleImport - class DnbXml + class Odin NAME = "De Nieuwe Band (XML)" OUTLIST = true