Closed SafetyLit closed 2 years ago
What is the timestamp of the translator you used to reproduce this?
Going back to the original request, I need a few terms cleared up:
- Strip journal abbreviations.
That is done
- For all journal article paginations without an ending page, prefix the numeric string with an "e". (Before we began editing our records by hand, this is the most-requested change to the SafetyLit display and export.)
When you say "paginations", do you mean the "Pages" field in Zotero, or a field (if so, which) in the MODS output?
- To accommodate my existing system that fetches volume, issue, pagination metadata for aheah-of-print articles, we replace empty fields with "ePub". We do this mostly by manual edits. (This is complicated a bit by publishers such as Elsevier) that do not publish issues within their volumes.) It would save the hand-editing time if there could be an auto-edit script to replace all empty volume, issue, pagination fields in the MODS file with "ePub". (My metadata fetch system already recognizes when metadata contains volume and pagination metadata and replaces ePub in the issue field with null.)
And this tests the Zotero "Pages", "Volume" and "Issue" field, yes?
Assuming the above is correct: version 2022-10-24 08:03:59
is up with those changes.
Yes, I am getting email notices of your changes. I apologize for the delay replying. I've been doing detective work to trace the nature of the problem issue.
Also, there are times that I do not have access to my computer but do have access to my iPad. For some reason I've not been able to login to github from my iPad for a couple of days. I'm working to fix that problem.
Version: 2022-10-24 08:03:59
Everything is now working except there is a new problem. When there is nothing in the Zotero Volume, Issue, Pages fields; the MODS exports do not contain the field tags but should contain those field tags and should have ePub in each of those fields.
The regular MODS export nor the SafetyLit MODS export do not contain tags for those fields when there is no data in the fields. Here is an example with data in the fields. Please note that angle brackets below have been replaced with square brackets. I don't know how to get my example to show angle brackets there but for some reason when I paste the files with declarations RDF and MODS the angle brackets are displayed.
<part><detail type="volume"><number>17</number></detail><detail type="issue"><number>4</number></detail><extent unit="pages"><start>246</start><end>256</end></extent></part>
Your exporter will need to recognize the missing volume, issue, and pages information from the Zotero record and then add
<part>< detail type="volume"><number>ePub</number></detail><detail type="issue"><number>ePub</number></detail><extent unit="pages"><list>ePub</list></extent></part>
Thanks!
Here is the Zotero RDF followed by the SafetyLit MODS export :
I don't know how to get my example to show angle brackets
You can enclose them with triple backquotes like so:
Version 2022-10-26 04:04:47
is up which should fix these problems.
I'd prefer it if you open new issues for new problems, I prefer to handle and close earlier issues before moving on to new ones.
Does this mean #1 and #3 can be closed?
Success! Everything is working just as I desire.
When there is a volume and page range in the Zotero record the MODS export volume metadata item is deleted and replaced with ePub.
See Zotero RDF for one of the items with this problem.
RDF
```