OAI-PMH Record Writer
category |
VuFind |
---|---|
package |
Harvest_Tools |
author |
Demian Katz demian.katz@villanova.edu |
license |
http://opensource.org/licenses/gpl-2.0.php GNU General Public License |
link |
Wiki |
__construct(\VuFindHarvest\RecordWriterStrategy\RecordWriterStrategyInterface $strategy, \VuFindHarvest\OaiPmh\RecordXmlFormatter $formatter, array $settings = array())
array
Configuration settings
extractID(object $record) : string
object
SimpleXML record.
string
The ID value.
getBasePath() : string
string
normalizeDate(string $date) : integer
string
Date (ISO-8601 or YYYY-MM-DD HH:MM:SS)
integer
Unix timestamp (or false if $date invalid)
write(object $records) : integer
object
SimpleXML records.
integer
writeHarvestedIdsLog(array $harvestedIds) : void
Throws |
|
---|
array
Harvested IDs
harvestedIdLog : string|boolean
var |
---|
string|boolean
idPrefix : string
var |
---|
string
idSearch : array
var |
---|
array
idReplace : array
var |
---|
array
recordFormatter : \VuFindHarvest\OaiPmh\RecordXmlFormatter
strategy : \VuFindHarvest\RecordWriterStrategy\RecordWriterStrategyInterface