Ticket #183 (closed enhancement: fixed)

Opened 2 years ago

Last modified 1 year ago

Extract image list during ingest

Reported by: ronald Assigned to: ronald
Priority: unassigned Milestone:
Component: topaz Version: 0.5-SNAPSHOT
Keywords: article ingest Cc:
Blocking: Blocked By:

Description

Steve's original request:

In the current PLoS journals, they have the ability to display the images and figures of articles in a separate window along with title, caption, etc. In this window, you are also able to navigate to the previous and next figure in the article. We need to at least replicate this functionality, if not improve upon it (We are thinking the ability to display a thumbnail of the figures a group at a time would be nice). My question is what do you think the best way to is to accomplish this on the back end side?

Since we don't have the time right now to figure out a proper way for apps to store and retrieve arbitrary meta-data, the following temporary hack will be done:

  • ingest will extract out the list of images and put them in an ordered list.
  • an api method will be added to return this list

Dependency Graph

Change History

10/02/06 16:27:31 changed by ronald

  • status changed from new to assigned.

10/03/06 10:58:11 changed by stevec

Will it only be an ordered list of images, or will it also include the other metadata (name, caption, etc)?

10/03/06 14:47:51 changed by ronald

What do you need? Since this a temporary hack, I can basically hack in whatever you need.

10/03/06 22:44:07 changed by stevec

It would be great if we can have the information within the <fig> tags: label, caption, filename (or DOI, I guess). I just looked at the other journals, and it seems as if tables are treated as a separate class of objects. Assuming PLoS ONE will be getting images for tables as well, this hack would have to extend to tables as well. Is that OK?

10/15/06 19:26:45 changed by ronald

(In [787]) Addresses #16 and #183: many fixes and cleanups:

  • Cleaned up rdf generation: all rdf is generated in one place now, and a filter is used to split dc/non-dc for fedora ingest
  • Ensure no unsupported xsd datatypes are ingested into fedora.
  • dc:description now contains a copy of the abstract contents (i.e. including all the elements), instead of just the string-value.
  • Fixed href-to-doi for relative links
  • Added more types to variables
  • Use xsl:sequence instead of xsl:copy-of in most places; this allows for better node tests using 'is' instead of '='

10/15/06 19:57:10 changed by ronald

  • status changed from assigned to closed.
  • resolution set to fixed.

(In [788]) Closes #183: Added listSecondaryObjects() method to articles. The result is a list of all the objects that were ingested as part of the article, in document order (first reference); each one contains the title (label) and description (caption) from the element (or parent of) that links to the object (if present), together with the list of representations.

The list may include objects from <graphic>'s, <media>'s, <chem-struct>'s, <supplementary-material>'s, etc. Furthermore these may be part of a <fig>, <table-wrap>, <disp-formula>, etc.

10/15/06 20:00:10 changed by ronald

Regarding comment from 10/03/06 22:44:07: yes, you will get tables as well, assuming they're stored as objects and not inline html tables. label and caption are present, as well as the doi of course.

10/29/07 21:12:53 changed by

  • milestone deleted.

Milestone october16 deleted