On 4/12/10 5:04 PM, Andrew Hankinson wrote:
Certainly, but the hard part is knowing what you want MARC to look like
once it's in JSON. XML 2 JSON conversions generally need some "love" to
make the data meaningful on the JSON side (as attributes and such make a
1-to-1 conversion complicated--though there have been attempts at
general conversion scripts).
Couldn't you do MARC -> MARCXML -> JSON?
Once a JSON output format for MARC is done, then converting from MARCXML
to marc.json (or whatever) would be an "easy" first step.
On 2010-04-12, at 5:00 PM, Benjamin Young wrote:
On 4/12/10 4:47 PM, Ryan Eby wrote:
You could put your logs, marc records broken out by fields or
arrays/hashes (types in couchdb) in any of them but the approach each
takes would limit you (or empower you) differently.
Once there's a good marc2json script (and format) out there, it'd be grand to see marc
records dumped into CouchDB to allow them to be replicated between groups of librarians
(and even up to OpenLibrary). I'm still up for helping make that possible if anyone's
"into" that. :)