内島様
ちょうどOpenDOARのデータを利用するためのAPIが公開されたという
ニュースが流れてますね。
スクリプトが書ける人は何か面白いことができるかも。
栗山 正光
常磐大学人間科学部現代社会学科
〒310-8585 水戸市見和1-430-1
Apologies for cross-posting
PRESS RELEASE
OpenDOAR, as a SHERPA project, is pleased to announce the release of an
API that lets developers use OpenDOAR data in their applications. It is
a machine-to-machine interface that can run a wide variety of queries
against the OpenDOAR Database and get back XML data. Developers can
choose to receive just repository titles & URLs, all the available
OpenDOAR data, or intermediate levels of detail. They can then
incorporate the output into their own applications and 'mash-ups', or
use it to control processes such as OAI-PMH harvesting.
The following example illustrates how the API works:
http://www.opendoar.org/tools/apidemonstrator.php
This makes the API request below for repositories holding French
language material, with the results sorted by country and repository
name:
http://www.opendoar.org/api.php?la=fr&show=basic&sort=co,rname
The resultant XML is then processed locally for display using the
following PHP script, which simply inserts a customised XSL stylesheet
into the XML:
<?php
/* Run the API query and read the resultant XML into array $opendoar()
*/
$opendoar =
file("http://www.opendoar.org/api.php?la=fr&show=basic&sort=co,rname");
/* Output a MIME header and the first line of the XML output */
header('Content-type: text/xml');
echo $opendoar[0];
/* Insert the link for the Style Sheet */
echo "<?xml-stylesheet type=\"text/xsl\" href=\"apidemonstrator.xsl\"
?>\n";
/* Output the rest of the XML stream */
for ($i=1; $i<count($opendoar); $i++) {
echo $opendoar[$i];
};
?>
The inserted stylesheet -
http://www.opendoar.org/tools/apidemonstrator.xsl
* Adds custom fixed HTML text - translated into French
* Uses a CSS stylesheet to render the results using the local visual
style
* Adds an equivalent OpenDOAR chart image
* Displays data for selected XML elements
This is just one example of the many uses to which the API can be put.
Three experimental applications were created by external collaborators
during the prototype stage, including the Google Maps mash-up
Repository66 (http://www.repository66.org/). These examples are detailed
in the full online description of the API at,
www.opendoar.org/tools/api.html, where full technical documentation can
also be found.
Background Information
OpenDOAR is a continuing project hosted at the University of Nottingham
under the SHERPA Partnership. OpenDOAR maintains and builds on a
quality-assured list of the world's Open Access Repositories. OpenDOAR
acts as a bridge between repository administrators and the service
providers who make use of information held in repositories to offer
search and other services to researchers and scholars worldwide.
A key feature of OpenDOAR is that all of the repositories we list have
been visited by project staff, tested and assessed by hand. We currently
decline about a quarter of candidate sites as being broken, empty, out
of scope, etc. This gives a far higher quality assurance to the listings
we hold than results gathered by just automatic harvesting. OpenDOAR has
now surveyed over 1,100 repositories, producing a classified Directory
of over 800 freely available archives of academic information.
For more information, go to the OpenDOAR site at
http://www.opendoar.org/.
OpenDOAR gratefully acknowledges the generous support of its funders;
The Open Societies Institute, the Joint Information Systems Committee,
the Consortium of Research Libraries and SPARCEurope
Peter Millington
SHERPA Technical Development Officer
Greenfield Medical Library, University of Nottingham, Queen's Medical
Centre, Nottingham, NG7 2UH, England
Phone: +44 (0)115 84 68481
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.
----- Original Message -----
Cc: <drf @ lib.hokudai.ac.jp>
Sent: Thursday, April 19, 2007 5:17 PM
Subject: [drf 0719] Re: 名古屋大学附属図書館研究年報5号刊行
> 谷藤様
>
> 金沢大学の内島と申します。
>
> グラフですが、下記の2つのサイト(イギリスで運営)でこのサイトに登録している
> リポジトリの棒グラフを世界、国別、コンテンツタイプ別などで出力するツールを提供
> しています。ただし、サイトへの登録は任意ですので、全てのリポジトリを網羅してい
> るわけではありません。日本はどちらも20台の登録にとどまっています。
>
> OpenDOAR
> http://www.opendoar.org/find.php?format=charts
> ROAR
> http://roar.eprints.org/index.php?action=generate_chart&chart_type=stacked
>