Refbase update_2021-01-28_15_58
This commit is contained in:
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 ---
|
||||
|
||||
// --------------------------------------------------------------------
|
||||
?>
|
Reference in New Issue
Block a user