Task #3366

Import, Edition, use the "w" elements instead of the "span" elements to write the word

Ajouté par Matthieu Decorde il y a plus de 2 ans. Mis à jour il y a plus de 2 ans.

Statut:New Début:06/04/2023
Priorité:Normal Echéance:
Assigné à:- % réalisé:

0%

Catégorie:Import Temps passé: -
Version cible:TXM 0.8.4

Description

Currently word forms are written in <span@id="w_..."><span> elements:

<span title="- n=13765 - w_tdm80j_13765" id="w_tdm80j_13765">comme</span>

This makes complex the discovery of the word elements when parsing the HTML files.

Solution

Use "w" elements to simplify the Javascript manipulations to edit, select the words in editions:

<w title="- n=13765 - w_tdm80j_13765" id="w_tdm80j_13765">comme</w>
TODO:
  • update all import edition steps
  • update the all the javascript code that uses the "span" + "@id="w_" combo to select the word elements
PROBLEM:
  • The Javascript code won't work with the old corpus editions (they can be updated if imported with the XTZ or TRS imports)

Historique

#1 Mis à jour par Matthieu Decorde il y a plus de 2 ans

  • Description mis à jour (diff)

#2 Mis à jour par Serge Heiden il y a plus de 2 ans

  • Description mis à jour (diff)

Formats disponibles : Atom PDF