Repository of University of Nova Gorica

Instructions to include author's publications on websites
A+ | A- | SLO | ENG

Here are instructions on how to show a list of author's e-publications on any web page. This is possible only if we know the ARRS-ID of the author (researcher ID in ARRS) or CONOR-ID of the author from COBISS.

Inside the <head> tag include the following lines:

<script type="text/javascript" src="http://openscience.si/jan/scripts/osebe.js"></script>
<link rel="stylesheet" type="text/css" href="http://openscience.si/jan/content/osebe.css">

Optionally, both files (JS, CSS) can be downloaded and modified, but you will need to upload them to your own web server and change the URL in the two lines above.

Somewhere inside the <body> tag include the following HTML element:

<div id="Div0"></div>

E-publications of the person Barbara Čenčur Curk will appear within this element. The id value doesn't have to be "Div0" (see below).

Immediately after <div> add the following HTML code:

<script type="text/javascript">
   boolPrevedi = true; // set to true for English interface
   prikaziOsebe('conorid=4179811', 'Div0'); // parameters are explained below
</script>

Set boolPrevedi to true if you want to show the English interface. The default value is set to false, which shows Slovenian interface. Next is the call of the function prikaziOsebe with two parameters:

  1. string of characters that determines the author. Author can be determined in one of two ways:
    • 'arrsid=06823', using author's ARRS-ID (ARRS researcher ID) or
    • 'conorid=4179811', using author's CONOR-ID from COBISS;
  2. string of characters determining the <div> element in which the e-publications should appear. Specify the id of the element, which in our case is 'Div0'.

The following example shows a complete HTML document:

<!DOCTYPE html>
<html>
    <head>
        <meta charset="utf-8">
        <title>Osebe primer</title>
        <script type="text/javascript" src="http://openscience.si/jan/scripts/osebe.min.js"></script>
        <link rel="stylesheet" type="text/css" href="http://openscience.si/jan/content/osebe.min.css" >
    </head>
    <body>
        <div id="Div0"></div>
        <script type="text/javascript">
            boolPrevedi=true;
            prikaziOsebe('conorid=4179811', 'Div0');
        </script>
    </body>
</html>

End-result looks like the following: