| 1 |
=== HAL === |
| 2 |
Contributors: friz, ccsd |
| 3 |
Tags: publication, HAL, archive |
| 4 |
Requires at least: 4.0 |
| 5 |
Tested up to: 4.4.2 |
| 6 |
Stable tag: 1.4.2 |
| 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 adress : http://support.ccsd.cnrs.fr/ |
| 45 |
|
| 46 |
Or you can contact the developer at this adress : 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 |
You can display multiple page with different IDs with parameters on the shortcode, example : [cv-hal id=184 type=authStructId_i] |
| 52 |
|
| 53 |
Type of identifier are : |
| 54 |
|
| 55 |
* IdHal = authIdHal_s |
| 56 |
* Structure Id = authStructId_i |
| 57 |
* ANR Project Id = anrProjectId_i |
| 58 |
* European Project Id = europeanProjectId_i |
| 59 |
* Collection Id = collCode_s |
| 60 |
|
| 61 |
= Error Code = |
| 62 |
|
| 63 |
* 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** |
| 64 |
|
| 65 |
== Screenshots == |
| 66 |
|
| 67 |
1. Screenshot page settings in admin menu |
| 68 |
2. Screenshot widget settings in admin menu |
| 69 |
3. Screenshot example page client |
| 70 |
|
| 71 |
== Changelog == |
| 72 |
|
| 73 |
= 1.4.2 = |
| 74 |
*Release Date - 7 March 2016* |
| 75 |
|
| 76 |
Page : |
| 77 |
|
| 78 |
* Delete the curl request to the API for DocType |
| 79 |
* Create new repository JSON with DocType => Improving performance |
| 80 |
|
| 81 |
= 1.4.1 = |
| 82 |
*Release Date - 17 February 2016* |
| 83 |
|
| 84 |
Widget : |
| 85 |
|
| 86 |
* Citation Full change to Citation Ref (shorter) |
| 87 |
|
| 88 |
Page : |
| 89 |
|
| 90 |
* **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. |
| 91 |
Example : [cv-hal] => Settings Page Plugin ; [cv-hal id=184 type=authStructId_i] => Identifier Structure 184 |
| 92 |
|
| 93 |
* Bug fixed on link URL in Metadata |
| 94 |
* Improve the performance of the page |
| 95 |
|
| 96 |
= 1.4 = |
| 97 |
*Release Date - 9 February 2016* |
| 98 |
|
| 99 |
Widget : |
| 100 |
|
| 101 |
* Add a verification about curl extension in php config |
| 102 |
* New interface to personalize your widget : Number of documents to show, Display type (Title or Citation) |
| 103 |
* Multiple Ids are allowed (separated by ",") |
| 104 |
|
| 105 |
Page : |
| 106 |
|
| 107 |
* Add a verification about curl extension in php config |
| 108 |
* Minor change on the interface "Publications" |
| 109 |
* Add traduction on Typdoc |
| 110 |
* Typdoc in the good order (ART, COMM, etc...) |
| 111 |
* Add class or id for each item |
| 112 |
* 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** |
| 113 |
|
| 114 |
= 1.3 = |
| 115 |
*Release Date - 21 January 2016* |
| 116 |
|
| 117 |
* Add USER_AGENT for curl |
| 118 |
* Add conditions to call the API HAL |
| 119 |
|
| 120 |
= 1.2 = |
| 121 |
*Release Date - 15 January 2016* |
| 122 |
|
| 123 |
* Correct some bugs |
| 124 |
|
| 125 |
= 1.1 = |
| 126 |
*Release Date - 7 September 2015* |
| 127 |
|
| 128 |
* Bootstrap library deleted |
| 129 |
* New appearance for the plugin |
| 130 |
|
| 131 |
== Upgrade Notice == |
| 132 |
|
| 133 |
Nothing for the moment... |
| 134 |
|