<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
        {font-family:Helvetica;
        panose-1:2 11 6 4 2 2 2 2 2 4;}
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;}
p.msonormal0, li.msonormal0, div.msonormal0
        {mso-style-name:msonormal;
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;}
p.msochpdefault, li.msochpdefault, div.msochpdefault
        {mso-style-name:msochpdefault;
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Calibri",sans-serif;}
span.e-mailstlus17
        {mso-style-name:e-mailstlus17;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
span.EmailStyle21
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:#1F497D;}
span.html-attribute-name
        {mso-style-name:html-attribute-name;}
span.html-attribute-value
        {mso-style-name:html-attribute-value;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;
        font-family:"Calibri",sans-serif;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body bgcolor="white" lang="EN-GB" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal"><span style="color:#1F497D;mso-fareast-language:EN-US">Hi Andras,
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D;mso-fareast-language:EN-US">If you look in the source of a search results page you will see a set of &#8216;alternate&#8217; links that provide exports in all the formats available on the server. So this one for example,
 following a search for type=video, gives a service endpoint for exporting that set of records as EprintsXML<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D;mso-fareast-language:EN-US"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="font-size:13.5pt;font-family:&quot;Courier New&quot;;color:#881280">&lt;link
</span><span class="html-attribute-name"><span style="font-size:13.5pt;font-family:&quot;Courier New&quot;">rel</span></span><span style="font-size:13.5pt;font-family:&quot;Courier New&quot;;color:#881280">=&quot;</span><span class="html-attribute-value"><span style="font-size:13.5pt;font-family:&quot;Courier New&quot;">alternate</span></span><span style="font-size:13.5pt;font-family:&quot;Courier New&quot;;color:#881280">&quot;
</span><span class="html-attribute-name"><span style="font-size:13.5pt;font-family:&quot;Courier New&quot;">href</span></span><span style="font-size:13.5pt;font-family:&quot;Courier New&quot;;color:#881280">=&quot;</span><a href="http://researchonline.lshtm.ac.uk/cgi/search/archive/advanced?cache=&amp;exp=0%7C1%7C-date%2Fcreators_name%2Ftitle%7Carchive%7C-%7Ctype%3Atype%3AANY%3AEQ%3Avideo%7C-%7Ceprint_status%3Aeprint_status%3AANY%3AEQ%3Aarchive%7Cmetadata_visibility%3Ametadata_visibility%3AANY%3AEQ%3Ashow&amp;output=XML&amp;_action_export_redir=1" target="_blank"><span style="font-size:13.5pt;font-family:&quot;Courier New&quot;">?cache=&amp;amp;exp=0%7C1%7C-date%2Fcreators_name%2Ftitle%7Carchive%7C-%7Ctype%3Atype%3AANY%3AEQ%3Avideo%7C-%7Ceprint_status%3Aeprint_status%3AANY%3AEQ%3Aarchive%7Cmetadata_visibility%3Ametadata_visibility%3AANY%3AEQ%3Ashow&amp;amp;output=XML&amp;amp;_action_export_redir=1</span></a><span style="font-size:13.5pt;font-family:&quot;Courier New&quot;;color:#881280">&quot;
</span><span class="html-attribute-name"><span style="font-size:13.5pt;font-family:&quot;Courier New&quot;">type</span></span><span style="font-size:13.5pt;font-family:&quot;Courier New&quot;;color:#881280">=&quot;</span><span class="html-attribute-value"><span style="font-size:13.5pt;font-family:&quot;Courier New&quot;">application/vnd.eprints.data&#43;xml;
 charset=utf-8</span></span><span style="font-size:13.5pt;font-family:&quot;Courier New&quot;;color:#881280">&quot;
</span><span class="html-attribute-name"><span style="font-size:13.5pt;font-family:&quot;Courier New&quot;">title</span></span><span style="font-size:13.5pt;font-family:&quot;Courier New&quot;;color:#881280">=&quot;</span><span class="html-attribute-value"><span style="font-size:13.5pt;font-family:&quot;Courier New&quot;">EP3
 XML</span></span><span style="font-size:13.5pt;font-family:&quot;Courier New&quot;;color:#881280">&quot; /&gt;
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:13.5pt;font-family:&quot;Courier New&quot;;color:#881280"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="font-size:13.5pt;font-family:&quot;Courier New&quot;;color:#881280">Something like that would give you a template for building your service requests, perhaps?&nbsp; There&#8217;s one for each of the export formats available in the dropdown on the
 search results page<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:13.5pt;font-family:&quot;Courier New&quot;;color:#881280"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="font-size:13.5pt;font-family:&quot;Courier New&quot;;color:#881280">Andy</span><span style="color:#1F497D;mso-fareast-language:EN-US"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D;mso-fareast-language:EN-US"><o:p>&nbsp;</o:p></span></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span lang="EN-US">From:</span></b><span lang="EN-US"> eprints-tech-bounces@ecs.soton.ac.uk [mailto:eprints-tech-bounces@ecs.soton.ac.uk]
<b>On Behalf Of </b>Liam Green-Hughes<br>
<b>Sent:</b> 16 June 2016 11:17<br>
<b>To:</b> eprints-tech@ecs.soton.ac.uk<br>
<b>Subject:</b> Re: [EP-tech] Can EPrints provide a web service interface for other web servers?<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p><span style="font-family:&quot;Calibri&quot;,sans-serif;color:black">Hi Andras,<o:p></o:p></span></p>
<p><span style="font-family:&quot;Calibri&quot;,sans-serif;color:black"><o:p>&nbsp;</o:p></span></p>
<p><span style="font-family:&quot;Calibri&quot;,sans-serif;color:black">One option could be to use the OAI-PMH interface?
<a href="https://[your">https://[your</a>&nbsp;repository]/cgi/oai2&nbsp;You might have to harvest the data into some sort of index though. Another option could be to modify an RSS feed URL for a search query with the search you want. That would give you a fairly easy
 XML format with the search results to read.<o:p></o:p></span></p>
<p><span style="font-family:&quot;Calibri&quot;,sans-serif;color:black"><o:p>&nbsp;</o:p></span></p>
<p><span style="font-family:&quot;Calibri&quot;,sans-serif;color:black">Regards<o:p></o:p></span></p>
<p><span style="font-family:&quot;Calibri&quot;,sans-serif;color:black">Liam<o:p></o:p></span></p>
<p><span style="font-family:&quot;Calibri&quot;,sans-serif;color:black"><o:p>&nbsp;</o:p></span></p>
<div id="Signature">
<div name="divtagdefaultwrapper">
<div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,sans-serif;color:black"><o:p>&nbsp;</o:p></span></p>
<div>
<div>
<p class="MsoNormal"><span style="font-size:14.0pt;font-family:&quot;Helvetica&quot;,sans-serif;color:black">Liam Green-Hughes</span><span style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,sans-serif;color:black"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,sans-serif;color:black">Library Systems Developer<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,sans-serif;color:black">Learning and Research Development<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,sans-serif;color:black">University of Kent<o:p></o:p></span></p>
</div>
</div>
</div>
</div>
</div>
</div>
<p class="MsoNormal"><span style="font-size:12.0pt;color:black"><o:p>&nbsp;</o:p></span></p>
<div>
<div class="MsoNormal" align="center" style="text-align:center"><span style="font-size:12.0pt;color:#212121">
<hr size="2" width="98%" align="center">
</span></div>
<div id="divRplyFwdMsg">
<p class="MsoNormal"><b><span style="color:black">From:</span></b><span style="color:black">
<a href="mailto:eprints-tech-bounces@ecs.soton.ac.uk">eprints-tech-bounces@ecs.soton.ac.uk</a> &lt;<a href="mailto:eprints-tech-bounces@ecs.soton.ac.uk">eprints-tech-bounces@ecs.soton.ac.uk</a>&gt; on behalf of Biczó András &lt;<a href="mailto:biczo.andras@aki.gov.hu">biczo.andras@aki.gov.hu</a>&gt;<br>
<b>Sent:</b> 15 June 2016 16:35<br>
<b>To:</b> <a href="mailto:eprints-tech@ecs.soton.ac.uk">eprints-tech@ecs.soton.ac.uk</a><br>
<b>Subject:</b> [EP-tech] Can EPrints provide a web service interface for other web servers?</span><span style="font-size:12.0pt;color:#212121">
<o:p></o:p></span></p>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;color:#212121">&nbsp;<o:p></o:p></span></p>
</div>
</div>
<div>
<div>
<p class="MsoNormal"><span style="color:#212121">Dear List Members,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#212121">&nbsp;<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#212121">Do you know if there is a way an EPrints repository can be configured so that it can be used by another server to extract data from the repository automatically?<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#212121">(That other server might be a web server collecting search results for visitors from a couple of sources, one of them being the EPrints repository.)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#212121">&nbsp;<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#212121">If the feature described above is not built into EPrints right away then is there a recommended way to implement this feature as a web service? (SOA)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#212121">&nbsp;<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#212121">Thanks,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#212121">Andras Biczo<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#212121">programmer<o:p></o:p></span></p>
</div>
</div>
</div>
</div>
</body>
</html>