Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

References link not work #84

Open
nicola-posa opened this issue Mar 22, 2023 · 8 comments
Open

References link not work #84

nicola-posa opened this issue Mar 22, 2023 · 8 comments

Comments

@nicola-posa
Copy link

Hi Vitaliy,

I noticed that in the HTML (https://e-medjournal.com/index.php/psp/article/view/213) file all the links with their bibliographies don’t redirect you to the bibliography at the end of the page.
I tried your fantastic plug-in on my OJS with your XML file but even in this case it doesn’t work.
It seems like on the list of the references at the end of the page there isn’t any ID that associates the bibliography number to its reference in the text.
Should anything else be done to make sure it works?

@Vitaliy-1
Copy link
Owner

Hi @nicola-posa,

Yes, this is a known issue. As far as I remember that was related to how citations were handled in OJS 3.3. Nevertheless, it's be possible to fix it for the next OJS release

@ranaasif
Copy link

ranaasif commented Apr 13, 2023

Hello @Vitaliy-1 I can see abstract and references in your example
https://e-medjournal.com/index.php/psp/article/view/213
but I have used different jats xml only < body > section from xml shows on the article page, < front > and < back > sections are always not parsed, Please help me I struggling with this last couple of days

@Vitaliy-1
Copy link
Owner

Hi @ranaasif,

Metadata, like abstract, authors, DOI, etc., comes from OJS.
References are parsed separately from the body, in the Publication -> references
References

Also check the plugin settings to set the citation style

@ranaasif
Copy link

@Vitaliy-1 Thank you for your answer. Now I have one another issue hopefully there will be some configuration in ojs to fix this. When references in my XML contains non-ascii characters for example

České Budějovice : Biometris, 499 p. 2002.

then

Retrieve references from JATS XML

Not works and gives this error in console

Slim Application Error
A website error has occurred. Sorry for the temporary inconvenience.

It seems to me it not able to save non-asci chracters in DB. Can this be fixed in any way please?

@felixhelix
Copy link

felixhelix commented Oct 17, 2023

Hi @Vitaliy-1 ,
thanks for this great plugin: I want to use it for OPS, and already with some minor changes made it produce the fulltext HTML on the preprint page :)
However, some things do not quite work, even not in OJS 3.3.0.15 (the LTS Version):

Can you help with that?

I'm using OJS 3.3.0.15 with JatsParser 2.1.9.4

Yours

Felix

@Vitaliy-1
Copy link
Owner

Vitaliy-1 commented Oct 17, 2023

Hi @felixhelix,

there are no references included, and no way to select the source of references (neither is there a choice on the plugins settings page, nor on the article page before publishing

After the text is parsed, in the publication menu under references, should appear the option to parse also references from JATS.
jats
Ahh, I see I've already included example in this thread. Do you see that option after JATS is parsed?

how does one include images? In the example file mentioned (https://github.com/Vitaliy-1/JATSParser/blob/main/examples/example.xml) there are two images, but how would I include them?

You'll need to attach the image and give it the same name in OJS as in the reference to it in the JATS file.

@felixhelix
Copy link

Thanks @Vitaliy-1 for the quick reply!
For the references to work I had to check "Enable references metadata" in the workflow metadata settings. Now they are on the articles main page :) But one has to be careful, because if one first creates the galley before the references are created the pdf does not contain them.
Also the figures work now: I overlooked the option to load dependent files.
The figures do not work with OPS, however. But I guess that is maybe just an issue with path names. I will figure that out :)

Yours,
Felix

@juanCure
Copy link

Hi @nicola-posa,

Yes, this is a known issue. As far as I remember that was related to how citations were handled in OJS 3.3. Nevertheless, it's be possible to fix it for the next OJS release

Hi @Vitaliy-1 Is it possible to manage this as a patch for OJS 3.3? I would like to help with that, but I don't know where to start, could you give me some idea how to add this functionality. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants