<?xml
version="1.0" encoding="utf-8"?>
<rss version="2.0" 
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:atom="http://www.w3.org/2005/Atom"
>

<channel xml:lang="fr">
	<title>zQR-Codes</title>
	<link>https://qrc.dnc.global/</link>
	
	<language>fr</language>
	<generator>SPIP - www.spip.net</generator>
	<atom:link href="https://qrc.dnc.global/spip.php?page=backend" rel="self" type="application/rss+xml" />




<item xml:lang="fr">
		<title>API HTTP Rest</title>
		<link>https://qrc.dnc.global/API-HTTP-Rest</link>
		<guid isPermaLink="true">https://qrc.dnc.global/API-HTTP-Rest</guid>
		<dc:date>2020-11-03T14:48:04Z</dc:date>
		<dc:format>text/html</dc:format>
		<dc:language>fr</dc:language>
		<dc:creator>i-Tego WM</dc:creator>



		<description>
&lt;p&gt;zQR-Codes expose une API HTTP Rest. &lt;br class='autobr' /&gt;
Acc&#233;der &#224; l'API &lt;br class='autobr' /&gt;
L'acc&#232;s &#224; l'API est limit&#233; au cadre d'un abonnement donn&#233;. L'abonnement doit &#234;tre valide. &lt;br class='autobr' /&gt;
L'acc&#232;s &#224; l'API n&#233;cessite donc de fournir dans la requ&#234;te les identifiants de l'utilisateur (login et password utilis&#233;s pour la connexion &#224; l'application zQR-Codes avec i-Tego SaaS). &lt;br class='autobr' /&gt;
Exemple : https://login:password@qrc.dnc.global/api/json/qrcodes &lt;br class='autobr' /&gt;
Op&#233;rations permises par l'API &lt;br class='autobr' /&gt;
L'API permet &#224; un utilisateur d'effectuer les op&#233;rations CRUD sur la table des QR-Codes en (...)&lt;/p&gt;


-
&lt;a href="https://qrc.dnc.global/-Documentation-" rel="directory"&gt;Documentation&lt;/a&gt;


		</description>


 <content:encoded>&lt;div class='rss_chapo'&gt;&lt;p&gt;zQR-Codes expose une API HTTP Rest.&lt;/p&gt;&lt;/div&gt;
		&lt;div class='rss_texte'&gt;&lt;h3 class=&#034;spip&#034;&gt;Acc&#233;der &#224; l'API&lt;/h3&gt;
