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

seq-Field not working #18

Open
errotu opened this issue Nov 3, 2021 · 3 comments
Open

seq-Field not working #18

errotu opened this issue Nov 3, 2021 · 3 comments

Comments

@errotu
Copy link

errotu commented Nov 3, 2021

Thank you for this great tool!

We are currently using it to migrate our journal to OJS. Unfortunately, it seems like the seq-Field does not have any effect. The articles appear unordered in OJS. I took a quick look into the generated xml-file and it seems like "seq" is always filled with a zero:

<seq>0</seq>

Is is possible that the converter currently ignores the value in the given xslx-file?

@ajnyga
Copy link
Owner

ajnyga commented Nov 8, 2021

hi!

Yes true, I usually order the sheet with Excel using the issueDatePublished and seq fields. The original plan was to do this automatically in the script but I recall having some issues with the excel library I am using which I could not solve. To put it simply, I forgot about this and have not bumped to the issue myself because do the ordering outside the script.

I will fix this probably, but can not promise a quick schedule. Probably when I upgrade this for OJS 3.3

@errotu
Copy link
Author

errotu commented Nov 8, 2021

Thank you for the quick reply!

Is the order in the Excel sheet taken into account while doing the XML conversion and later respected by OJS? I feel like there is no order at all (it actually even changes when I refresh the website) before I open the configuration and explicitly save one specific order.

@ajnyga
Copy link
Owner

ajnyga commented Nov 27, 2023

sorry i've missed this other question.

The order is saved to the xml. I am aware that there are cases where it seems like the order does not work, but this is a problem in the OJS import itself. Things that might affect it are for example the order of sections you have in journal settings. Also the issue order depends where you are checking it. If I remember correctly, the public issue archive will show the order based on the issueID if no other data is available and the internal archive for editors uses the datestamp. What I always do is that I save the order from Issues > Old Issues so that the one with datestamps is used also in the frontend.

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

2 participants