| @@ -1,33 +1,34 @@ | ||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * Created on: 2024-05-26 | |
| 4 | - * Updated on: 2022-02-10 | |
| 3 | + * Created by PhpStorm. | |
| 4 | + * User: baptiste | |
| 5 | + * Date: 26/05/14 | |
| 6 | + * Time: 10:10 | |
| 5 | 7 | */ |
| 6 | 8 | |
| 7 | -// Constante pour gérer certaines facettes | |
| 8 | -define('wphal_delimiter', '_FacetSep_'); | |
| 9 | -define('wphal_delimiter_join', '_JoinSep_'); | |
| 9 | +// Constante pour gérer certaines facet | |
| 10 | +define('delimiter', '_FacetSep_'); | |
| 10 | 11 | |
| 11 | -// Constante pour l'API | |
| 12 | -define('wphal_api', 'https://api.hal.science/search/hal/'); | |
| 12 | +// Constante pour l'api utilisé | |
| 13 | +define('api', 'http://api.archives-ouvertes.fr/search/hal/'); | |
| 13 | 14 | |
| 14 | -// Constante pour le référentiel des auteurs | |
| 15 | -define('wphal_urlauthor', 'https://api.hal.science/ref/author/'); | |
| 15 | +// Constante pour le webservice des autheurs utilisé | |
| 16 | +define('urlauthor', 'http://api.archives-ouvertes.fr/ref/author/'); | |
| 16 | 17 | |
| 17 | -// Constante pour le CV d'un auteur ayant un IdHAL | |
| 18 | -define('cvhal', 'https://cv.hal.science/'); | |
| 18 | +// Constante pour le CV HAL d'un auteur ayant un IdHAl | |
| 19 | +define('cvhal', 'http://cv.archives-ouvertes.fr/'); | |
| 19 | 20 | |
| 20 | -// Constante pour la rédirection vers l'onglet Recherche de HAL | |
| 21 | -define('halv3', 'https://hal.science/search/index/'); | |
| 21 | +// Constante pour la redirection vers le site halv3 onglet recherche | |
| 22 | +define('halv3', 'https://hal.archives-ouvertes.fr/search/index/'); | |
| 22 | 23 | |
| 23 | -// Constante pour la rédirection vers la page d'accueil de HAL | |
| 24 | -define('wphal_site', 'https://hal.science/'); | |
| 24 | +// Constante pour la redirection vers le site halv3 onglet accueil | |
| 25 | +define('site', 'https://hal.archives-ouvertes.fr/'); | |
| 25 | 26 | |
| 26 | 27 | // Constante pour le tri par date |
| 27 | -define('wphal_producedDateY', urlencode('producedDate_tdate desc')); | |
| 28 | +define('producedDateY', urlencode('producedDateY_i desc')); | |
| 28 | 29 | |
| 29 | 30 | // Constante de langue |
| 30 | -define('wphal_locale', get_locale()); | |
| 31 | +define('locale', get_locale()); | |
| 31 | 32 | |
| 32 | -// Constante de version du plugin | |
| 33 | -define('wphal_version', '2.7,2'); | |
| 33 | +// Constante de Version USERAGENT | |
| 34 | +define('version', '2.0'); | |