&lt;p&gt;L'acc&#232;s &#224; l'API est limit&#233; au cadre d'un abonnement donn&#233;. L'abonnement doit &#234;tre valide.&lt;/p&gt;
&lt;p&gt;L'acc&#232;s &#224; l'API n&#233;cessite donc de fournir dans la requ&#234;te les identifiants de l'utilisateur (login et password utilis&#233;s pour la connexion &#224; l'application zQR-Codes avec i-Tego SaaS).&lt;/p&gt;
&lt;p&gt;Exemple :&lt;/p&gt;
&lt;div style='text-align: left;' class='spip_code' dir='ltr'&gt;&lt;code&gt;https://login:password@qrc.dnc.global/api/json/qrcodes&lt;/code&gt;&lt;/div&gt;&lt;h3 class=&#034;spip&#034;&gt;Op&#233;rations permises par l'API&lt;/h3&gt;
&lt;p&gt;L'API permet &#224; un utilisateur d'effectuer les op&#233;rations CRUD sur la table des QR-Codes en fonction de la m&#233;thode de la requ&#234;te HTTP GET, POST, PUT ou DELETE :&lt;/p&gt;
&lt;h3 class=&#034;spip&#034;&gt;Formats&lt;/h3&gt;
&lt;p&gt;Dans l'&#233;tat actuel du d&#233;veloppement, l'API de O-DGuide n'expose que le format suivant :&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Format json&lt;/strong&gt;&lt;br class='autobr' /&gt;
Retourne un simple array. Exemple : la requ&#234;te :&lt;/p&gt;
&lt;div style='text-align: left;' class='spip_code' dir='ltr'&gt;&lt;code&gt;https://qrc.dnc.global/api/json/qrcode/1&lt;/code&gt;&lt;/div&gt;
&lt;p&gt;retourne :&lt;/p&gt;
&lt;div class=&#034;coloration_code code&#034;&gt;&lt;div class=&#034;spip_javascript code&#034; data-clipboard-text=&#034;&#034;&gt;&lt;div class=&#034;javascript&#034;&gt;&lt;ol&gt;&lt;li style=&#034;font-weight: normal; vertical-align:top;&#034;&gt;&lt;div style=&#034;&#034;&gt; &lt;/div&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;h3 class=&#034;spip&#034;&gt;Types&lt;/h3&gt;
&lt;p&gt;Dans l'&#233;tat actuel du d&#233;veloppement, l'API de O-DGuide n'expose que le type 'qrcode'.&lt;/p&gt;
&lt;h3 class=&#034;spip&#034;&gt;Actions&lt;/h3&gt;
&lt;p&gt;Suivant le paradigme HTTP Rest, les actions d&#233;coulent de la m&#233;thode HTTP utilis&#233;e pour appeler l'API : get, post, put ou delete.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Formes g&#233;n&#233;rales des requ&#234;tes&lt;/strong&gt;&lt;br class='autobr' /&gt; Une requ&#234;te GET prend la forme :&lt;br class='autobr' /&gt;
&lt;code class='spip_code' dir='ltr'&gt;https://qrc.dnc.global/api/[path_parameters] | [?request_parameters]&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class=&#034;spip-puce ltr&#034;&gt;&lt;b&gt;&#8211;&lt;/b&gt;&lt;/span&gt; path_parameters : &lt;format&gt;/&lt;type&gt;[/ressource] &lt;br class='autobr' /&gt;
g&#233;n&#233;ralement ce sera : json/qrcode, NN indiquant l'ID d'un QR-Code pr&#233;cis.&lt;/p&gt;
&lt;p&gt;&lt;span class=&#034;spip-puce ltr&#034;&gt;&lt;b&gt;&#8211;&lt;/b&gt;&lt;/span&gt; query_parameters : dans le cas de GET, il s'agit des classiques param&#232;tres d'URL, tels que &#034;url_cible=https://mon_site.com/blabla.php&#034;.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Exemple de requ&#234;tes GET&lt;/strong&gt;
&lt;br /&gt;&lt;span class=&#034;spip-puce ltr&#034;&gt;&lt;b&gt;&#8211;&lt;/b&gt;&lt;/span&gt; Afficher la liste des QR-Codes disponibles pour l'auteur authentifi&#233; :&lt;/p&gt;
&lt;div style='text-align: left;' class='spip_code' dir='ltr'&gt;&lt;code&gt;https://qrc.dnc.global/api/json/qrcode&lt;/code&gt;&lt;/div&gt;
&lt;p&gt;&lt;span class=&#034;spip-puce ltr&#034;&gt;&lt;b&gt;&#8211;&lt;/b&gt;&lt;/span&gt; Acc&#232;s &#224; une ressource pr&#233;cise :&lt;/p&gt;
&lt;div style='text-align: left;' class='spip_code' dir='ltr'&gt;&lt;code&gt;https://qrc.dnc.global/api/json/qrcode/33&lt;/code&gt;&lt;/div&gt;
&lt;p&gt;o&#249; 33 est l'ID de ressource, en l'occurrence la valeur du champ id_qrcode de l'enregistrement dans la table.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Requ&#234;tes avec POST, PUT et DELETE&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Ces requ&#234;tes doivent &#234;tre g&#233;n&#233;r&#233;es programmatiquement : par exemple avec cURL c&#244;t&#233; serveur ou en Javascript c&#244;t&#233; client. On trouve couramment des biblioth&#232;que exposant des fonctions de ce type :&lt;/p&gt;
&lt;p&gt;&lt;span class=&#034;spip-puce ltr&#034;&gt;&lt;b&gt;&#8211;&lt;/b&gt;&lt;/span&gt; post_collection($requete, $reponse)&lt;br class='autobr' /&gt;
Cr&#233;er une nouvelle ressource dans la collection (cr&#233;er un nouvel enregistrement dans la table).&lt;/p&gt;
&lt;p&gt;&lt;span class=&#034;spip-puce ltr&#034;&gt;&lt;b&gt;&#8211;&lt;/b&gt;&lt;/span&gt; put_ressource($requete, $reponse)&lt;br class='autobr' /&gt;
Ce cas est sensiblement le m&#234;me que le pr&#233;c&#233;dent, &#224; ceci pr&#232;s que l'on travaille sur la modification d'une ressource pr&#233;cise.&lt;/p&gt;
&lt;p&gt;&lt;span class=&#034;spip-puce ltr&#034;&gt;&lt;b&gt;&#8211;&lt;/b&gt;&lt;/span&gt; delete_ressource($requete, $reponse)&lt;br class='autobr' /&gt;
Supprimer d&#233;finitivement une ressource.&lt;/p&gt;
&lt;p&gt;Pour la transmission des donn&#233;es aux requ&#234;tes avec POST et PUT, on applique le format application/json. Dans l'exemple qui suit, on passe deux tableaux PHP, la fonction se chargeant de l'encodage JSON et de la d&#233;claration. On passe les param&#232;tres de la fa&#231;on suivante :&lt;/p&gt;
&lt;div class=&#034;coloration_code code&#034;&gt;&lt;div class=&#034;spip_php code&#034;&gt;&lt;div class=&#034;php&#034;&gt;&lt;ol&gt;&lt;li style=&#034;font-weight: normal; vertical-align:top;&#034;&gt;&lt;div style=&#034;&#034;&gt;&lt;span style=&#034;color: #000088;&#034;&gt;$path_parameters&lt;/span&gt; &lt;span style=&#034;color: #339933;&#034;&gt;=&lt;/span&gt; &lt;span style=&#034;color: #0000ff;&#034;&gt;&#034;json/qrcode&#034;&lt;/span&gt;&lt;span style=&#034;color: #339933;&#034;&gt;;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&#034;font-weight: normal; vertical-align:top;&#034;&gt;&lt;div style=&#034;&#034;&gt; &lt;/div&gt;&lt;/li&gt;
&lt;li style=&#034;font-weight: normal; vertical-align:top;&#034;&gt;&lt;div style=&#034;&#034;&gt;&lt;span style=&#034;color: #000088;&#034;&gt;$query_parameters&lt;/span&gt; &lt;span style=&#034;color: #339933;&#034;&gt;=&lt;/span&gt; &lt;a href=&#034;http://www.php.net/array&#034;&gt;&lt;span style=&#034;color: #990000;&#034;&gt;array&lt;/span&gt;&lt;/a&gt;&lt;span style=&#034;color: #009900;&#034;&gt;&amp;#40;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&#034;font-weight: normal; vertical-align:top;&#034;&gt;&lt;div style=&#034;&#034;&gt; &lt;span style=&#034;color: #0000ff;&#034;&gt;'id_auteur'&lt;/span&gt; &lt;span style=&#034;color: #339933;&#034;&gt;=&gt;&lt;/span&gt; &lt;span style=&#034;color: #0000ff;&#034;&gt;'1'&lt;/span&gt;&lt;span style=&#034;color: #339933;&#034;&gt;,&lt;/span&gt; &lt;span style=&#034;color: #666666; font-style: italic;&#034;&gt;// SPIP administrator&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&#034;font-weight: normal; vertical-align:top;&#034;&gt;&lt;div style=&#034;&#034;&gt; &lt;span style=&#034;color: #0000ff;&#034;&gt;'titre'&lt;/span&gt; &lt;span style=&#034;color: #339933;&#034;&gt;=&gt;&lt;/span&gt; &lt;span style=&#034;color: #000088;&#034;&gt;$titre&lt;/span&gt;&lt;span style=&#034;color: #339933;&#034;&gt;,&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&#034;font-weight: normal; vertical-align:top;&#034;&gt;&lt;div style=&#034;&#034;&gt; &lt;span style=&#034;color: #0000ff;&#034;&gt;'url_cible'&lt;/span&gt; &lt;span style=&#034;color: #339933;&#034;&gt;=&gt;&lt;/span&gt; &lt;span style=&#034;color: #000088;&#034;&gt;$url_cible&lt;/span&gt;&lt;span style=&#034;color: #339933;&#034;&gt;,&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&#034;font-weight: normal; vertical-align:top;&#034;&gt;&lt;div style=&#034;&#034;&gt; &lt;span style=&#034;color: #0000ff;&#034;&gt;'statut'&lt;/span&gt; &lt;span style=&#034;color: #339933;&#034;&gt;=&gt;&lt;/span&gt; &lt;span style=&#034;color: #0000ff;&#034;&gt;'publie'&lt;/span&gt; &lt;/div&gt;&lt;/li&gt;
&lt;li style=&#034;font-weight: normal; vertical-align:top;&#034;&gt;&lt;div style=&#034;&#034;&gt; &lt;span style=&#034;color: #009900;&#034;&gt;&amp;#41;&lt;/span&gt;&lt;span style=&#034;color: #339933;&#034;&gt;;&lt;/span&gt; &lt;/div&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;/div&gt;&lt;/div&gt;&lt;p class='download code_download'&gt;&lt;a href='https://qrc.dnc.global/local/cache-code/d5f2102aeb5eeb68648365ca36cd6bd5.txt'&gt;T&#233;l&#233;charger&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;
&lt;p&gt;et voici la fonction :&lt;/p&gt;
&lt;div class=&#034;coloration_code code&#034;&gt;&lt;div class=&#034;spip_php code&#034;&gt;&lt;div class=&#034;php&#034;&gt;&lt;ol&gt;&lt;li style=&#034;font-weight: normal; vertical-align:top;&#034;&gt;&lt;div style=&#034;&#034;&gt;&lt;span style=&#034;color: #000000; font-weight: bold;&#034;&gt;function&lt;/span&gt; &lt;a href=&#034;http://www.php.net/http_request&#034;&gt;&lt;span style=&#034;color: #990000;&#034;&gt;http_request&lt;/span&gt;&lt;/a&gt;&lt;span style=&#034;color: #009900;&#034;&gt;&amp;#40;&lt;/span&gt; &lt;span style=&#034;color: #000088;&#034;&gt;$apiurl&lt;/span&gt;&lt;span style=&#034;color: #339933;&#034;&gt;,&lt;/span&gt; &lt;span style=&#034;color: #000088;&#034;&gt;$method&lt;/span&gt;&lt;span style=&#034;color: #339933;&#034;&gt;,&lt;/span&gt; &lt;span style=&#034;color: #000088;&#034;&gt;$path_parameters&lt;/span&gt;&lt;span style=&#034;color: #339933;&#034;&gt;=&lt;/span&gt;&lt;span style=&#034;color: #009900; font-weight: bold;&#034;&gt;null&lt;/span&gt;&lt;span style=&#034;color: #339933;&#034;&gt;,&lt;/span&gt; &lt;span style=&#034;color: #000088;&#034;&gt;$query_parameters&lt;/span&gt;&lt;span style=&#034;color: #339933;&#034;&gt;=&lt;/span&gt;&lt;span style=&#034;color: #009900; font-weight: bold;&#034;&gt;null&lt;/span&gt; &lt;span style=&#034;color: #009900;&#034;&gt;&amp;#41;&lt;/span&gt; &lt;span style=&#034;color: #009900;&#034;&gt;&#123;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&#034;font-weight: normal; vertical-align:top;&#034;&gt;&lt;div style=&#034;&#034;&gt; &lt;/div&gt;&lt;/li&gt;
&lt;li style=&#034;font-weight: normal; vertical-align:top;&#034;&gt;&lt;div style=&#034;&#034;&gt; &lt;span style=&#034;color: #000088;&#034;&gt;$url&lt;/span&gt; &lt;span style=&#034;color: #339933;&#034;&gt;=&lt;/span&gt; &lt;span style=&#034;color: #000088;&#034;&gt;$apiurl&lt;/span&gt; &lt;span style=&#034;color: #339933;&#034;&gt;.&lt;/span&gt; &lt;span style=&#034;color: #000088;&#034;&gt;$path_parameters&lt;/span&gt;&lt;span style=&#034;color: #339933;&#034;&gt;;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&#034;font-weight: normal; vertical-align:top;&#034;&gt;&lt;div style=&#034;&#034;&gt; &lt;span style=&#034;color: #000088;&#034;&gt;$h&lt;/span&gt; &lt;span style=&#034;color: #339933;&#034;&gt;=&lt;/span&gt; &lt;a href=&#034;http://www.php.net/curl_init&#034;&gt;&lt;span style=&#034;color: #990000;&#034;&gt;curl_init&lt;/span&gt;&lt;/a&gt;&lt;span style=&#034;color: #009900;&#034;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&#034;color: #000088;&#034;&gt;$url&lt;/span&gt;&lt;span style=&#034;color: #009900;&#034;&gt;&amp;#41;&lt;/span&gt;&lt;span style=&#034;color: #339933;&#034;&gt;;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&#034;font-weight: normal; vertical-align:top;&#034;&gt;&lt;div style=&#034;&#034;&gt; &lt;span style=&#034;color: #b1b100;&#034;&gt;if&lt;/span&gt; &lt;span style=&#034;color: #009900;&#034;&gt;&amp;#40;&lt;/span&gt; &lt;span style=&#034;color: #339933;&#034;&gt;!&lt;/span&gt;&lt;a href=&#034;http://www.php.net/empty&#034;&gt;&lt;span style=&#034;color: #990000;&#034;&gt;empty&lt;/span&gt;&lt;/a&gt;&lt;span style=&#034;color: #009900;&#034;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&#034;color: #000088;&#034;&gt;$query_parameters&lt;/span&gt;&lt;span style=&#034;color: #009900;&#034;&gt;&amp;#41;&lt;/span&gt; &lt;span style=&#034;color: #009900;&#034;&gt;&amp;#41;&lt;/span&gt; &lt;/div&gt;&lt;/li&gt;
&lt;li style=&#034;font-weight: normal; vertical-align:top;&#034;&gt;&lt;div style=&#034;&#034;&gt; &lt;a href=&#034;http://www.php.net/curl_setopt&#034;&gt;&lt;span style=&#034;color: #990000;&#034;&gt;curl_setopt&lt;/span&gt;&lt;/a&gt;&lt;span style=&#034;color: #009900;&#034;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&#034;color: #000088;&#034;&gt;$h&lt;/span&gt;&lt;span style=&#034;color: #339933;&#034;&gt;,&lt;/span&gt; CURLOPT_POSTFIELDS&lt;span style=&#034;color: #339933;&#034;&gt;,&lt;/span&gt; &lt;a href=&#034;http://www.php.net/json_encode&#034;&gt;&lt;span style=&#034;color: #990000;&#034;&gt;json_encode&lt;/span&gt;&lt;/a&gt;&lt;span style=&#034;color: #009900;&#034;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&#034;color: #000088;&#034;&gt;$query_parameters&lt;/span&gt;&lt;span style=&#034;color: #009900;&#034;&gt;&amp;#41;&lt;/span&gt;&lt;span style=&#034;color: #009900;&#034;&gt;&amp;#41;&lt;/span&gt;&lt;span style=&#034;color: #339933;&#034;&gt;;&lt;/span&gt; &lt;/div&gt;&lt;/li&gt;
&lt;li style=&#034;font-weight: normal; vertical-align:top;&#034;&gt;&lt;div style=&#034;&#034;&gt; &lt;span style=&#034;color: #b1b100;&#034;&gt;if&lt;/span&gt; &lt;span style=&#034;color: #009900;&#034;&gt;&amp;#40;&lt;/span&gt; &lt;span style=&#034;color: #000088;&#034;&gt;$method&lt;/span&gt; &lt;span style=&#034;color: #339933;&#034;&gt;==&lt;/span&gt; &lt;span style=&#034;color: #0000ff;&#034;&gt;&#034;POST&#034;&lt;/span&gt; &lt;span style=&#034;color: #009900;&#034;&gt;&amp;#41;&lt;/span&gt; &lt;span style=&#034;color: #009900;&#034;&gt;&#123;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&#034;font-weight: normal; vertical-align:top;&#034;&gt;&lt;div style=&#034;&#034;&gt; &lt;span style=&#034;color: #000088;&#034;&gt;$header&lt;/span&gt;&lt;span style=&#034;color: #009900;&#034;&gt;&amp;#91;&lt;/span&gt;&lt;span style=&#034;color: #009900;&#034;&gt;&amp;#93;&lt;/span&gt; &lt;span style=&#034;color: #339933;&#034;&gt;=&lt;/span&gt; &lt;span style=&#034;color: #0000ff;&#034;&gt;&#034;content-type: application/json&#034;&lt;/span&gt;&lt;span style=&#034;color: #339933;&#034;&gt;;&lt;/span&gt; &lt;/div&gt;&lt;/li&gt;
&lt;li style=&#034;font-weight: normal; vertical-align:top;&#034;&gt;&lt;div style=&#034;&#034;&gt; &lt;span style=&#034;color: #009900;&#034;&gt;&#125;&lt;/span&gt; &lt;span style=&#034;color: #b1b100;&#034;&gt;else&lt;/span&gt; &lt;span style=&#034;color: #b1b100;&#034;&gt;if&lt;/span&gt; &lt;span style=&#034;color: #009900;&#034;&gt;&amp;#40;&lt;/span&gt; &lt;span style=&#034;color: #000088;&#034;&gt;$method&lt;/span&gt; &lt;span style=&#034;color: #339933;&#034;&gt;!==&lt;/span&gt; &lt;span style=&#034;color: #0000ff;&#034;&gt;&#034;GET&#034;&lt;/span&gt; &lt;span style=&#034;color: #009900;&#034;&gt;&amp;#41;&lt;/span&gt; &lt;span style=&#034;color: #009900;&#034;&gt;&#123;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&#034;font-weight: normal; vertical-align:top;&#034;&gt;&lt;div style=&#034;&#034;&gt; &lt;a href=&#034;http://www.php.net/curl_setopt&#034;&gt;&lt;span style=&#034;color: #990000;&#034;&gt;curl_setopt&lt;/span&gt;&lt;/a&gt;&lt;span style=&#034;color: #009900;&#034;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&#034;color: #000088;&#034;&gt;$h&lt;/span&gt;&lt;span style=&#034;color: #339933;&#034;&gt;,&lt;/span&gt; CURLOPT_CUSTOMREQUEST&lt;span style=&#034;color: #339933;&#034;&gt;,&lt;/span&gt; &lt;span style=&#034;color: #000088;&#034;&gt;$method&lt;/span&gt;&lt;span style=&#034;color: #009900;&#034;&gt;&amp;#41;&lt;/span&gt;&lt;span style=&#034;color: #339933;&#034;&gt;;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&#034;font-weight: normal; vertical-align:top;&#034;&gt;&lt;div style=&#034;&#034;&gt; &lt;span style=&#034;color: #009900;&#034;&gt;&#125;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&#034;font-weight: normal; vertical-align:top;&#034;&gt;&lt;div style=&#034;&#034;&gt; &lt;a href=&#034;http://www.php.net/curl_setopt&#034;&gt;&lt;span style=&#034;color: #990000;&#034;&gt;curl_setopt&lt;/span&gt;&lt;/a&gt;&lt;span style=&#034;color: #009900;&#034;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&#034;color: #000088;&#034;&gt;$h&lt;/span&gt;&lt;span style=&#034;color: #339933;&#034;&gt;,&lt;/span&gt; CURLOPT_FOLLOWLOCATION&lt;span style=&#034;color: #339933;&#034;&gt;,&lt;/span&gt; &lt;span style=&#034;color: #009900; font-weight: bold;&#034;&gt;true&lt;/span&gt;&lt;span style=&#034;color: #009900;&#034;&gt;&amp;#41;&lt;/span&gt;&lt;span style=&#034;color: #339933;&#034;&gt;;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&#034;font-weight: normal; vertical-align:top;&#034;&gt;&lt;div style=&#034;&#034;&gt; &lt;a href=&#034;http://www.php.net/curl_setopt&#034;&gt;&lt;span style=&#034;color: #990000;&#034;&gt;curl_setopt&lt;/span&gt;&lt;/a&gt;&lt;span style=&#034;color: #009900;&#034;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&#034;color: #000088;&#034;&gt;$h&lt;/span&gt;&lt;span style=&#034;color: #339933;&#034;&gt;,&lt;/span&gt; CURLOPT_RETURNTRANSFER&lt;span style=&#034;color: #339933;&#034;&gt;,&lt;/span&gt; &lt;span style=&#034;color: #009900; font-weight: bold;&#034;&gt;true&lt;/span&gt;&lt;span style=&#034;color: #009900;&#034;&gt;&amp;#41;&lt;/span&gt;&lt;span style=&#034;color: #339933;&#034;&gt;;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&#034;font-weight: normal; vertical-align:top;&#034;&gt;&lt;div style=&#034;&#034;&gt; &lt;a href=&#034;http://www.php.net/curl_setopt&#034;&gt;&lt;span style=&#034;color: #990000;&#034;&gt;curl_setopt&lt;/span&gt;&lt;/a&gt;&lt;span style=&#034;color: #009900;&#034;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&#034;color: #000088;&#034;&gt;$h&lt;/span&gt;&lt;span style=&#034;color: #339933;&#034;&gt;,&lt;/span&gt; CURLOPT_TIMEOUT&lt;span style=&#034;color: #339933;&#034;&gt;,&lt;/span&gt; &lt;span style=&#034;color: #cc66cc;&#034;&gt;10&lt;/span&gt;&lt;span style=&#034;color: #009900;&#034;&gt;&amp;#41;&lt;/span&gt;&lt;span style=&#034;color: #339933;&#034;&gt;;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&#034;font-weight: normal; vertical-align:top;&#034;&gt;&lt;div style=&#034;&#034;&gt; &lt;a href=&#034;http://www.php.net/curl_setopt&#034;&gt;&lt;span style=&#034;color: #990000;&#034;&gt;curl_setopt&lt;/span&gt;&lt;/a&gt;&lt;span style=&#034;color: #009900;&#034;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&#034;color: #000088;&#034;&gt;$h&lt;/span&gt;&lt;span style=&#034;color: #339933;&#034;&gt;,&lt;/span&gt; CURLOPT_HTTPHEADER&lt;span style=&#034;color: #339933;&#034;&gt;,&lt;/span&gt; &lt;span style=&#034;color: #000088;&#034;&gt;$header&lt;/span&gt;&lt;span style=&#034;color: #009900;&#034;&gt;&amp;#41;&lt;/span&gt;&lt;span style=&#034;color: #339933;&#034;&gt;;&lt;/span&gt; &lt;/div&gt;&lt;/li&gt;
&lt;li style=&#034;font-weight: normal; vertical-align:top;&#034;&gt;&lt;div style=&#034;&#034;&gt; &lt;/div&gt;&lt;/li&gt;
&lt;li style=&#034;font-weight: normal; vertical-align:top;&#034;&gt;&lt;div style=&#034;&#034;&gt; &lt;span style=&#034;color: #000088;&#034;&gt;$result&lt;/span&gt; &lt;span style=&#034;color: #339933;&#034;&gt;=&lt;/span&gt; &lt;a href=&#034;http://www.php.net/curl_exec&#034;&gt;&lt;span style=&#034;color: #990000;&#034;&gt;curl_exec&lt;/span&gt;&lt;/a&gt;&lt;span style=&#034;color: #009900;&#034;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&#034;color: #000088;&#034;&gt;$h&lt;/span&gt;&lt;span style=&#034;color: #009900;&#034;&gt;&amp;#41;&lt;/span&gt;&lt;span style=&#034;color: #339933;&#034;&gt;;&lt;/span&gt; &lt;/div&gt;&lt;/li&gt;
&lt;li style=&#034;font-weight: normal; vertical-align:top;&#034;&gt;&lt;div style=&#034;&#034;&gt; &lt;a href=&#034;http://www.php.net/curl_close&#034;&gt;&lt;span style=&#034;color: #990000;&#034;&gt;curl_close&lt;/span&gt;&lt;/a&gt;&lt;span style=&#034;color: #009900;&#034;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&#034;color: #000088;&#034;&gt;$h&lt;/span&gt;&lt;span style=&#034;color: #009900;&#034;&gt;&amp;#41;&lt;/span&gt;&lt;span style=&#034;color: #339933;&#034;&gt;;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&#034;font-weight: normal; vertical-align:top;&#034;&gt;&lt;div style=&#034;&#034;&gt; &lt;/div&gt;&lt;/li&gt;
&lt;li style=&#034;font-weight: normal; vertical-align:top;&#034;&gt;&lt;div style=&#034;&#034;&gt; &lt;span style=&#034;color: #b1b100;&#034;&gt;return&lt;/span&gt; &lt;span style=&#034;color: #000088;&#034;&gt;$result&lt;/span&gt;&lt;span style=&#034;color: #339933;&#034;&gt;;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&#034;font-weight: normal; vertical-align:top;&#034;&gt;&lt;div style=&#034;&#034;&gt; &lt;/div&gt;&lt;/li&gt;
&lt;li style=&#034;font-weight: normal; vertical-align:top;&#034;&gt;&lt;div style=&#034;&#034;&gt;&lt;span style=&#034;color: #009900;&#034;&gt;&#125;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;/div&gt;&lt;/div&gt;&lt;p class='download code_download'&gt;&lt;a href='https://qrc.dnc.global/local/cache-code/240f3e9d5b8c479291070175327d26fa.txt'&gt;T&#233;l&#233;charger&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;&lt;/div&gt;
		
		</content:encoded>


		

	</item>
