Eprints plugin, enabling it to accept submissions from Jisc PubRouter via SWORD2 with an enhanced XML schema that enables RIOXX fields to be populated.
It would be neater if the my %license_urls map excluded the protocol segment (i.e. http:// and https://) which would reduce its size by 50%, if the code at line 449 used a temporary variable $stripped_lic_url which removes the protocol prefix.
https://github.com/jisc-services/eprints-plugin-PubRouter-RIOXXplus-Connector/blob/28717904fc01c5a9c5ebd33c8dc8c37b6d09a04e/lib/plugins/EPrints/Plugin/Import/PubRouter.pm#L77
It would be neater if the
my %license_urls
map excluded the protocol segment (i.e.http://
andhttps://
) which would reduce its size by 50%, if the code at line 449 used a temporary variable$stripped_lic_url
which removes the protocol prefix.https://github.com/jisc-services/eprints-plugin-PubRouter-RIOXXplus-Connector/blob/28717904fc01c5a9c5ebd33c8dc8c37b6d09a04e/lib/plugins/EPrints/Plugin/Import/PubRouter.pm#L449