Thanks for the pointer, Pierre. You're right, the list seems a little
dated and the only PHP tool appears to be the one you mention,
OAIBiblio, but it looks useful and I'll certainly give it a go. What
would be nice, from this programmer's viewpoint, would be some PHP
classes to write out OAI-PMH XML data. There's a mention in the list of
PEAR::OAI but despite the title that's a Perl library and the site now
times out, sadly. A search of the PHP PEAR library for 'OAI' gives
nothing, similarly the usually useful www.phpclasses.org.
There must be code out there somewhere. OAIster harvests "1144
contributors" so that's over 1000 repositories that have implemented
OAI-PMH, some of which will use PHP. I'll keep hunting and report back
if I find anything.
Cheers
Fred
Fred Riley
Learning Technologist
School of Nursing, Midwifery and Physiotherapy, University of Nottingham
Vcard: http://www.nottingham.ac.uk/nursing/sonet/about/fr_uon.vcf
> -----Original Message-----
> From: The JISC CETIS MDR Special Interest Group
> [mailto:[log in to unmask]] On Behalf Of
> Gorissen,Pierre P.J.B.
> Sent: 14 July 2009 18:58
> To: [log in to unmask]
> Subject: Re: PHP classes to export OAI-PMH XML from mySQL?
>
> Hi Fred,
>
> The Tools-list at the OAI-PMH site lists a number of PHP
> implementations:
> http://www.openarchives.org/pmh/tools/tools.php
> Most of them don't look too actively maintained
> (http://www.ibiblio.org/oaibiblio/ was last updated in 2004
> and http://physnet.uni-oldenburg.de/oai/ in 2005) but since
> they support version 2 of OAI-PMH they probably at least
> offer a good starting point for your own implementation.
>
> Best regards,
>
> Pierre Gorissen
>
> -----Oorspronkelijk bericht-----
> Van: The JISC CETIS MDR Special Interest Group
> [mailto:[log in to unmask]] Namens Fred Riley
> Verzonden: dinsdag 14 juli 2009 17:45
> Aan: [log in to unmask]
> Onderwerp: PHP classes to export OAI-PMH XML from mySQL?
>
> I currently run a custom-built small-scale 'repository' of
> learning objects, a very basic interface to which is at
> http://www.nottingham.ac.uk/nursing/sonet/rlos/rlolist.php.
> It's a mySQL database queried by PHP scripts. I'd like to
> expose the learning object records in the database as a XML
> file for harvesting and/or SRU querying, but I really, really
> don't fancy writing the PHP code from scratch and studying
> the OAI-PMH and SRU protocols in eye-scrunching
> suicide-inducing detail. As plenty of repositories expose
> their records this way I figure that there must be PHP
> libraries/classes which I can use, so could someone here
> point me towards them. And perhaps to something like "A PHP
> developers guide to exposing data in XML"?
>
> I suspect that this might be the wrong list to ask, but I'm
> reluctant to post the query to web-support as although folk
> there know plenty about PHP/mySQL they'll be mostly ignorant
> of metadata protocols like OIA-PMH, SRU, CDM and bar.
>
> Cheers
>
> Fred
>
> Fred Riley
> Learning Technologist
> School of Nursing, Midwifery and Physiotherapy, University of
> Nottingham
> Vcard: http://www.nottingham.ac.uk/nursing/sonet/about/fr_uon.vcf
>
> This message has been checked for viruses but the contents of
> an attachment may still contain software viruses, which could
> damage your computer system:
> you are advised to perform your own checks. Email
> communications with the University of Nottingham may be
> monitored as permitted by UK legislation.
>
> Op deze e-mail zijn de volgende voorwaarden van toepassing:
> http://www.fontys.nl/disclaimer
> The above disclaimer applies to this e-mail message.
>
This message has been checked for viruses but the contents of an attachment
may still contain software viruses, which could damage your computer system:
you are advised to perform your own checks. Email communications with the
University of Nottingham may be monitored as permitted by UK legislation.
|