<item xml:lang="en">
		<title>Presentation of zQR-Codes</title>
		<link>https://qrc.dnc.global/Presentation-of-iQR-Codes</link>
		<guid isPermaLink="true">https://qrc.dnc.global/Presentation-of-iQR-Codes</guid>
		<dc:date>2020-10-15T16:17:41Z</dc:date>
		<dc:format>text/html</dc:format>
		<dc:language>en</dc:language>
		



		<description>
&lt;p&gt;Create your own matrices with zQR-Codes and modify the target page at will. &lt;br class='autobr' /&gt;
QR-Codes generated in the conventional way &lt;br class='autobr' /&gt;
Various tools available on the Web allow you to create a QR-Code directly translating the URL of the page to visit. Such a way of doing things, permanently linking the QR-Code to one page and only one, has major drawbacks, for example in the following situations: You have composed a business card or an advertising brochure with a QR-Code plugging into the home page of (...)&lt;/p&gt;


-
&lt;a href="https://qrc.dnc.global/-Documentation-9-" rel="directory"&gt;Documentation&lt;/a&gt;


		</description>


 <content:encoded>&lt;div class='rss_chapo'&gt;&lt;p&gt;Create your own matrices with zQR-Codes and modify the target page at will.&lt;/p&gt;&lt;/div&gt;
		&lt;div class='rss_texte'&gt;&lt;h3 class=&#034;spip&#034;&gt;QR-Codes generated in the conventional way&lt;/h3&gt;
