Refbase update_2021-01-28_15_58
This commit is contained in:
50
import/bibutils/import_bib2refbase.php
Normal file
50
import/bibutils/import_bib2refbase.php
Normal file
@@ -0,0 +1,50 @@
|
||||
<?php
|
||||
// Project: Web Reference Database (refbase) <http://www.refbase.net>
|
||||
// Copyright: Matthias Steffens <mailto:refbase@extracts.de> and the file's
|
||||
// original author(s).
|
||||
//
|
||||
// This code is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY. Please see the GNU General Public
|
||||
// License for more details.
|
||||
//
|
||||
// File: ./import/bibutils/import_bib2refbase.php
|
||||
// Repository: $HeadURL: file:///svn/p/refbase/code/branches/bleeding-edge/import/bibutils/import_bib2refbase.php $
|
||||
// Author(s): Matthias Steffens <mailto:refbase@extracts.de>
|
||||
//
|
||||
// Created: 24-Feb-06, 02:07
|
||||
// Modified: $Date: 2007-02-17 01:10:14 +0000 (Sat, 17 Feb 2007) $
|
||||
// $Author: msteffens $
|
||||
// $Revision: 894 $
|
||||
|
||||
// This is an import format file (which must reside within the 'import/' sub-directory of your refbase root directory). It contains a version of the
|
||||
// 'importRecords()' function that imports records from 'BibTeX'-formatted data, i.e. data that were formatted according to the export format used
|
||||
// by the bibliographic companion to the LaTeX macro package (http://en.wikipedia.org/wiki/Bibtex).
|
||||
|
||||
// --------------------------------------------------------------------
|
||||
|
||||
// --- BEGIN IMPORT FORMAT ---
|
||||
|
||||
// Import records from Bibtex-formatted source data:
|
||||
|
||||
// Requires the following packages (available under the GPL):
|
||||
// - bibutils <http://www.scripps.edu/~cdputnam/software/bibutils/bibutils.html>
|
||||
|
||||
function importRecords($sourceText, $importRecordsRadio, $importRecordNumbersArray)
|
||||
{
|
||||
// convert LaTeX/BibTeX markup into proper refbase markup:
|
||||
$sourceText = standardizeBibtexInput($sourceText); // function 'standardizeBibtexInput()' is defined in 'import.inc.php'
|
||||
|
||||
// convert Bibtex format to MODS XML format:
|
||||
$sourceText = importBibutils($sourceText,"bib2xml"); // function 'importBibutils()' is defined in 'execute.inc.php'
|
||||
|
||||
// convert MODS XML format to RIS format:
|
||||
$sourceText = importBibutils($sourceText,"xml2ris"); // function 'importBibutils()' is defined in 'execute.inc.php'
|
||||
|
||||
// parse RIS format:
|
||||
return risToRefbase($sourceText, $importRecordsRadio, $importRecordNumbersArray); // function 'risToRefbase()' is defined in 'import.inc.php'
|
||||
}
|
||||
|
||||
// --- END IMPORT FORMAT ---
|
||||
|
||||
// --------------------------------------------------------------------
|
||||
?>
|
47
import/bibutils/import_copac2refbase.php
Normal file
47
import/bibutils/import_copac2refbase.php
Normal file
@@ -0,0 +1,47 @@
|
||||
<?php
|
||||
// Project: Web Reference Database (refbase) <http://www.refbase.net>
|
||||
// Copyright: Matthias Steffens <mailto:refbase@extracts.de> and the file's
|
||||
// original author(s).
|
||||
//
|
||||
// This code is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY. Please see the GNU General Public
|
||||
// License for more details.
|
||||
//
|
||||
// File: ./import/bibutils/import_copac2refbase.php
|
||||
// Repository: $HeadURL: file:///svn/p/refbase/code/branches/bleeding-edge/import/bibutils/import_copac2refbase.php $
|
||||
// Author(s): Matthias Steffens <mailto:refbase@extracts.de>
|
||||
//
|
||||
// Created: 24-Feb-06, 02:07
|
||||
// Modified: $Date: 2007-02-17 01:10:14 +0000 (Sat, 17 Feb 2007) $
|
||||
// $Author: msteffens $
|
||||
// $Revision: 894 $
|
||||
|
||||
// This is an import format file (which must reside within the 'import/' sub-directory of your refbase root directory). It contains a version of the
|
||||
// 'importRecords()' function that imports records from 'COPAC'-formatted data, i.e. data that were exported from the COPAC Internet Database
|
||||
// Service (http://www.copac.ac.uk/), a union catalogue that provides free access to academic and national libraries in the UK and Ireland.
|
||||
|
||||
// --------------------------------------------------------------------
|
||||
|
||||
// --- BEGIN IMPORT FORMAT ---
|
||||
|
||||
// Import records from COPAC-formatted source data:
|
||||
|
||||
// Requires the following packages (available under the GPL):
|
||||
// - bibutils <http://www.scripps.edu/~cdputnam/software/bibutils/bibutils.html>
|
||||
|
||||
function importRecords($sourceText, $importRecordsRadio, $importRecordNumbersArray)
|
||||
{
|
||||
// convert COPAC format to MODS XML format:
|
||||
$sourceText = importBibutils($sourceText,"copac2xml"); // function 'importBibutils()' is defined in 'execute.inc.php'
|
||||
|
||||
// convert MODS XML format to RIS format:
|
||||
$sourceText = importBibutils($sourceText,"xml2ris"); // function 'importBibutils()' is defined in 'execute.inc.php'
|
||||
|
||||
// parse RIS format:
|
||||
return risToRefbase($sourceText, $importRecordsRadio, $importRecordNumbersArray); // function 'risToRefbase()' is defined in 'import.inc.php'
|
||||
}
|
||||
|
||||
// --- END IMPORT FORMAT ---
|
||||
|
||||
// --------------------------------------------------------------------
|
||||
?>
|
47
import/bibutils/import_end2refbase.php
Normal file
47
import/bibutils/import_end2refbase.php
Normal file
@@ -0,0 +1,47 @@
|
||||
<?php
|
||||
// Project: Web Reference Database (refbase) <http://www.refbase.net>
|
||||
// Copyright: Matthias Steffens <mailto:refbase@extracts.de> and the file's
|
||||
// original author(s).
|
||||
//
|
||||
// This code is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY. Please see the GNU General Public
|
||||
// License for more details.
|
||||
//
|
||||
// File: ./import/bibutils/import_end2refbase.php
|
||||
// Repository: $HeadURL: file:///svn/p/refbase/code/branches/bleeding-edge/import/bibutils/import_end2refbase.php $
|
||||
// Author(s): Matthias Steffens <mailto:refbase@extracts.de>
|
||||
//
|
||||
// Created: 24-Feb-06, 02:07
|
||||
// Modified: $Date: 2012-02-28 23:17:21 +0000 (Tue, 28 Feb 2012) $
|
||||
// $Author: msteffens $
|
||||
// $Revision: 1342 $
|
||||
|
||||
// This is an import format file (which must reside within the 'import/' sub-directory of your refbase root directory). It contains a version of the
|
||||
// 'importRecords()' function that imports records from 'Endnote tagged'-formatted data, i.e. data that were formatted according to the tagged export
|
||||
// format used by the commercial bibliographic package 'Endnote' (http://www.endnote.com).
|
||||
|
||||
// --------------------------------------------------------------------
|
||||
|
||||
// --- BEGIN IMPORT FORMAT ---
|
||||
|
||||
// Import records from Endnote-formatted source data:
|
||||
|
||||
// Requires the following packages (available under the GPL):
|
||||
// - bibutils <http://www.scripps.edu/~cdputnam/software/bibutils/bibutils.html>
|
||||
|
||||
function importRecords($sourceText, $importRecordsRadio, $importRecordNumbersArray)
|
||||
{
|
||||
// convert Endnote tagged format to MODS XML format:
|
||||
$sourceText = importBibutils($sourceText,"end2xml"); // function 'importBibutils()' is defined in 'execute.inc.php'
|
||||
|
||||
// convert MODS XML format to RIS format:
|
||||
$sourceText = importBibutils($sourceText,"xml2ris"); // function 'importBibutils()' is defined in 'execute.inc.php'
|
||||
|
||||
// parse RIS format:
|
||||
return risToRefbase($sourceText, $importRecordsRadio, $importRecordNumbersArray); // function 'risToRefbase()' is defined in 'import.inc.php'
|
||||
}
|
||||
|
||||
// --- END IMPORT FORMAT ---
|
||||
|
||||
// --------------------------------------------------------------------
|
||||
?>
|
50
import/bibutils/import_endx2refbase.php
Normal file
50
import/bibutils/import_endx2refbase.php
Normal file
@@ -0,0 +1,50 @@
|
||||
<?php
|
||||
// Project: Web Reference Database (refbase) <http://www.refbase.net>
|
||||
// Copyright: Matthias Steffens <mailto:refbase@extracts.de> and the file's
|
||||
// original author(s).
|
||||
//
|
||||
// This code is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY. Please see the GNU General Public
|
||||
// License for more details.
|
||||
//
|
||||
// File: ./import/bibutils/import_endx2refbase.php
|
||||
// Repository: $HeadURL$
|
||||
// Author(s): Matthias Steffens <mailto:refbase@extracts.de>
|
||||
//
|
||||
// Created: 21-Mar-07, 22:57
|
||||
// Modified: $Date: 2007-09-27 14:11:28 +0000 (Thu, 27 Sep 2007) $
|
||||
// $Author$
|
||||
// $Revision: 992 $
|
||||
|
||||
// This is an import format file (which must reside within the 'import/' sub-directory of your refbase root directory). It contains a version of the
|
||||
// 'importRecords()' function that imports records from 'Endnote XML'-formatted data, i.e. data that were formatted according to the XML export format
|
||||
// used by the commercial bibliographic package 'Endnote' (http://www.endnote.com).
|
||||
|
||||
// --------------------------------------------------------------------
|
||||
|
||||
// --- BEGIN IMPORT FORMAT ---
|
||||
|
||||
// Import records from Endnote XML-formatted source data:
|
||||
|
||||
// Requires the following packages (available under the GPL):
|
||||
// - bibutils <http://www.scripps.edu/~cdputnam/software/bibutils/bibutils.html>
|
||||
|
||||
function importRecords($sourceText, $importRecordsRadio, $importRecordNumbersArray)
|
||||
{
|
||||
// convert Endnote XML text style markup into proper refbase markup:
|
||||
$sourceText = standardizeEndnoteXMLInput($sourceText); // function 'standardizeEndnoteXMLInput()' is defined in 'import.inc.php'
|
||||
|
||||
// convert Endnote format to MODS XML format:
|
||||
$sourceText = importBibutils($sourceText,"endx2xml"); // function 'importBibutils()' is defined in 'execute.inc.php'
|
||||
|
||||
// convert MODS XML format to RIS format:
|
||||
$sourceText = importBibutils($sourceText,"xml2ris"); // function 'importBibutils()' is defined in 'execute.inc.php'
|
||||
|
||||
// parse RIS format:
|
||||
return risToRefbase($sourceText, $importRecordsRadio, $importRecordNumbersArray); // function 'risToRefbase()' is defined in 'import.inc.php'
|
||||
}
|
||||
|
||||
// --- END IMPORT FORMAT ---
|
||||
|
||||
// --------------------------------------------------------------------
|
||||
?>
|
47
import/bibutils/import_isi2refbase.php
Normal file
47
import/bibutils/import_isi2refbase.php
Normal file
@@ -0,0 +1,47 @@
|
||||
<?php
|
||||
// Project: Web Reference Database (refbase) <http://www.refbase.net>
|
||||
// Copyright: Matthias Steffens <mailto:refbase@extracts.de> and the file's
|
||||
// original author(s).
|
||||
//
|
||||
// This code is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY. Please see the GNU General Public
|
||||
// License for more details.
|
||||
//
|
||||
// File: ./import/bibutils/import_isi2refbase.php
|
||||
// Repository: $HeadURL: file:///svn/p/refbase/code/branches/bleeding-edge/import/bibutils/import_isi2refbase.php $
|
||||
// Author(s): Matthias Steffens <mailto:refbase@extracts.de>
|
||||
//
|
||||
// Created: 24-Feb-06, 02:07
|
||||
// Modified: $Date: 2007-02-17 01:10:14 +0000 (Sat, 17 Feb 2007) $
|
||||
// $Author: msteffens $
|
||||
// $Revision: 894 $
|
||||
|
||||
// This is an import format file (which must reside within the 'import/' sub-directory of your refbase root directory). It contains a version of the
|
||||
// 'importRecords()' function that imports records from 'ISI'-formatted data, i.e. data that were exported from the ISI Web of Science Internet
|
||||
// Database Service (http://scientific.thomson.com/products/wos/).
|
||||
|
||||
// --------------------------------------------------------------------
|
||||
|
||||
// --- BEGIN IMPORT FORMAT ---
|
||||
|
||||
// Import records from ISI-formatted source data:
|
||||
|
||||
// Requires the following packages (available under the GPL):
|
||||
// - bibutils <http://www.scripps.edu/~cdputnam/software/bibutils/bibutils.html>
|
||||
|
||||
function importRecords($sourceText, $importRecordsRadio, $importRecordNumbersArray)
|
||||
{
|
||||
// convert ISI WoS format to MODS XML format:
|
||||
$sourceText = importBibutils($sourceText,"isi2xml"); // function 'importBibutils()' is defined in 'execute.inc.php'
|
||||
|
||||
// convert MODS XML format to RIS format:
|
||||
$sourceText = importBibutils($sourceText,"xml2ris"); // function 'importBibutils()' is defined in 'execute.inc.php'
|
||||
|
||||
// parse RIS format:
|
||||
return risToRefbase($sourceText, $importRecordsRadio, $importRecordNumbersArray); // function 'risToRefbase()' is defined in 'import.inc.php'
|
||||
}
|
||||
|
||||
// --- END IMPORT FORMAT ---
|
||||
|
||||
// --------------------------------------------------------------------
|
||||
?>
|
47
import/bibutils/import_med2refbase.php
Normal file
47
import/bibutils/import_med2refbase.php
Normal file
@@ -0,0 +1,47 @@
|
||||
<?php
|
||||
// Project: Web Reference Database (refbase) <http://www.refbase.net>
|
||||
// Copyright: Matthias Steffens <mailto:refbase@extracts.de> and the file's
|
||||
// original author(s).
|
||||
//
|
||||
// This code is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY. Please see the GNU General Public
|
||||
// License for more details.
|
||||
//
|
||||
// File: ./import/bibutils/import_med2refbase.php
|
||||
// Repository: $HeadURL: file:///svn/p/refbase/code/branches/bleeding-edge/import/bibutils/import_med2refbase.php $
|
||||
// Author(s): Matthias Steffens <mailto:refbase@extracts.de>
|
||||
//
|
||||
// Created: 24-Feb-06, 02:07
|
||||
// Modified: $Date: 2007-02-17 01:10:14 +0000 (Sat, 17 Feb 2007) $
|
||||
// $Author: msteffens $
|
||||
// $Revision: 894 $
|
||||
|
||||
// This is an import format file (which must reside within the 'import/' sub-directory of your refbase root directory). It contains a version of the
|
||||
// 'importRecords()' function that imports records from 'Pubmed'-formatted data, i.e. data that were exported from the Pubmed Internet Database
|
||||
// Service (http://www.pubmed.gov/) in 'XML' format.
|
||||
|
||||
// --------------------------------------------------------------------
|
||||
|
||||
// --- BEGIN IMPORT FORMAT ---
|
||||
|
||||
// Import records from Pubmed-formatted source data:
|
||||
|
||||
// Requires the following packages (available under the GPL):
|
||||
// - bibutils <http://www.scripps.edu/~cdputnam/software/bibutils/bibutils.html>
|
||||
|
||||
function importRecords($sourceText, $importRecordsRadio, $importRecordNumbersArray)
|
||||
{
|
||||
// convert Pubmed XML format to MODS XML format:
|
||||
$sourceText = importBibutils($sourceText,"med2xml"); // function 'importBibutils()' is defined in 'execute.inc.php'
|
||||
|
||||
// convert MODS XML format to RIS format:
|
||||
$sourceText = importBibutils($sourceText,"xml2ris"); // function 'importBibutils()' is defined in 'execute.inc.php'
|
||||
|
||||
// parse RIS format:
|
||||
return risToRefbase($sourceText, $importRecordsRadio, $importRecordNumbersArray); // function 'risToRefbase()' is defined in 'import.inc.php'
|
||||
}
|
||||
|
||||
// --- END IMPORT FORMAT ---
|
||||
|
||||
// --------------------------------------------------------------------
|
||||
?>
|
44
import/bibutils/import_modsxml2refbase.php
Normal file
44
import/bibutils/import_modsxml2refbase.php
Normal file
@@ -0,0 +1,44 @@
|
||||
<?php
|
||||
// Project: Web Reference Database (refbase) <http://www.refbase.net>
|
||||
// Copyright: Matthias Steffens <mailto:refbase@extracts.de> and the file's
|
||||
// original author(s).
|
||||
//
|
||||
// This code is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY. Please see the GNU General Public
|
||||
// License for more details.
|
||||
//
|
||||
// File: ./import/bibutils/import_modsxml2refbase.php
|
||||
// Repository: $HeadURL: file:///svn/p/refbase/code/branches/bleeding-edge/import/bibutils/import_modsxml2refbase.php $
|
||||
// Author(s): Matthias Steffens <mailto:refbase@extracts.de>
|
||||
//
|
||||
// Created: 24-Feb-06, 02:07
|
||||
// Modified: $Date: 2007-02-17 01:10:14 +0000 (Sat, 17 Feb 2007) $
|
||||
// $Author: msteffens $
|
||||
// $Revision: 894 $
|
||||
|
||||
// This is an import format file (which must reside within the 'import/' sub-directory of your refbase root directory). It contains a version of the
|
||||
// 'importRecords()' function that imports records from 'MODS'-formatted data, i.e. data that were exported as XML according to the "Metadata Object
|
||||
// Description Schema" (MODS) (http://www.loc.gov/standards/mods/).
|
||||
|
||||
// --------------------------------------------------------------------
|
||||
|
||||
// --- BEGIN IMPORT FORMAT ---
|
||||
|
||||
// Import records from MODS-formatted source data:
|
||||
|
||||
// Requires the following packages (available under the GPL):
|
||||
// - bibutils <http://www.scripps.edu/~cdputnam/software/bibutils/bibutils.html>
|
||||
|
||||
function importRecords($sourceText, $importRecordsRadio, $importRecordNumbersArray)
|
||||
{
|
||||
// convert MODS XML format to RIS format:
|
||||
$sourceText = importBibutils($sourceText,"xml2ris"); // function 'importBibutils()' is defined in 'execute.inc.php'
|
||||
|
||||
// parse RIS format:
|
||||
return risToRefbase($sourceText, $importRecordsRadio, $importRecordNumbersArray); // function 'risToRefbase()' is defined in 'import.inc.php'
|
||||
}
|
||||
|
||||
// --- END IMPORT FORMAT ---
|
||||
|
||||
// --------------------------------------------------------------------
|
||||
?>
|
50
import/bibutils/import_ris2refbase.php
Normal file
50
import/bibutils/import_ris2refbase.php
Normal file
@@ -0,0 +1,50 @@
|
||||
<?php
|
||||
// Project: Web Reference Database (refbase) <http://www.refbase.net>
|
||||
// Copyright: Matthias Steffens <mailto:refbase@extracts.de> and the file's
|
||||
// original author(s).
|
||||
//
|
||||
// This code is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY. Please see the GNU General Public
|
||||
// License for more details.
|
||||
//
|
||||
// File: ./import/bibutils/import_ris2refbase.php
|
||||
// Repository: $HeadURL: file:///svn/p/refbase/code/branches/bleeding-edge/import/bibutils/import_ris2refbase.php $
|
||||
// Author(s): Matthias Steffens <mailto:refbase@extracts.de>
|
||||
//
|
||||
// Created: 23-Feb-06, 02:35
|
||||
// Modified: $Date: 2007-02-17 01:10:14 +0000 (Sat, 17 Feb 2007) $
|
||||
// $Author: msteffens $
|
||||
// $Revision: 894 $
|
||||
|
||||
// This is an import format file (which must reside within the 'import/' sub-directory of your refbase root directory). It contains a version of the
|
||||
// 'importRecords()' function that imports records from 'RIS'-formatted data, i.e. data formatted according to the standard export format used e.g.
|
||||
// by commercial bibliographic packages like 'Reference Manager' (http://www.refman.com).
|
||||
|
||||
// --------------------------------------------------------------------
|
||||
|
||||
// --- BEGIN IMPORT FORMAT ---
|
||||
|
||||
// Import records from RIS-formatted source data:
|
||||
|
||||
// Requires the following packages (available under the GPL):
|
||||
// - bibutils <http://www.scripps.edu/~cdputnam/software/bibutils/bibutils.html>
|
||||
|
||||
function importRecords($sourceText, $importRecordsRadio, $importRecordNumbersArray)
|
||||
{
|
||||
// By passing RIS thru bibutils we receive a standard RIS format that may be easier to import than the original one.
|
||||
// You can use './import/import_ris2refbase.php' to import RIS records directly.
|
||||
|
||||
// convert RIS format to MODS XML format:
|
||||
$sourceText = importBibutils($sourceText,"ris2xml"); // function 'importBibutils()' is defined in 'execute.inc.php'
|
||||
|
||||
// convert MODS XML format to RIS format:
|
||||
$sourceText = importBibutils($sourceText,"xml2ris"); // function 'importBibutils()' is defined in 'execute.inc.php'
|
||||
|
||||
// parse RIS format:
|
||||
return risToRefbase($sourceText, $importRecordsRadio, $importRecordNumbersArray); // function 'risToRefbase()' is defined in 'import.inc.php'
|
||||
}
|
||||
|
||||
// --- END IMPORT FORMAT ---
|
||||
|
||||
// --------------------------------------------------------------------
|
||||
?>
|
38
import/import_arxiv2refbase.php
Normal file
38
import/import_arxiv2refbase.php
Normal file
@@ -0,0 +1,38 @@
|
||||
<?php
|
||||
// Project: Web Reference Database (refbase) <http://www.refbase.net>
|
||||
// Copyright: Matthias Steffens <mailto:refbase@extracts.de> and the file's
|
||||
// original author(s).
|
||||
//
|
||||
// This code is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY. Please see the GNU General Public
|
||||
// License for more details.
|
||||
//
|
||||
// File: ./import/import_arxiv2refbase.php
|
||||
// Repository: $HeadURL$
|
||||
// Author(s): Matthias Steffens <mailto:refbase@extracts.de>
|
||||
//
|
||||
// Created: 09-Jun-08, 16:00
|
||||
// Modified: $Date: 2008-06-19 17:50:09 +0000 (Thu, 19 Jun 2008) $
|
||||
// $Author$
|
||||
// $Revision: 1144 $
|
||||
|
||||
// This is an import format file (which must reside within the 'import/' sub-directory of your refbase root directory). It contains a version of the
|
||||
// 'importRecords()' function that imports records from arXiv.org's Atom XML OpenSearch format.
|
||||
// More info on the arXiv API and its Atom-based response format is available at <http://export.arxiv.org/api_help/>.
|
||||
|
||||
// --------------------------------------------------------------------
|
||||
|
||||
// --- BEGIN IMPORT FORMAT ---
|
||||
|
||||
// Import records from arXiv source data:
|
||||
|
||||
function importRecords($sourceObject, $importRecordsRadio, $importRecordNumbersArray)
|
||||
{
|
||||
// parse arXiv Atom XML format:
|
||||
return arxivToRefbase($sourceObject, $importRecordsRadio, $importRecordNumbersArray); // function 'arxivToRefbase()' is defined in 'import.inc.php'
|
||||
}
|
||||
|
||||
// --- END IMPORT FORMAT ---
|
||||
|
||||
// --------------------------------------------------------------------
|
||||
?>
|
39
import/import_crossref2refbase.php
Normal file
39
import/import_crossref2refbase.php
Normal file
@@ -0,0 +1,39 @@
|
||||
<?php
|
||||
// Project: Web Reference Database (refbase) <http://www.refbase.net>
|
||||
// Copyright: Matthias Steffens <mailto:refbase@extracts.de> and the file's
|
||||
// original author(s).
|
||||
//
|
||||
// This code is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY. Please see the GNU General Public
|
||||
// License for more details.
|
||||
//
|
||||
// File: ./import/import_crossref2refbase.php
|
||||
// Repository: $HeadURL: file:///svn/p/refbase/code/branches/bleeding-edge/import/import_crossref2refbase.php $
|
||||
// Author(s): Richard Karnesky <mailto:karneskygmail.com>
|
||||
//
|
||||
// Created: 15-Feb-08, 16:45
|
||||
// Modified: $Date: 2008-11-02 18:37:05 +0000 (Sun, 02 Nov 2008) $
|
||||
// $Author: msteffens $
|
||||
// $Revision: 1290 $
|
||||
|
||||
// This is an import format file (which must reside within the 'import/' sub-directory of your refbase root directory). It contains a version of the
|
||||
// 'importRecords()' function that imports records from 'CrossRef "unixref XML"'-formatted data
|
||||
// i.e. that from their OpenURL server:
|
||||
// http://www.crossref.org/openurl/?noredirect=true&format=unixref&id=doi%3A10.1103%2FPhysRev.47.777
|
||||
|
||||
// --------------------------------------------------------------------
|
||||
|
||||
// --- BEGIN IMPORT FORMAT ---
|
||||
|
||||
// Import records from CrossRef-formatted source data:
|
||||
|
||||
function importRecords($sourceText, $importRecordsRadio, $importRecordNumbersArray)
|
||||
{
|
||||
// parse CrossRef format:
|
||||
return crossrefToRefbase($sourceText, $importRecordsRadio, $importRecordNumbersArray); // function 'crossrefToRefbase()' is defined in 'import.inc.php'
|
||||
}
|
||||
|
||||
// --- END IMPORT FORMAT ---
|
||||
|
||||
// --------------------------------------------------------------------
|
||||
?>
|
38
import/import_csa2refbase.php
Normal file
38
import/import_csa2refbase.php
Normal file
@@ -0,0 +1,38 @@
|
||||
<?php
|
||||
// Project: Web Reference Database (refbase) <http://www.refbase.net>
|
||||
// Copyright: Matthias Steffens <mailto:refbase@extracts.de> and the file's
|
||||
// original author(s).
|
||||
//
|
||||
// This code is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY. Please see the GNU General Public
|
||||
// License for more details.
|
||||
//
|
||||
// File: ./import/import_csa2refbase.php
|
||||
// Repository: $HeadURL: file:///svn/p/refbase/code/branches/bleeding-edge/import/import_csa2refbase.php $
|
||||
// Author(s): Matthias Steffens <mailto:refbase@extracts.de>
|
||||
//
|
||||
// Created: 23-Feb-06, 02:35
|
||||
// Modified: $Date: 2007-02-17 01:10:14 +0000 (Sat, 17 Feb 2007) $
|
||||
// $Author: msteffens $
|
||||
// $Revision: 894 $
|
||||
|
||||
// This is an import format file (which must reside within the 'import/' sub-directory of your refbase root directory). It contains a version of the
|
||||
// 'importRecords()' function that imports records from 'CSA'-formatted data, i.e. data that were exported from the Cambridge Scientific Abstracts
|
||||
// Internet Database Service (http://www.csa.com) in 'full record' format.
|
||||
|
||||
// --------------------------------------------------------------------
|
||||
|
||||
// --- BEGIN IMPORT FORMAT ---
|
||||
|
||||
// Import records from CSA-formatted source data:
|
||||
|
||||
function importRecords($sourceText, $importRecordsRadio, $importRecordNumbersArray)
|
||||
{
|
||||
// parse CSA format:
|
||||
return csaToRefbase($sourceText, $importRecordsRadio, $importRecordNumbersArray); // function 'csaToRefbase()' is defined in 'import.inc.php'
|
||||
}
|
||||
|
||||
// --- END IMPORT FORMAT ---
|
||||
|
||||
// --------------------------------------------------------------------
|
||||
?>
|
38
import/import_end2refbase.php
Normal file
38
import/import_end2refbase.php
Normal file
@@ -0,0 +1,38 @@
|
||||
<?php
|
||||
// Project: Web Reference Database (refbase) <http://www.refbase.net>
|
||||
// Copyright: Matthias Steffens <mailto:refbase@extracts.de> and the file's
|
||||
// original author(s).
|
||||
//
|
||||
// This code is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY. Please see the GNU General Public
|
||||
// License for more details.
|
||||
//
|
||||
// File: ./import/import_end2refbase.php
|
||||
// Repository: $HeadURL: file:///svn/p/refbase/code/branches/bleeding-edge/import/import_end2refbase.php $
|
||||
// Author(s): Matthias Steffens <mailto:refbase@extracts.de>
|
||||
//
|
||||
// Created: 01-Dec-09, 08:05
|
||||
// Modified: $Date: 2012-02-29 00:02:18 +0000 (Wed, 29 Feb 2012) $
|
||||
// $Author: msteffens $
|
||||
// $Revision: 1348 $
|
||||
|
||||
// This is an import format file (which must reside within the 'import/' sub-directory of your refbase root directory). It contains a version of the
|
||||
// 'importRecords()' function that imports records from 'Endnote tagged'-formatted data, i.e. data that were formatted according to the tagged export
|
||||
// format used by the commercial bibliographic package 'Endnote' (http://www.endnote.com).
|
||||
|
||||
// --------------------------------------------------------------------
|
||||
|
||||
// --- BEGIN IMPORT FORMAT ---
|
||||
|
||||
// Import records from Endnote-formatted source data:
|
||||
|
||||
function importRecords($sourceText, $importRecordsRadio, $importRecordNumbersArray)
|
||||
{
|
||||
// parse Endnote tagged format:
|
||||
return endnoteToRefbase($sourceText, $importRecordsRadio, $importRecordNumbersArray); // function 'endnoteToRefbase()' is defined in 'import.inc.php'
|
||||
}
|
||||
|
||||
// --- END IMPORT FORMAT ---
|
||||
|
||||
// --------------------------------------------------------------------
|
||||
?>
|
41
import/import_isi2refbase.php
Normal file
41
import/import_isi2refbase.php
Normal file
@@ -0,0 +1,41 @@
|
||||
<?php
|
||||
// Project: Web Reference Database (refbase) <http://www.refbase.net>
|
||||
// Copyright: Matthias Steffens <mailto:refbase@extracts.de> and the file's
|
||||
// original author(s).
|
||||
//
|
||||
// This code is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY. Please see the GNU General Public
|
||||
// License for more details.
|
||||
//
|
||||
// File: ./import/import_isi2refbase.php
|
||||
// Repository: $HeadURL: file:///svn/p/refbase/code/branches/bleeding-edge/import/import_isi2refbase.php $
|
||||
// Author(s): Matthias Steffens <mailto:refbase@extracts.de>
|
||||
//
|
||||
// Created: 24-Feb-06, 01:38
|
||||
// Modified: $Date: 2007-02-17 01:10:14 +0000 (Sat, 17 Feb 2007) $
|
||||
// $Author: msteffens $
|
||||
// $Revision: 894 $
|
||||
|
||||
// This is an import format file (which must reside within the 'import/' sub-directory of your refbase root directory). It contains a version of the
|
||||
// 'importRecords()' function that imports records from 'ISI'-formatted data, i.e. data that were exported from the ISI Web of Science Internet
|
||||
// Database Service (http://scientific.thomson.com/products/wos/).
|
||||
|
||||
// --------------------------------------------------------------------
|
||||
|
||||
// --- BEGIN IMPORT FORMAT ---
|
||||
|
||||
// Import records from ISI-formatted source data:
|
||||
|
||||
function importRecords($sourceText, $importRecordsRadio, $importRecordNumbersArray)
|
||||
{
|
||||
// convert ISI WoS format to CSA format:
|
||||
$sourceText = isiToCsa($sourceText); // function 'isiToCsa()' is defined in 'import.inc.php'
|
||||
|
||||
// parse CSA format:
|
||||
return csaToRefbase($sourceText, $importRecordsRadio, $importRecordNumbersArray); // function 'csaToRefbase()' is defined in 'import.inc.php'
|
||||
}
|
||||
|
||||
// --- END IMPORT FORMAT ---
|
||||
|
||||
// --------------------------------------------------------------------
|
||||
?>
|
38
import/import_medline2refbase.php
Normal file
38
import/import_medline2refbase.php
Normal file
@@ -0,0 +1,38 @@
|
||||
<?php
|
||||
// Project: Web Reference Database (refbase) <http://www.refbase.net>
|
||||
// Copyright: Matthias Steffens <mailto:refbase@extracts.de> and the file's
|
||||
// original author(s).
|
||||
//
|
||||
// This code is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY. Please see the GNU General Public
|
||||
// License for more details.
|
||||
//
|
||||
// File: ./import/import_medline2refbase.php
|
||||
// Repository: $HeadURL: file:///svn/p/refbase/code/branches/bleeding-edge/import/import_medline2refbase.php $
|
||||
// Author(s): Matthias Steffens <mailto:refbase@extracts.de>
|
||||
//
|
||||
// Created: 24-Feb-06, 02:07
|
||||
// Modified: $Date: 2007-02-17 01:10:14 +0000 (Sat, 17 Feb 2007) $
|
||||
// $Author: msteffens $
|
||||
// $Revision: 894 $
|
||||
|
||||
// This is an import format file (which must reside within the 'import/' sub-directory of your refbase root directory). It contains a version of the
|
||||
// 'importRecords()' function that imports records from 'Pubmed'-formatted data, i.e. data that were exported from the Pubmed Internet Database
|
||||
// Service (http://www.pubmed.gov/) in 'MEDLINE' format.
|
||||
|
||||
// --------------------------------------------------------------------
|
||||
|
||||
// --- BEGIN IMPORT FORMAT ---
|
||||
|
||||
// Import records from Pubmed-formatted source data:
|
||||
|
||||
function importRecords($sourceText, $importRecordsRadio, $importRecordNumbersArray)
|
||||
{
|
||||
// parse Pubmed MEDLINE format:
|
||||
return medlineToRefbase($sourceText, $importRecordsRadio, $importRecordNumbersArray); // function 'medlineToRefbase()' is defined in 'import.inc.php'
|
||||
}
|
||||
|
||||
// --- END IMPORT FORMAT ---
|
||||
|
||||
// --------------------------------------------------------------------
|
||||
?>
|
38
import/import_refworks2refbase.php
Normal file
38
import/import_refworks2refbase.php
Normal file
@@ -0,0 +1,38 @@
|
||||
<?php
|
||||
// Project: Web Reference Database (refbase) <http://www.refbase.net>
|
||||
// Copyright: Matthias Steffens <mailto:refbase@extracts.de> and the file's
|
||||
// original author(s).
|
||||
//
|
||||
// This code is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY. Please see the GNU General Public
|
||||
// License for more details.
|
||||
//
|
||||
// File: ./import/import_refworks2refbase.php
|
||||
// Repository: $HeadURL: file:///svn/p/refbase/code/branches/bleeding-edge/import/import_refworks2refbase.php $
|
||||
// Author(s): Matthias Steffens <mailto:refbase@extracts.de>
|
||||
//
|
||||
// Created: 25-Aug-06, 13:10
|
||||
// Modified: $Date: 2007-02-17 01:10:14 +0000 (Sat, 17 Feb 2007) $
|
||||
// $Author: msteffens $
|
||||
// $Revision: 894 $
|
||||
|
||||
// This is an import format file (which must reside within the 'import/' sub-directory of your refbase root directory). It contains a version of the
|
||||
// 'importRecords()' function that imports records from 'RefWorks'-formatted data, i.e. data formatted according to the tagged text format used
|
||||
// by the commercial bibliographic web application 'RefWorks' (http://www.refworks.com).
|
||||
|
||||
// --------------------------------------------------------------------
|
||||
|
||||
// --- BEGIN IMPORT FORMAT ---
|
||||
|
||||
// Import records from RefWorks-formatted source data:
|
||||
|
||||
function importRecords($sourceText, $importRecordsRadio, $importRecordNumbersArray)
|
||||
{
|
||||
// parse RefWorks format:
|
||||
return refworksToRefbase($sourceText, $importRecordsRadio, $importRecordNumbersArray); // function 'refworksToRefbase()' is defined in 'import.inc.php'
|
||||
}
|
||||
|
||||
// --- END IMPORT FORMAT ---
|
||||
|
||||
// --------------------------------------------------------------------
|
||||
?>
|
38
import/import_ris2refbase.php
Normal file
38
import/import_ris2refbase.php
Normal file
@@ -0,0 +1,38 @@
|
||||
<?php
|
||||
// Project: Web Reference Database (refbase) <http://www.refbase.net>
|
||||
// Copyright: Matthias Steffens <mailto:refbase@extracts.de> and the file's
|
||||
// original author(s).
|
||||
//
|
||||
// This code is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY. Please see the GNU General Public
|
||||
// License for more details.
|
||||
//
|
||||
// File: ./import/import_ris2refbase.php
|
||||
// Repository: $HeadURL: file:///svn/p/refbase/code/branches/bleeding-edge/import/import_ris2refbase.php $
|
||||
// Author(s): Matthias Steffens <mailto:refbase@extracts.de>
|
||||
//
|
||||
// Created: 23-Feb-06, 02:35
|
||||
// Modified: $Date: 2007-02-17 01:10:14 +0000 (Sat, 17 Feb 2007) $
|
||||
// $Author: msteffens $
|
||||
// $Revision: 894 $
|
||||
|
||||
// This is an import format file (which must reside within the 'import/' sub-directory of your refbase root directory). It contains a version of the
|
||||
// 'importRecords()' function that imports records from 'RIS'-formatted data, i.e. data formatted according to the standard export format used e.g.
|
||||
// by commercial bibliographic packages like 'Reference Manager' (http://www.refman.com).
|
||||
|
||||
// --------------------------------------------------------------------
|
||||
|
||||
// --- BEGIN IMPORT FORMAT ---
|
||||
|
||||
// Import records from RIS-formatted source data:
|
||||
|
||||
function importRecords($sourceText, $importRecordsRadio, $importRecordNumbersArray)
|
||||
{
|
||||
// parse RIS format:
|
||||
return risToRefbase($sourceText, $importRecordsRadio, $importRecordNumbersArray); // function 'risToRefbase()' is defined in 'import.inc.php'
|
||||
}
|
||||
|
||||
// --- END IMPORT FORMAT ---
|
||||
|
||||
// --------------------------------------------------------------------
|
||||
?>
|
38
import/import_scifinder2refbase.php
Normal file
38
import/import_scifinder2refbase.php
Normal file
@@ -0,0 +1,38 @@
|
||||
<?php
|
||||
// Project: Web Reference Database (refbase) <http://www.refbase.net>
|
||||
// Copyright: Matthias Steffens <mailto:refbase@extracts.de> and the file's
|
||||
// original author(s).
|
||||
//
|
||||
// This code is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY. Please see the GNU General Public
|
||||
// License for more details.
|
||||
//
|
||||
// File: ./import/import_scifinder2refbase.php
|
||||
// Repository: $HeadURL$
|
||||
// Author(s): Matthias Steffens <mailto:refbase@extracts.de>
|
||||
//
|
||||
// Created: 17-Feb-07, 22:10
|
||||
// Modified: $Date: 2007-02-18 12:41:15 +0000 (Sun, 18 Feb 2007) $
|
||||
// $Author$
|
||||
// $Revision: 895 $
|
||||
|
||||
// This is an import format file (which must reside within the 'import/' sub-directory of your refbase root directory). It contains a version of the
|
||||
// 'importRecords()' function that imports records from 'SciFinder'-formatted data, i.e. data formatted according to the tagged text format used
|
||||
// by the commercial application 'SciFinder' (http://www.cas.org/SCIFINDER/).
|
||||
|
||||
// --------------------------------------------------------------------
|
||||
|
||||
// --- BEGIN IMPORT FORMAT ---
|
||||
|
||||
// Import records from SciFinder-formatted source data:
|
||||
|
||||
function importRecords($sourceText, $importRecordsRadio, $importRecordNumbersArray)
|
||||
{
|
||||
// parse SciFinder format:
|
||||
return scifinderToRefbase($sourceText, $importRecordsRadio, $importRecordNumbersArray); // function 'scifinderToRefbase()' is defined in 'import.inc.php'
|
||||
}
|
||||
|
||||
// --- END IMPORT FORMAT ---
|
||||
|
||||
// --------------------------------------------------------------------
|
||||
?>
|
Reference in New Issue
Block a user