elifesciences / refract

Convert NLM XML files into the Lens JSON
Other
9 stars 3 forks source link

Conversion of LB articles #8

Open michael opened 11 years ago

michael commented 11 years ago

I'd like to expose some on-the-fly converted LB articles for the demo set of articles we use in dev-mode.

So if you checkout the latest Lens mothership, run the server and enter

http://localhost:4000/convert/https%3A%2F%2Fwww.landesbioscience.com%2Farticle%2F25402%2Ffull_text_xml

you should get the converted JSON, but currently it silently dies.

It works for eLife docs such as:

http://localhost:4000/convert/https%3A%2F%2Fs3.amazonaws.com%2Felife-cdn%2Felife-articles%2F00005%2Felife00005.xml

Not sure how hard it is to get there.. maybe just have a quick look. Rebecca would like to use the official refract for LB articles instead of their own converter and help tweaking it.

ivangrub commented 11 years ago

I am very close to having it back to where we were before the rewrite. I am still having issues getting anything to render though. On Aug 26, 2013 6:10 AM, "Michael Aufreiter" notifications@github.com wrote:

I'd like to expose some on-the-fly converted LB articles for the demo set of articles we use in dev-mode.

So if you checkout the latest Lens mothership, run the server and enter

http://localhost:4000/convert/https%3A%2F%2Fwww.landesbioscience.com%2Farticle%2F25402%2Ffull_text_xml

you should get the converted JSON, but currently it silently dies.

It works for eLife docs such as:

http://localhost:4000/convert/https%3A%2F%2Fs3.amazonaws.com%2Felife-cdn%2Felife-articles%2F00005%2Felife00005.xml

Not sure how hard it is to get there.. maybe just have a quick look. Rebecca would like to use the official refract for LB articles instead of their own converter and help tweaking it.

— Reply to this email directly or view it on GitHubhttps://github.com/elifesciences/refract/issues/8 .

michael commented 11 years ago

Don't worry about the rendering issues. I'll figure it out. Just try to provide all the data we need. I'll adapt the viewer on a case-by case basis.

Annotations for captions are not working atm. Will take care of it soon.