changeset 66:cb712e9d9187

fix
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 23 Nov 2016 09:08:46 +0100
parents 731d6c12f599
children a3050705d836
files Sphinx/source/developers/creating-plugins.rst Sphinx/source/faq/matlab.rst
diffstat 2 files changed, 7 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/Sphinx/source/developers/creating-plugins.rst	Tue Nov 22 15:22:48 2016 +0100
+++ b/Sphinx/source/developers/creating-plugins.rst	Wed Nov 23 09:08:46 2016 +0100
@@ -11,7 +11,7 @@
 --------
 
 Orthanc plugins must use the `plugin SDK
-<https://orthanc.chu.ulg.ac.be/sdk/index.html>`__ and must be written
+<http://sdk.orthanc-server.com/>`__ and must be written
 in C or C++. They must also fullfil the terms of the `GPLv3 license
 <http://www.gnu.org/licenses/quick-guide-gplv3.en.html>`__ that is
 used by the core of Orthanc. Sample code for plugins can be found `in
@@ -27,8 +27,8 @@
 
 Do not hesitate to `contact us
 <http://www.orthanc-server.com/static.php?page=contact>`__ if you wish
-your plugin to be **indexed** in :ref:`this part of the Orthanc Book
-<plugins-contributed>`!
+your plugin to be **indexed** in :ref:`the dedicated part of the
+Orthanc Book <plugins-contributed>`!
 
 
 Structure of the plugins
--- a/Sphinx/source/faq/matlab.rst	Tue Nov 22 15:22:48 2016 +0100
+++ b/Sphinx/source/faq/matlab.rst	Wed Nov 23 09:08:46 2016 +0100
@@ -12,22 +12,21 @@
 built-in `urlread() function
 <http://nl.mathworks.com/help/matlab/ref/urlread.html>`__.  Once must
 simply install a Matlab/Octave library to decode JSON files.  The
-`JSONlab toolkit
-<http://www.mathworks.com/matlabcentral/fileexchange/33381-jsonlab--a-toolbox-to-encode-decode-json-files>`__
-works perfectly to this end.
+`JSONLab toolkit <https://github.com/fangq/jsonlab>`__ works perfectly
+to this end.
 
 .. highlight:: matlab
 
 Using JSONlab, the following code will download and display a DICOM image::
 
   SERIES = 'ae164c84-e5bd0366-ba937a6d-65414092-f294d6b6';
-  URL = 'http://orthanc.chu.ulg.ac.be/demo';
+  URL = 'http://demo.orthanc-server.com/';
 
   # Get information about the instances in this DICOM series
   instances = loadjson(urlread([ URL '/series/' SERIES '/instances' ]));
 
   # Select one slice from the series
-  instance = instances{1,1}.ID
+  instance = instances(1,1).ID
 
   # Decode the slice with Orthanc thanks to the "/matlab" URI
   slice = eval(urlread([ URL '/instances/' instance '/matlab' ]));