On May 29, 2007, at 4:09 PM, Andrew Nagy wrote:
>> Does anybody here know of a MARC2OAI program?
>
> I have a nightly cron script that gets any new/modified marc
> records from the past 24 hours out of the catalog and then runs
> marc2xml on the dump file. Then I have a small script that breaks
> up the large marcxml files into individual xml files and imports
> them into SOLR! I then can use an XSL stylesheet such as the LOC's
> marc2oai to produce an OAI document or the marc2rdf, etc on the
> full marcxml files (since solr doesn't have the original record).
> I have yet to incorporate my OAI server code into this, but since
> it is already written, it would be a fairly easy merge.
Fun. I was thinking of doing something in Perl but no never mind. Any
system that would the the following would work for me:
1. Export (to a file system) MARC data in communications format
2. Do "magic".
3. Make MARC records accessible via OAI.
Such an implementation could be operating system independent,
standards compliant, and vendor-neutral.
--
Eric Morgan
|