DOCX to JATS XML converter

Thanks a lot @anupent
I think I did it

image

Any issue from the process?

Hi @Vitaliy and @anupent
I have converted the docx to xml then uploaded in galley. Some issues come up

  1. When click xml, the page loads still (Loading article…)

http://jurnalbeta.ac.id/index.php/betaJTM/article/view/83/94

  1. The Reference doesn’t show

http://jurnalbeta.ac.id/index.php/betaJTM/article/view/83#title0

Here is xml file

https://drive.google.com/open?id=0B-13jpi8inZPdTRxVGIwRUdKOHc

Thanks a lot in advance for ur help

Dear @kawahyu,
There is a lot of work to do even after this.

Be prepared to spend some sleepless night and keep some medicines for headache (just kidding).

Now you need to edit as required by your elens. I do not have permission for your google drive files.

Can you format your xml file’s front as in the file I have attached below? And you have to do it manually. I do not know a way to automate this.

https://mega.nz/#!VWJBSIwD!ETUyyq-eMdykSchMFfjuuH_dVS_YD7GxHxkeMAPnO-A

Regards
@anupent

1 Like

You are right @anupent, I have got a headache, hehe.

The Reference is solved. However, I could not have proper xml for Edited Books

http://jurnalbeta.ac.id/index.php/betaJTM/article/view/83#title5
Reference 2 and 15

Here is the xml

image

Still, xml page shows Loading article…

http://jurnalbeta.ac.id/index.php/betaJTM/article/view/83/94

Wish @Vitaliy and @anupent can give hint to solve this

You need to update your elens plugin. Try downloading the latest one and retry. It will work. Here you go: GitHub - ajnyga/lensGalley: Galley viewer plugin integrating eLife Lens for OJS 3.0: fork using the latest develop branch of Lens

Edit your person-group for editor as
<person-group person-group-type="editor"> <name>surname and given name goes inside here </name> </person-group>

Also remove (ed.) form source and add
<edition>3</edition>

I am not sure about the latest lens viewer but I have been using one modified by @ajnyga. It helps me to upload pictures in the galley as attachment.

Edit: if you need help on any xml format, visit Journal Archiving and Interchange Tag Library NISO JATS Draft Version 1.1d3

Regards
@anupent

Yep, there is a need to update eLens plugin, from @ajnygas or elifelenss repository.

Also tables after transformation need editing. td and th elements should have colspan and rowspan` attributes for proper rendering.

Thanks @Vitaliy @varshilmehta @anupent
I have replace the old elens plugin through plugin/generic. But it keeps loading.
How I change table codes? to have colspan and rowspan

Here is the codes for one of the tables

image

Your table 1 and table 2 look ok.
Your table 3 needs modification. There you need to add colspan=“2” to merge two cells columnwise to make it look good.

If you give me access to your xml file, I may see why it is not be viewed through elens

@anupent

Try deleting the cache by pressing alt + f5 of the browser. See if it works
then.

Hi @varshilmehta
After deleting the caches, it goes blank

Here is the xml

you file works fine. please see the attachment below
image
image
image

You should not have properly installed the elens.
Can you double check it?

@anupent

According to text of your error in the browser:

Uncaught ReferenceError: translate is not defined

Try to add translation for your language here: lensGalley/locale at master · ajnyga/lensGalley · GitHub

Hi @Vitaliy
Does add translation mean as follows:
I add folder namely id_ID and locale.xml in Plugin/Generic/LensGalley/Locale and translate some in locale like

image

Is there anything to do?

@anupent I deleted the previous and install it again, still same result

Thanks all for your help

XML file seems to work fine. You see my previous post.
So, problem should be in the elens plugin or ??? I have no idea… clueless…

@anupent

Yup @anupent
Thank you for your help. If you could check the installation I can PM the credentials for cpanel and web

After replacing the files of elens, try to do the follwoing-
disable the plugin. Delete the cahe. Reload the website. Surf dor 5 mins. Re-enable the plugin. Delete the cache again.

1 Like

Yep.

@ajnyga has added a global variable for translating back button. Maybe problem is there (translation needed). Another option is what @varshilmehta tells you about the cache. Also ensure that you have deleted old lens files and copied new.

Sorry all,
It still show a blank page
Maybe @ajnyga has the idea to resolve this

The error reported in my cpanel is as follow

[Sun Aug 06 10:17:32.714540 2017] [autoindex:error] [pid 7523] [client 188.226.165.204:58944] AH01276: Cannot serve directory /home/k2542002/public_html/: No matching DirectoryIndex (index.html.var,index.htm,index.html,index.shtml,index.xhtml,index.wml,index.perl,index.pl,index.plx,index.ppl,index.cgi,index.jsp,index.js,index.jp,index.php4,index.php3,index.php,index.phtml,default.htm,default.html,home.htm,index.php5,Default.html,Default.htm,home.html) found, and server-generated directory index forbidden by Options directive

Maybe it refers to blank page for xml that I open

It is working on your site. You need to delete your cache of the browser and it will show on your browser as well. IMG_1096