[textwheel ↪ json] 2 commits

Eric Lupinacci <[email protected]>
Newsgroups gmane.comp.web.spip.cvs
Message-ID <[email protected]>
spip/textwheel | 2 commits
-
Par Eric Lupinacci, le 23 avril 2021 à 12h10min : 

Premier essai pour traiter le json en priorité du yaml


*Modifié*
    engine/textwheelruleset.php
    inc/textwheel.php

Détails : https://git.spip.net/spip/textwheel/commit/fa83494d9c2f4b8139a8844c858c18fd80a9c992

==============================
Par Eric Lupinacci, le 23 avril 2021 à 16h05min : 

Maintenant, si le fichier wheel ne possède pas d'extension, on cherche le fichier en lui ajoutant l'extension json ou yaml dans l'ordre choisi par la constante _WHEELS_FORMAT_DEFAUT.
Pour spip on positionne le défaut à json de façon à se passer de la librairie YAML.
Les plugins qui utilisent encore le YAML peuvent toujours fonctionner mais doivent nécessiter le plugin YAML en plus de Textwheel.


*Modifié*
    engine/textwheelruleset.php
    inc/textwheel.php

Détails : https://git.spip.net/spip/textwheel/commit/ba5bc78d29d2054238f18622674435b7641a3968
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.