&lt;p&gt;Various tools available on the Web allow you to create a QR-Code directly translating the URL of the page to visit. Such a way of doing things, permanently linking the QR-Code to one page and only one, has major drawbacks, for example in the following situations:&lt;/p&gt;
&lt;p&gt;&lt;span class=&#034;spip-puce ltr&#034;&gt;&lt;b&gt;&#8211;&lt;/b&gt;&lt;/span&gt; You have composed a business card or an advertising brochure with a QR-Code plugging into the home page of your website. What do you do if you change the domain name of your site? If, participating in an exhibition, you want to promote your stand? If, launching a new product you want to connect your visitors directly to that product's page?&lt;/p&gt;
&lt;p&gt;&lt;span class=&#034;spip-puce ltr&#034;&gt;&lt;b&gt;&#8211;&lt;/b&gt;&lt;/span&gt; You have published a catalog of your products at great expense. You have placed QR-Codes in various pages allowing your customers to connect to your website to find out more. Your products evolve, a new product is coming: will you continue to connect your customers to the old product and leave them in the dark about the new product?&lt;/p&gt;
&lt;h3 class=&#034;spip&#034;&gt;Indexed QR-Code&lt;/h3&gt;
&lt;p&gt;&lt;a href=&#034;https://i-tego.com&#034; class='spip_out' rel='external'&gt;i-Tego&lt;/a&gt; offers its QR-Code indexing technique. In this context, the QR-code data is reduced to the domain name of the support site and to an index, for example:&lt;/p&gt;
&lt;p&gt;&lt;a href=&#034;https://qrc.dnc.global/3&#034; class='spip_url auto' rel='nofollow'&gt;https://qrc.dnc.global/3&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The support site receives this URL and translates it using a database and find the &lt;strong&gt;target URL&lt;/strong&gt; out of the index value. The visitor who flashed the QR-Code is immediately redirected to this URL.&lt;/p&gt;
&lt;p&gt;The support site provides all the tools necessary to manage this URL, in particular to change the address at any time.&lt;/p&gt;
&lt;p&gt;In addition, the support site database contains the following entries for each code:
&lt;br /&gt;&lt;span class=&#034;spip-puce ltr&#034;&gt;&lt;b&gt;&#8211;&lt;/b&gt;&lt;/span&gt; a title,
&lt;br /&gt;&lt;span class=&#034;spip-puce ltr&#034;&gt;&lt;b&gt;&#8211;&lt;/b&gt;&lt;/span&gt; a description,
&lt;br /&gt;&lt;span class=&#034;spip-puce ltr&#034;&gt;&lt;b&gt;&#8211;&lt;/b&gt;&lt;/span&gt; statistics of the use of each QR-Code.&lt;/p&gt;
&lt;p&gt;allowing advanced uses such as:&lt;/p&gt;
&lt;p&gt;&lt;span class=&#034;spip-puce ltr&#034;&gt;&lt;b&gt;&#8211;&lt;/b&gt;&lt;/span&gt; display of a particular message;
&lt;br /&gt;&lt;span class=&#034;spip-puce ltr&#034;&gt;&lt;b&gt;&#8211;&lt;/b&gt;&lt;/span&gt; display of several banners offering the visitor the choice of the target page (example opposite);
&lt;br /&gt;&lt;span class=&#034;spip-puce ltr&#034;&gt;&lt;b&gt;&#8211;&lt;/b&gt;&lt;/span&gt; advertising prior to redirection in the form of a banner or video;
&lt;br /&gt;&lt;span class=&#034;spip-puce ltr&#034;&gt;&lt;b&gt;&#8211;&lt;/b&gt;&lt;/span&gt; display of a questionnaire,
&lt;br /&gt;&lt;span class=&#034;spip-puce ltr&#034;&gt;&lt;b&gt;&#8211;&lt;/b&gt;&lt;/span&gt; audio-guide,
&lt;br /&gt;&lt;span class=&#034;spip-puce ltr&#034;&gt;&lt;b&gt;&#8211;&lt;/b&gt;&lt;/span&gt; etc.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Notes:&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class=&#034;spip-puce ltr&#034;&gt;&lt;b&gt;&#8211;&lt;/b&gt;&lt;/span&gt; Use QR-Codes in compliance with regulations and good practice!&lt;/p&gt;
&lt;p&gt;&lt;span class=&#034;spip-puce ltr&#034;&gt;&lt;b&gt;&#8211;&lt;/b&gt;&lt;/span&gt; Another advantage of indexed QR-Codes is their lower density (the URL is shorter), allowing it to be read from further away than a conventional QR-Code of the same size.&lt;/p&gt;&lt;/div&gt;
		
		</content:encoded>


		

	</item>
