Print

Print


I checked out the Eclipse option and was not able to get much use out of it.
Maybe someone else will have better luck? It doesn't seem to align very well
with a library use case.

Josh Welker


-----Original Message-----
From: Code for Libraries [mailto:[log in to unmask]] On Behalf Of Ben
Companjen
Sent: Monday, December 09, 2013 11:14 AM
To: [log in to unmask]
Subject: Re: [CODE4LIB] Lorem Ipsum metadata? Is there such a thing?

Hi Josh,

Before you start coding:
http://stackoverflow.com/questions/17106/how-to-generate-sample-xml-documen
ts-from-their-dtd-or-xsd suggests that Eclipse can generate XML from an DTD
or XSD file. First try with the EAC XSD shows I need to try other options,
but it's promising.

(It's still an interesting problem to try to tackle yourself, of course.)

Ben

On 09-12-13 17:59, "Joshua Welker" <[log in to unmask]> wrote:

>It's hard-coded to generate the specific elements. But your way sounds
>a lot cleaner, so I might try to do that instead :) It will be more
>difficult initially but much easier once I start implementing other
>metadata formats.
>
>Josh Welker
>
>
>-----Original Message-----
>From: Code for Libraries [mailto:[log in to unmask]] On Behalf Of
>Ben Companjen
>Sent: Monday, December 09, 2013 10:52 AM
>To: [log in to unmask]
>Subject: Re: [CODE4LIB] Lorem Ipsum metadata? Is there such a thing?
>
>Cool!
>My first thought on this topic was: give the program an XML schema, and
>generate possible documents with the correct datatypes etc. (Something
>like that must exist somewhere, right?) Does it happen to work anything
>like that, or is it hardcoded to generate these specific elements?
>
>Ben
>
>On 09-12-13 17:27, "Joshua Welker" <[log in to unmask]> wrote:
>
>>Challenge accepted.
>>
>>http://library.ucmo.edu/dev/metadata-generator.php
>>
>>Obviously in the prototype phase, but it works. Only MODS is available
>>for now, and you can only select top-level elements (all child
>>elements of the top-level selections will be auto-generated). I will
>>try to expand it to more than just MODS. Admittedly, I know very
>>little about METS, so I will need some assistance if I am going to make
>>one of those.
>>
>>I'll eventually host this somewhere else once it's done, so don't
>>bookmark it.
>>
>>Josh Welker
>>Information Technology Librarian
>>James C. Kirkpatrick Library
>>University of Central Missouri
>>Warrensburg, MO 64093
>>JCKL 2260
>>660.543.8022
>>
>>-----Original Message-----
>>From: Code for Libraries [mailto:[log in to unmask]] On Behalf
>>Of Kevin S. Clarke
>>Sent: Sunday, December 08, 2013 12:26 PM
>>To: [log in to unmask]
>>Subject: Re: [CODE4LIB] Lorem Ipsum metadata? Is there such a thing?
>>
>>When I first read this, I was imagining not having to give it your
>>metadata but native support for most of our commonly used metadata
>>records... so the interface is: "Give me 100 MODS records" and it
>>spits that out... You could get fancy and say, "Give me X number of
>>METS records that wrap TIFFs and JPGs and that uses MODS, etc."
>>That's not as trivial as hooking into an lorem ipsum machine, but it'd
>>be pretty cool, imho.
>>
>>Kevin
>>
>>
>>On Sat, Dec 7, 2013 at 11:51 PM, Pottinger, Hardy J. <
>>[log in to unmask]> wrote:
>>
>>> Hi, I asked this on Google Plus earlier today, but I figured I'd
>>> better take this question here: my brain is trying to tell me that
>>> there's a service or app that makes "fake" metadata, kind of like
>>> "Lorem Ipsum" but you feed it your fields and it gives you nonsense
>>> metadata back. But, it looks right enough for testing. Yesterday, I
>>> had to make up about 50 rows of fake metadata to test some code that
>>> handles paging in a UI, and I had to make it all up by hand. This
>>> hurts my soul. Someone please tell me such a service exists, and
>>> link me to it, so I never have to do this again. Or else, I may just
>>> make such a service, to save us all. But I don't want to go coding
>>> some new service if it already exists, because that sort of thing is
>>> for chumps.
>>>
>>>
>>> --
>>> HARDY POTTINGER <[log in to unmask]> University of Missouri
>>> Library Systems http://lso.umsystem.edu/~pottingerhj/
>>> https://MOspace.umsystem.edu/
>>> "Making things that are beautiful is real fun." --Lou Reed
>>>