Woops, forgot to CC the list.

Yes, I think this should be moved to C4.  I've been noodling around
> with the notion of creating a C4::Normalize or the like to centralize
> these kinds of normalizations (as ISSNs, LC card numbers, OCLC
> numbers, etc. could benefit from this as well), but haven't done
> anything yet.
>
> Regards,
>
> Galen


Do you think we could also put standard formatting of these types of numbers
in there, and make a naming scheme?

Example:

ISBNInternalForm('0-7434-3602-4') eq '0743436024'
ISBNDisplayForm('0743436024') eq '0-7434-3602-4'

Also LCCNInternalForm and LCCNDisplayForm, etc.

The naming scheme is a slightly awkward one, so feel free to modify. It
would be nice to have this functionality for other things too, such as
C4::Amazon.
_______________________________________________
Koha-devel mailing list
Koha-devel@lists.koha.org
http://lists.koha.org/mailman/listinfo/koha-devel

Reply via email to