Repository of University of Nova Gorica

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

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">

Both files (js, css) can be downloaded and modified, but do not forget to include them in your web server afterwards!

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

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

E-publications will appear within this element osebe Miha Kova��i�� 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=5060707', 'Div0'); // for a detailed explanation of the parameters, see below
</script>

Set boolPrevedi to true only when you want to show the English interface. The default value is set to false (Slovenian interface).

1. parameter: a string of characters where you enter which author is to be shown, for example:
    'arrsid=06823' or 'conorid=5060707', where arrsid represents the researcher number and conorid represents CONOR/COBISS number of the author.

2. The argument: a string of characters where you enter in which <div> element should the e-publications 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=5060707', 'Div0');
        </script>
    </body>
</html>

End-result looks like the following: