elifesciences / refract

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

Image group property #6

Closed michael closed 11 years ago

michael commented 11 years ago

What was the "group" property of images again? I wonder if I should consider it in the new schema definitions.

{
  "type": "image",
  "id": "image_fig2",
  "label": "Figure 2.",
  "object_id": "F2",
  "group": [
    "parent",
    null
  ],
  "doi": "http://dx.doi.org/10.7554/eLife.00311.005",
  "graphic_id": "elife00311f002",
  "url": "http://elife.elifesciences.org/content/elife/1/e00311/F2.medium.gif",
  "large_url": "http://elife.elifesciences.org/content/elife/1/e00311/F2.large.jpg"
}
ivangrub commented 11 years ago

That is a pseudo hack for the eLife images when dealing with how to reconstruct the URL. By putting all of the images into the S3 though I will end up dropping that property.

On Tue, Aug 6, 2013 at 12:36 PM, Michael Aufreiter <notifications@github.com

wrote:

What was the "group" property of images again? I wonder if I should consider it in the new schema definitions.

{ "type": "image", "id": "image_fig2", "label": "Figure 2.", "object_id": "F2", "group": [ "parent", null ], "doi": "http://dx.doi.org/10.7554/eLife.00311.005", "graphic_id": "elife00311f002", "url": "http://elife.elifesciences.org/content/elife/1/e00311/F2.medium.gif", "large_url": "http://elife.elifesciences.org/content/elife/1/e00311/F2.large.jpg"}

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