GeoNetwork encodes links as a single string separated by |, e.g.:
|Darstellungsdienst (WMS)|https://...|OGC:WMS|||.
This helper splits such a string into named columns.
Details
The fields are ordered name, description, URL, protocol, MIME type, order. The URL is the one field that can be recognised on its own, so it is located first and the remaining fields are read relative to it; that keeps the columns aligned for a catalogue that pads the record differently.
Note that a parsed link_protocol is only as good as the catalogue: the GDI
Berlin records repeat the description there instead of naming a protocol,
so filtering on it needs gn_link_protocol().