| 1 |
=== HAL === |
| 2 |
Contributors: friz, ccsd |
| 3 |
Tags: publication, HAL, archive |
| 4 |
Requires at least: 5.0 |
| 5 |
Tested up to: 5.0.3 |
| 6 |
Stable tag: 2.0.7 |
| 7 |
License: GPLv2 or later |
| 8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html |
| 9 |
|
| 10 |
Create a page with publications of an author or a structure in relation with HAL and a widget of recent publications of an author or a structure. |
| 11 |
|
| 12 |
== Description == |
| 13 |
|
| 14 |
This is the first plugin of HAL. |
| 15 |
The HAL plugin allows authors or structures to display in their own blog their publications. |
| 16 |
HAL plugin data are directly related to HAL website (http://hal.archives-ouvertes.fr/). |
| 17 |
|
| 18 |
== Installation == |
| 19 |
|
| 20 |
= Requires : = |
| 21 |
* PHP 5.5 or higher |
| 22 |
* WordPress 4.0 or higher |
| 23 |
* cURL extension on php.ini |
| 24 |
|
| 25 |
= Installation procedure : = |
| 26 |
|
| 27 |
1. Desactivate plugin if you have the previous version installed. |
| 28 |
2. Unzip "HAL" archive and put all files into a folder like "/wp-content/plugins/hal" directory. |
| 29 |
3. Activate "HAL" plugin via 'Plugins' menu in WordPress admin menu. |
| 30 |
|
| 31 |
= For the page : = |
| 32 |
|
| 33 |
4. Go to the "Hal" menu item and select parameters to display options needed in your blog. |
| 34 |
5. Create your page and add the shortcode [cv-hal] to see publications and metadata. |
| 35 |
|
| 36 |
= For the widget : = |
| 37 |
|
| 38 |
4. Go to the menu "Appearance", "Widgets" to configure the widget "Lastest Publications". |
| 39 |
|
| 40 |
== Frequently Asked Questions == |
| 41 |
|
| 42 |
= How can I contact the support ? = |
| 43 |
|
| 44 |
You can contact the support at this address : http://support.ccsd.cnrs.fr/ |
| 45 |
|
| 46 |
Or you can contact the developer at this address : baptiste.blondelle@ccsd.cnrs.fr |
| 47 |
|
| 48 |
= How to display the page on the site ? = |
| 49 |
|
| 50 |
You need to create your own page with wordpress and put the shortcode [cv-hal] on the content. |
| 51 |
|
| 52 |
= What can i do to personalize my page ? = |
| 53 |
|
| 54 |
You can display multiple page with different IDs with parameters on the shortcode, example : [cv-hal id=184 type=authStructId_i] |
| 55 |
|
| 56 |
Type of identifier are : |
| 57 |
|
| 58 |
* IdHal = authIdHal_s |
| 59 |
* Structure Id = structId_i |
| 60 |
* AuthorStructure Id = authStructId_i |
| 61 |
* Author Id = authId_i |
| 62 |
* ANR Project Id = anrProjectId_i |
| 63 |
* European Project Id = europeanProjectId_i |
| 64 |
* Collection Id = collCode_s |
| 65 |
|
| 66 |
You can add in the shortcode "contact=yes" or "contact=no" to recover HAL Contact. |
| 67 |
|
| 68 |
You can add a new shortcode [nb-doc] to display the number of documents. |
| 69 |
|
| 70 |
= Error Code = |
| 71 |
|
| 72 |
* CURL : You need to enable extension PHP php_curl. You can do it through the repository **Apache/bin** and edit the file **php.ini** then uncomment the line **;extension=php_curl.dll** |
| 73 |
|
| 74 |
== Screenshots == |
| 75 |
|
| 76 |
1. Screenshot page settings in admin menu |
| 77 |
2. Screenshot widget settings in admin menu |
| 78 |
3. Screenshot example page client |
| 79 |
|
| 80 |
== Changelog == |
| 81 |
|
| 82 |
= 2.0.7 = |
| 83 |
*Release Date - 11 January 2019* |
| 84 |
|
| 85 |
Page & Widget : |
| 86 |
|
| 87 |
* Using a filter date more precise to display last publications |
| 88 |
|
| 89 |
= 2.0.6 = |
| 90 |
*Release Date - 28 September 2018* |
| 91 |
|
| 92 |
Page & Widget : |
| 93 |
|
| 94 |
* Add the identifier authId_i for author |
| 95 |
|
| 96 |
|
| 97 |
= 2.0.5 = |
| 98 |
*Release Date - 14 February 2017* |
| 99 |
|
| 100 |
Code : |
| 101 |
|
| 102 |
* Code modification |
| 103 |
|
| 104 |
= 2.0.4 = |
| 105 |
*Release Date - 3 February 2017* |
| 106 |
|
| 107 |
Page : |
| 108 |
|
| 109 |
* Add/Change type of Id : Struct Id = structId_i (all structures) / AuthorStruct Id = authStructId_i (structures directly linked with the author) |
| 110 |
If you had some questions about this modification, contact the developer. |
| 111 |
|
| 112 |
= 2.0.3 = |
| 113 |
*Release Date - 24 January 2017* |
| 114 |
|
| 115 |
Page : |
| 116 |
|
| 117 |
* CSS modifications |
| 118 |
|
| 119 |
= 2.0.2 = |
| 120 |
*Release Date - 07 December 2016* |
| 121 |
|
| 122 |
Page : |
| 123 |
|
| 124 |
* Libraries jQplot and PieRenderer are load if the metadata "Disciplines" is checked ! |
| 125 |
|
| 126 |
= 2.0.1 = |
| 127 |
*Release Date - 28 July 2016* |
| 128 |
|
| 129 |
General : |
| 130 |
|
| 131 |
* Fix minor bugs |
| 132 |
|
| 133 |
= 2.0 = |
| 134 |
*Release Date - 23 March 2016* |
| 135 |
|
| 136 |
General : |
| 137 |
|
| 138 |
* **New** Add a shortcode [nb-doc] who return number of documents (same utilisation as [cv-hal]) |
| 139 |
|
| 140 |
Page : |
| 141 |
|
| 142 |
* Add possibility to display in "Contact" informations about a researcher with an IdHAL |
| 143 |
|
| 144 |
|
| 145 |
= 1.4.4 = |
| 146 |
*Release Date - 18 March 2016* |
| 147 |
|
| 148 |
Page : |
| 149 |
|
| 150 |
* **Important :** Fix bug Publications with DocType ! |
| 151 |
* Add class CSS for each DocType block (Example : grp-div-ART) |
| 152 |
|
| 153 |
= 1.4.3 = |
| 154 |
*Release Date - 16 March 2016* |
| 155 |
|
| 156 |
Page : |
| 157 |
|
| 158 |
* Fix bug about synchronisation of metadata with HAL |
| 159 |
* Fix bug about button with theme Sixteen (CSS) |
| 160 |
|
| 161 |
= 1.4.2 = |
| 162 |
*Release Date - 7 March 2016* |
| 163 |
|
| 164 |
Page : |
| 165 |
|
| 166 |
* Delete the curl request to the API for DocType |
| 167 |
* Create new repository JSON with DocType => Improving performance |
| 168 |
|
| 169 |
= 1.4.1 = |
| 170 |
*Release Date - 17 February 2016* |
| 171 |
|
| 172 |
Widget : |
| 173 |
|
| 174 |
* Citation Full change to Citation Ref (shorter) |
| 175 |
|
| 176 |
Page : |
| 177 |
|
| 178 |
* **Important :** Now you can give parameters to the shortcode [cv-hal] to display multiple pages on your website with different IDs. If the shortcode doesn't have parameters, he will take parameters from the settings page of the plugin. |
| 179 |
Example : [cv-hal] => Settings Page Plugin ; [cv-hal id=184 type=authStructId_i] => Identifier Structure 184 |
| 180 |
|
| 181 |
* Bug fixed on link URL in Metadata |
| 182 |
* Improve the performance of the page |
| 183 |
|
| 184 |
= 1.4 = |
| 185 |
*Release Date - 9 February 2016* |
| 186 |
|
| 187 |
Widget : |
| 188 |
|
| 189 |
* Add a verification about curl extension in php config |
| 190 |
* New interface to personalize your widget : Number of documents to show, Display type (Title or Citation) |
| 191 |
* Multiple Ids are allowed (separated by ",") |
| 192 |
|
| 193 |
Page : |
| 194 |
|
| 195 |
* Add a verification about curl extension in php config |
| 196 |
* Minor change on the interface "Publications" |
| 197 |
* Add traduction on Typdoc |
| 198 |
* Typdoc in the good order (ART, COMM, etc...) |
| 199 |
* Add class or id for each item |
| 200 |
* You can add a stylesheet in the repository "css" and call it "cvhal.css" to surcharge the css of the plugin and personalize your page. **Deleted** |
| 201 |
|
| 202 |
= 1.3 = |
| 203 |
*Release Date - 21 January 2016* |
| 204 |
|
| 205 |
* Add USER_AGENT for curl |
| 206 |
* Add conditions to call the API HAL |
| 207 |
|
| 208 |
= 1.2 = |
| 209 |
*Release Date - 15 January 2016* |
| 210 |
|
| 211 |
* Correct some bugs |
| 212 |
|
| 213 |
= 1.1 = |
| 214 |
*Release Date - 7 September 2015* |
| 215 |
|
| 216 |
* Bootstrap library deleted |
| 217 |
* New appearance for the plugin |
| 218 |
|
| 219 |
== Upgrade Notice == |
| 220 |
|
| 221 |
Nothing for the moment... |
| 222 |
|