PHP Classes

File: example.php

Recommend this page to a friend!
  Classes of Andrew Milsted   eprints Fetch   example.php   Download  
File: example.php
Role: Example script
Content type: text/plain
Description: example use
Class: eprints Fetch
Retrieve and parse eprints metadata
Author: By
Last change:
Date: 17 years ago
Size: 829 bytes


Class file image Download


    EprintsFetch - A Toolkit for obtaing metadata from the Erint OAI2 interface

    Copyright (c) 2006 University of Southampton and


//ids of eprints to fetch
$eprintids = array(20858, 17426, 20900,20942,20982);

//start a fetch
$fetch = new eprintFetch();

// Eprint URL - eg
$fetch->config_eprinturl = "";

// oai identifier prefix - eg
$fetch->config_eprintoai = "";

//Runs through the eprints
foreach($eprintids as $eprintid)

//to retrive the results