periodical postprocessor

This module defines postprocessing for periodical publications.

marcxml2mods.mods_postprocessor.periodical.postprocess_periodical(*args, **kwargs)

Some basic postprocessing of the periodical publications.

Parameters:
  • marc_xml (str) – Original Aleph record.
  • mods (str) – XML string generated by XSLT template.
  • uuid (str) – UUID of the package.
  • counter (int) – Number of record, is added to XML headers.
  • url (str) – URL of the publication (public or not).
Returns:

Updated XML.

Return type:

str