lib/relaton/processor.rb in nistbib-0.1.1 vs lib/relaton/processor.rb in nistbib-0.1.2
- old
+ new
@@ -5,15 +5,15 @@
class Processor < Relaton::Processor
def initialize
@short = :nistbib
@prefix = "NIST"
- @defaultprefix = %r{^(NIST)[ /]}
+ @defaultprefix = %r{^(NIST|NISTGCR|ITL Bulletin|JPCRD|NISTIR|CSRC)[ /]}
@idtype = "NIST"
end
def get(code, date, opts)
- ::Nistbib::NistBibliography.get(code, date, opts)
+ ::NistBib::NistBibliography.get(code, date, opts)
end
def from_xml(xml)
IsoBibItem::XMLParser.from_xml xml
end