Replies: 4 comments 1 reply
-
I have walls to paint now so I cannot look at it. I will see if an improvement can be made regarding the other items (dates, conversions of ISBNs in import, etc.) later. Perhaps another day. :) |
Beta Was this translation helpful? Give feedback.
-
I revised my script from the beginning to be more independent from the name database fields. the first part works with unimarc field names (200a_title for the 200 $a field of unimarc) the second part of replacing values by names (lookup) is specific to French but can be translated (for example dewey codes -> dewey names) the last part is the transformation of the variables to the BiblioteQ 200a_title -> title (I added 2 examples) 2022-01-02_Unimarc_to_BiblioteQ_by_script_Catmandu-with_examples_2022-01-03_v1.zip |
Beta Was this translation helpful? Give feedback.
-
suggestion : instead of having 2 almost similar interfaces (csv and unimarc), maybe create a general "csv or unimarc" import with the command file : 00_Source_110000_file1-utf8.pan: MARC21 Bibliographic |
Beta Was this translation helpful? Give feedback.
-
I think we can close this conversation as it duplicates Super Magic Import #241. I need to make more progress in python to be 100% happy with the tool. If you want to make BQ unimarc file compatible, this feature will be welcome but I think it's a lot of work to get to the same point. I leave you alone to close. the analyzer: |
Beta Was this translation helpful? Give feedback.
-
concerning my request for an unimarc + 995 import, I don't know if you've looked at catmandu but if you're looking for a marc / unimarc parser : catmandu is for you :-)
I don't know if it's easy to integrate (perl in c++ qt) but I think it does the job and should be integrated like the yaz tools
If that is impossible I will keep the independent version of catmandu in script but not being a programmer, I still managed to parse the unimarc and make the csv in 1 week (it's still not perfect because I'm not familiar with regular expressions) and the fix language is already quite complicated for me.
The most missing thing is some fields with customizable title in BiblioteQ in the books tables to accommodate the unimarc records info.
Beta Was this translation helpful? Give feedback.
All reactions