コード例 #1
0
function exportRecords($result, $rowOffset, $showRows, $exportStylesheet, $displayType)
{
    // function 'exportBibutils()' is defined in 'execute.inc.php'
    // NOTE: if you're using a Bibutils version prior to Bibutils v3.40,
    //       you must rename "xml2wordbib" to "xml2word" in the line below
    return exportBibutils($result, "xml2wordbib");
}
コード例 #2
0
ファイル: export_xml2bib.php プロジェクト: Olari0/Finugriling
function exportRecords($result, $rowOffset, $showRows, $exportStylesheet, $displayType)
{
    // function 'exportBibutils()' is defined in 'execute.inc.php'
    $bibtexSourceText = exportBibutils($result, "xml2bib");
    // function 'standardizeBibtexOutput()' is defined in 'export.inc.php'
    return standardizeBibtexOutput($bibtexSourceText);
}
コード例 #3
0
ファイル: export_xml2ris.php プロジェクト: Olari0/Finugriling
function exportRecords($result, $rowOffset, $showRows, $exportStylesheet, $displayType)
{
    // function 'exportBibutils()' is defined in 'execute.inc.php'
    $risSourceText = exportBibutils($result, "xml2ris");
    // NOTE: the 'exec()' command that is used in function 'execute()' in file 'execute.inc.php'
    //       does not include trailing whitespace in its '$output' array [*]; since this would
    //       chop off trailing whitespace from closing RIS 'ER  - ' tags, we add it back here
    //       [*] see <http://www.php.net/manual/en/function.exec.php>
    return preg_replace("/^ER  -\$/m", "ER  - ", $risSourceText);
}
コード例 #4
0
ファイル: export_xml2isi.php プロジェクト: Olari0/Finugriling
function exportRecords($result, $rowOffset, $showRows, $exportStylesheet, $displayType)
{
    // function 'exportBibutils()' is defined in 'execute.inc.php'
    return exportBibutils($result, "xml2isi");
}