Propagate MARC 082 $2 (DDC source) to frontend for all networks; centralize DDC extraction#180
Propagate MARC 082 $2 (DDC source) to frontend for all networks; centralize DDC extraction#180qdgaraertgaer wants to merge 5 commits intoUB-Mannheim:masterfrom
Conversation
|
Sorry @qdgaraertgaer for not getting to this earlier. Probably I was scared about the warning, that the content was created with the help of AI. 🤖 If I understand it correctly you have three different things here:
Isn't point 1 most of the time only the edition of the DDC? E.g 23th or 22th edition of the DDC. For what is this valuable information to have? I am not sure we want Formschlagwörter resp. mix them with the other Schlagwörter. As this is AFAIK mostly switched to something normal cataloguing is doing and no subject specialist is involved in that. But I need to consider this further... Do you have more examples for showing the differences? Just a bunch of ISBN is fine to test. |
|
Dear @zuphilip no problem at all! Those changes have a lot to do with our internal rules. Regarding the content of subfield 2 for field 089 I need to check if the data is properly saved. For example I have seen books where DDC 296 is saved as As for the Formschlagwörter from field 655, I use it (for example) to make sure that Aufsatzsammlung is present, as our formal cataloger do not give it, but the subject specialists do (the former only use the enge Liste gemäß RDA DACH). As for some examples, you could use:
If you need more examples I'll start collecting them. Thank you in advance |
|
Dear @zuphilip Maybe let's not merge this version. The goal would be for it to look like this (at least for swisscovery):
What do you think ? |

/!\ Caution: modifications made with AI /!\
Summary
What this PR changes
swmapping handling to accept MARC 655 entries with indicator 7 only when they includesubfield[@code="2"]="gnd-content", ensuring we pick up GND form headings explicitly flagged as GND-sourced.sw.mainPartto include 655 _7/gnd-content entries alongside 689 and other 6xx sources.Behavioral notes
Testing / How to verify
Look for keywords coming from 655 fields that include
"(DE-588)"links or appear as plain text if no GND link is present, and verify 655-sourced headings only appear when$2isgnd-content.Backward-compatibility & risks
gnd-contentrestriction on 655 prevents broad inclusion of non-GND form headings — if your local data uses a different $2 value (e.g.gnd), consider broadening the condition tosubfield[@code="2"]="gnd" or subfield[@code="2"]="gnd-content".Notes on verification performed
php -l isbn/lib.php— No syntax errorsphp -l isbn/dnb.php— No syntax errorsphp -l isbn/alma-sru.php— No syntax errorsgnd-contentclause in lib.php, dnb.php, and alma-sru.php to confirm it is conservative and will only accept 655 _7 entries explicitly flagged as GND form headings.Next steps
gndandgnd-contentor provide a configuration toggle per-verbund.