Esempio n. 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");
}
Esempio n. 2
0
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);
}
Esempio n. 3
0
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);
}
Esempio n. 4
0
function exportRecords($result, $rowOffset, $showRows, $exportStylesheet, $displayType)
{
    // function 'exportBibutils()' is defined in 'execute.inc.php'
    return exportBibutils($result, "xml2isi");
}