<item xml:lang="fr">
		<title>Pr&#233;sentation de zQR-Codes</title>
		<link>https://qrc.dnc.global/Presentation-de-iQR-Codes</link>
		<guid isPermaLink="true">https://qrc.dnc.global/Presentation-de-iQR-Codes</guid>
		<dc:date>2020-10-15T13:56:15Z</dc:date>
		<dc:format>text/html</dc:format>
		<dc:language>fr</dc:language>
		



		<description>&lt;p&gt;Avec zQR-Codes cr&#233;ez vos propres matrices et modifiez &#224; volont&#233; la page cible.&lt;/p&gt;
&lt;p&gt;Les QR codes g&#233;n&#233;r&#233;s de fa&#231;on classique&lt;/p&gt;
&lt;p&gt;Diff&#233;rents outils disponibles sur le Web permettent de cr&#233;er un QR-code traduisant directement l'URL de la page &#224; visiter. Une telle fa&#231;on de faire, liant d&#233;finitivement le QR code &#224; une page et une seule, pr&#233;sente des inconv&#233;nients majeurs, par exemple dans les situations suivantes : Vous avez compos&#233; une carte professionnelle ou une plaquette publicitaire avec un QR code branchant sur (...)&lt;/p&gt;

-
&lt;a href="https://qrc.dnc.global/-Documentation-" rel="directory"&gt;Documentation&lt;/a&gt;


		</description>


 <content:encoded>&lt;div class='rss_chapo'&gt;&lt;p&gt;Avec zQR-Codes cr&#233;ez vos propres matrices QR et modifiez &#224; volont&#233; la page cible.&lt;/p&gt;&lt;/div&gt;
		&lt;div class='rss_texte'&gt;&lt;h3 class=&#034;spip&#034;&gt;Les QR codes g&#233;n&#233;r&#233;s de fa&#231;on classique&lt;/h3&gt;
