O3PO_Clockss
in package
Encapsulates the interface with the external service CLOCKSS.
Provides methods to interface with CLOCKSS.
Tags
Table of Contents
Methods
- ftp_upload_meta_data_and_pdf_to_clockss() : string
- Upload xml meta-data and pdf to CLOCKSS.
- generate_clockss_xml() : mixed
Methods
ftp_upload_meta_data_and_pdf_to_clockss()
Upload xml meta-data and pdf to CLOCKSS.
public
static ftp_upload_meta_data_and_pdf_to_clockss(string $clockss_xml, string $pdf_path, string $remote_filename_without_extension, string $clockss_ftp_url, string $clockss_username, string $clockss_password) : string
Uploads xml meta-data and pdf to CLOCKSS for permanent archiving.
Parameters
- $clockss_xml : string
-
The xml encoded meta-data to upload.
- $pdf_path : string
-
Path to the local fulltext pdf
- $remote_filename_without_extension : string
-
Filename without extension under which the files are to be deposited on the remore server
- $clockss_ftp_url : string
-
The url of the CLOCKSS ftp server.
- $clockss_username : string
-
The CLOCKSS username
- $clockss_password : string
-
The CLOCKSS password
Tags
Return values
string —Description of what happened during the upload.
generate_clockss_xml()
public
static generate_clockss_xml(mixed $eissn, mixed $journal, mixed $journal_title, mixed $publisher, mixed $title, mixed $title_mathml, mixed $doi, mixed $number_authors, mixed $author_surnames, mixed $author_given_names, mixed $author_affiliations, mixed $affiliations, mixed $date_published, mixed $volume, mixed $pages, mixed $license_name, mixed $license_url, mixed $abstract_mathml, mixed $abstract) : mixed
Parameters
- $eissn : mixed
- $journal : mixed
- $journal_title : mixed
- $publisher : mixed
- $title : mixed
- $title_mathml : mixed
- $doi : mixed
- $number_authors : mixed
- $author_surnames : mixed
- $author_given_names : mixed
- $author_affiliations : mixed
- $affiliations : mixed
- $date_published : mixed
- $volume : mixed
- $pages : mixed
- $license_name : mixed
- $license_url : mixed
- $abstract_mathml : mixed
- $abstract : mixed