Closed mMoliere closed 1 year ago
@mMoliere Is there citation data in the database? /db/apps/majlis-data/data/bibl/tei
If not you will need to load that data, https://github.com/majlis-erc/majlis-data/tree/main/data/bibl/tei. Let me know if that solves the issue.
@wsalesky Right, there are records in the database. And now, I can add references to these records inside manuForma. I'm a bit confused, but pleased that this works now.
The problem of the ghost field persists.
Also, when I add the citedRange
element or the title
element, the ptr
element is deleted.
And we would like manuForma to copy the TEI/teiHeader/fileDesc/titleStmt/title[level="a"]
from the record into the title
element of our bibliographic reference.
@mMoliere Can you send me a step by step of where the problems are? Maybe even with screen shots?
@wsalesky
@wsalesky Note to self, this works as expected locally. Will have to update forms and see if that resolves the issue. May be a services, not xforms issue.
@mMoliere Since this works locally but not on the server, I wonder if you need to update the scripts in the in the services directory? /db/apps/manuForma/services In particular make sure submit.xql and getControlledVocab.xql are updated. Let me know if that solves the problem.
@wsalesky I have updated all the scripts and cleared my cache. Still, it does not work as intended.
@wsalesky I have to reopen this issue:
citedRange
element is deleted when a record is linked. We need this element to cite accurately.//bibl[@subtype="bibliography"]
into the title
element.@mMoliere If you add the citedRange after the record is linked it does not get deleted. Because when you look up the bibliographic record the whole tei:bibl element is copied and inserted into the TEI record. It would be more code intensive to add each child element of the tei:bibl to the edited record.
Can you clarify what you mean by point #2? a tei example of current vrs desired behavior would be great!
@wsalesky Understood, we can manually add the citedRange if that's easier.
Before the Zotero records are linked to manuForma, they are exported as TEI files. – Currently only the title elements of these files are loaded into the records. – Inside these files, there are also two pre-formatted citations as they could appear in a bibliography. If we load the one I have referenced above, our users get all the relevant information (author, title, year) to check the entry without the fuss of having extra fields.
@mMoliere So a bibl entry should look like the following:
<bibl xml:id="bibl-111">
<title>Esther Gamliel Barak, <title level="a">Exegesis’ Methods of the Bible in the Dictionary of the Karaite David Ben Abraham Alfāsī, ‘Kitāb Jāmi’ al-Alfāż’ / דרכי הפרשנות למקרא במילונו של הקראי דוד בן אברהם אלפאסי, ‘כתאב ג’אמע אלאלפאט’,’</title> <title level="m">Beit Mikra: Journal for the Study of the Bible and Its World / בית מקרא: כתב-עת לחקר המקרא ועולמו</title> נט, no. ב (2014): 76–128, http://www.jstor.org/stable/24305003.</title>
<ptr target="https://majlis.net/bibl/ANVNIYZA"/>
</bibl>
Rather than what we have now:
<bibl xml:id="bibl-111">
<title level="m">Karaite Exegesis in Medieval Jerusalem: The Judeo-Arabic Pentateuch Commentary of Yūsuf Ibn Nūḥ and Abū Al-Faraj Hārūn</title>
<title level="s">Texts and Studies in Medieval and Early Modern Judaism</title>
<author>
<forename>Miriam</forename>
<surname>Goldstein</surname>
</author>
<ptr target="https://majlis.net/bibl/ANVNIYZA"/>
</bibl>
Or another option could be:
<bibl xmlns="http://www.tei-c.org/ns/1.0">
<bibl>
<title level="a">Exegesis' Methods of the Bible in the Dictionary of the Karaite David Ben Abraham Alfāsī, "Kitāb Jāmi' al-Alfāż" / דרכי הפרשנות למקרא במילונו של הקראי דוד בן אברהם אלפאסי, "כתאב ג'אמע אלאלפאט'"</title>
<title level="j">Beit Mikra: Journal for the Study of the Bible and Its World / בית מקרא: כתב-עת לחקר המקרא ועולמו</title>
<author>
<forename>Esther Gamliel</forename>
<surname>Barak</surname>
</author>
<ptr target="https://majlis.net/bibl/FM6G5JZV"/>
</bibl>
<bibl type="formatted" subtype="citation" resp="https://www.zotero.org/styles/chicago-note-bibliography-17th-edition">Esther Gamliel Barak, <title level="a">Exegesis’ Methods of the Bible in the Dictionary of the Karaite David Ben Abraham Alfāsī, ‘Kitāb Jāmi’ al-Alfāż’ / דרכי הפרשנות למקרא במילונו של הקראי דוד בן אברהם אלפאסי, ‘כתאב ג’אמע אלאלפאט’,’</title> <title level="m">Beit Mikra: Journal for the Study of the Bible and Its World / בית מקרא: כתב-עת לחקר המקרא ועולמו</title> נט, no. ב (2014): 76–128, http://www.jstor.org/stable/24305003.</bibl>
</bibl>
@wsalesky Yes, pretty much:
<bibl xml:id="bibl-111">
<title>Esther Gamliel Barak, Exegesis’ Methods of the Bible in the Dictionary of the Karaite David Ben Abraham Alfāsī, ‘Kitāb Jāmi’ al-Alfāż’ / דרכי הפרשנות למקרא במילונו של הקראי דוד בן אברהם אלפאסי, ‘כתאב ג’אמע אלאלפאט’,’ Beit Mikra: Journal for the Study of the Bible and Its World / בית מקרא: כתב-עת לחקר המקרא ועולמו נט, no. ב (2014): 76–128, http://www.jstor.org/stable/24305003.</title>
<ptr target="https://majlis.net/bibl/ANVNIYZA"/>
<citedRange unit="pages">150</citedRange>
</bibl>
The complete entry should include citedRange
(which we add by hand). And maybe it's possible to strip the two title
-elements inside the entry?
@mMoliere Updated. Please test and close.
@wsalesky I think we are almost there but there are the following bugs:
@mMoliere This 'ghost field' is not showing up on my local version, can you make sure your schemas are all up to date? (let me know if everything is up to date and you are still seeing it, I will do some troubleshooting.) The other issue should be resolved in the srophe application. See the pull request above.
@wsalesky There are two issues connected to the Zotero links:
When I use the lookup feature I can't find any title. I suppose to that database was lost when I had to set up the apps again on our server. I was not able to find information in our past communication how I can establish this connection.
The
bibl
element displays a text field for which the schema can't account for. It is supposed to just contain three child elements (ptr
,title
andcitedRange
). This ghostly field displays the content of these fields. How can we make it go away?This problem exists both in the manuscript and in the person forms.
Here is an example:
And here is the schema for
bibl
: https://github.com/majlis-erc/manuForma/blob/451208a17fa32fe9674ed84b879387b530a8aba0/forms/schemas/mss-accMat.xml#L122