&lt;p&gt;Diff&#233;rents outils disponibles sur le Web permettent de cr&#233;er un QR-code traduisant directement l'URL de la page &#224; visiter. Une telle fa&#231;on de faire, liant d&#233;finitivement le QR code &#224; une page et une seule, pr&#233;sente des inconv&#233;nients majeurs, par exemple dans les situations suivantes :&lt;/p&gt;
&lt;p&gt;&lt;span class=&#034;spip-puce ltr&#034;&gt;&lt;b&gt;&#8211;&lt;/b&gt;&lt;/span&gt; Vous avez compos&#233; une carte professionnelle ou une plaquette publicitaire avec un QR code branchant sur la page d'accueil de votre site Internet. Que faites-vous si vous changez le nom de domaine de votre site ? Si, participant &#224; une exposition, vous voulez faire la promotion de votre stand ? Si, lan&#231;ant un nouveau produit vous voulez brancher directement vos visiteurs sur la page de ce produit ?&lt;/p&gt;
&lt;p&gt;&lt;span class=&#034;spip-puce ltr&#034;&gt;&lt;b&gt;&#8211;&lt;/b&gt;&lt;/span&gt; Vous avez publi&#233; &#224; grand frais un catalogue de vos produits. Vous avez plac&#233; dans diff&#233;rentes pages des QR codes permettant &#224; vos clients de se connecter sur votre site Internet pour en savoir plus. Vos produits &#233;voluent, un nouveau produit arrive : continuerez-vous de connecter vos clients sur l'ancien produit et les laisserez-vous dans l'ignorance du nouveau produit ?&lt;/p&gt;
&lt;h3 class=&#034;spip&#034;&gt;Les QR codes index&#233;s&lt;/h3&gt;
&lt;p&gt;DnC propose sa technique d'indexation des QR-codes. Dans ce contexte, les donn&#233;es d'un QR-code sont r&#233;duites au nom de domaine du site support et &#224; un index, par exemple :&lt;/p&gt;
&lt;p&gt;&lt;a href=&#034;https://qrc.dnc.global/3&#034; class='spip_url auto' rel='nofollow'&gt;https://qrc.dnc.global/3&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Le site support re&#231;oit cette URL et la traduit &#224; l'aide d'une base de donn&#233;es comportant, &#224; la valeur de l'index, une &lt;strong&gt;URL cible&lt;/strong&gt;. Le visiteur qui flashe le QR-Code est imm&#233;diatement redirig&#233; vers cette URL (s'il s'agit d'une page Web, mais ce peut &#234;tre la commande d'un objet connect&#233;, etc.).&lt;/p&gt;
&lt;p&gt;Le site support fournit tous les outils n&#233;cessaires pour g&#233;rer cette URL, en particulier pour en modifier l'adresse &#224; tout moment.&lt;/p&gt;
&lt;p&gt;De plus, la base de donn&#233;es du site support contient les entr&#233;es suivantes pour chaque code :
&lt;br /&gt;&lt;span class=&#034;spip-puce ltr&#034;&gt;&lt;b&gt;&#8211;&lt;/b&gt;&lt;/span&gt; un titre,
&lt;br /&gt;&lt;span class=&#034;spip-puce ltr&#034;&gt;&lt;b&gt;&#8211;&lt;/b&gt;&lt;/span&gt; une description,
&lt;br /&gt;&lt;span class=&#034;spip-puce ltr&#034;&gt;&lt;b&gt;&#8211;&lt;/b&gt;&lt;/span&gt; des statistiques de l'utilisation de chaque QR-Code.&lt;/p&gt;
&lt;p&gt;permettant des usages avanc&#233;s tels que :&lt;/p&gt;
&lt;p&gt;&lt;span class=&#034;spip-puce ltr&#034;&gt;&lt;b&gt;&#8211;&lt;/b&gt;&lt;/span&gt; affichage d'un message particulier ;
&lt;br /&gt;&lt;span class=&#034;spip-puce ltr&#034;&gt;&lt;b&gt;&#8211;&lt;/b&gt;&lt;/span&gt; affichage de plusieurs bandeaux offrant au visiteur le choix de la page cible ;
&lt;br /&gt;&lt;span class=&#034;spip-puce ltr&#034;&gt;&lt;b&gt;&#8211;&lt;/b&gt;&lt;/span&gt; publicit&#233; pr&#233;alable &#224; la redirection sous forme de banni&#232;re ou de vid&#233;o ;
&lt;br /&gt;&lt;span class=&#034;spip-puce ltr&#034;&gt;&lt;b&gt;&#8211;&lt;/b&gt;&lt;/span&gt; affichage d'un questionnaire,
&lt;br /&gt;&lt;span class=&#034;spip-puce ltr&#034;&gt;&lt;b&gt;&#8211;&lt;/b&gt;&lt;/span&gt; audio-guide,
&lt;br /&gt;&lt;span class=&#034;spip-puce ltr&#034;&gt;&lt;b&gt;&#8211;&lt;/b&gt;&lt;/span&gt; etc.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Notes :&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class=&#034;spip-puce ltr&#034;&gt;&lt;b&gt;&#8211;&lt;/b&gt;&lt;/span&gt; Utilisez les QR codes dans le respect de la r&#233;glementation et des bons usages !&lt;/p&gt;
&lt;p&gt;&lt;span class=&#034;spip-puce ltr&#034;&gt;&lt;b&gt;&#8211;&lt;/b&gt;&lt;/span&gt; Un autre avantage des QR codes index&#233;s est leur moindre densit&#233; (l'URL est plus courte), permettant une lecture de plus loin qu'un QR code classique de m&#234;me dimension.&lt;/p&gt;&lt;/div&gt;
		
		</content:encoded>


		

	</item>



</channel>

</rss>
