Hello!
I am writing an AGPL implementation using MODS files to store metadata
about books. One of its features is the possibility for the color of
(different parts of) the front cover of these books to be used as a
criterion to find the books. I have not yet tested my implementation on a
larger scale and the multilingual GUI still needs major improvements.
I send this e-mail to the list to ask you whether you have some comments
about how I (as of today) store this cover-related information in the MODS
files. A highly simplified (but hopefully still valid) example of such a
MODS file is available at:
http://www.acc.umu.se/home/saasha/example.mods
There, I use the (high or middle resolution) cover as a relatedItem
(type="constituent") to the book and a low resolution (3 x 3 RGB pixels, 8
bits per chanel) image as a relatedItem (type="otherVersion") to the book
cover. I also apply the book cover classification (3 x 3 indexed pixels
from a palette consisting of up to 9 colors) as a relatedItem to the low
resolution image. This classification may be used as a criterion to find
the books, but it is included within the relatedItem element and therefore
(as of today) not directly applied to the book; I am aware that this
choice of mine may be questionable. The text I use as a value of the
displayLabel attributes may also need to be modified.
I would be very grateful if you have comments about the structure I use
today (which may be modified before my code is released under the AGPL).
Removing the greater-than and less-than characters (which cause problems
with some e-mail readers) as well as some obvious elements, I write here a
short description of the structure I use in these MODS files:
mods
relatedItem type="constituent"
location
url displayLabel="Front cover"
http://example.org/path/to/cover.jpg
/url
/location
relatedItem type="otherVersion"
location
url displayLabel="URL"
data:image/x-portable-pixmap,P3%203%203%20255%20121%2047%2047%20171%2023%2039%20171%206%2041%2061%2074%2086%20104%2064%2086%20193%2026%2046%2060%2044%2054%2086%2046%2057%20174%2010%2031
/url
/location
physicalDescription
extent
3x3px
/extent
internetMediaType
image/x-portable-pixmap
/internetMediaType
reformattingQuality
access
/reformattingQuality
/physicalDescription
/relatedItem
relatedItem type="otherVersion"
location
url displayLabel="URL"
data:image/png,%89PNG%0d%0a%1a%0a%00%00%00%0dIHDR%00%00%00%03%00%00%00%03%08%02%00%00%00%d9J%22%e8%00%00%00%29IDAT%08%1d%01%1e%00%e1%ff%00%79%2f%2f%ab%17%27%ab%06%29%00%3d%4a%56%68%40%56%c1%1a%2e%00%3c%2c%36%56%2e%39%ae%0a%1f%78%d4%07%b1%51%21%8c%73%00%00%00%00IEND%aeB%60%82
/url
/location
physicalDescription
extent
3x3px
/extent
internetMediaType
image/png
/internetMediaType
reformattingQuality
access
/reformattingQuality
/physicalDescription
classification authority="hue3x3grid" usage="primary"
0000350500
/classification
/relatedItem
/relatedItem
/mods
Thanks a lot for your comments and suggestions!
Regards!
SaaĊĦha,
|