gbv / cocoda-winibw

Integration von WinIBW und Cocoda
1 stars 1 forks source link

auswahlNotation defined twice #1

Closed cKlee closed 5 years ago

nichtich commented 5 years ago

Thanks, we just fixed it, so I'll close the pull request. If have any feedback to improve the script, let us know, our knowledge of WinIBW is very limited.

cKlee commented 5 years ago

What are you planning to add?

I recommend using __zdbJSON() (also in K10plusWinIBW). Makes global var _rec available as an JS-Object, accessible like

__zdbJSON();
var valueOf005P = _rec['005P'][0]['0'][0]; // [Pica+ Kategorie][Kategorie occurrence][Subfieldcode][Subfield occurrence] 

With this you can avoid iterating over the record again and again. But this is only good for larger scripts.