Task #3366

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

Added by Matthieu Decorde 6 months ago. Updated 6 months ago.

Status:New Start date:04/06/2023
Priority:Normal Due date:
Assignee:- % Done:


Category:Import Spent time: -
Target version:TXM 0.8.4


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.


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>
  • update all import edition steps
  • update the all the javascript code that uses the "span" + "@id="w_" combo to select the word elements
  • The Javascript code won't work with the old corpus editions (they can be updated if imported with the XTZ or TRS imports)


#1 Updated by Matthieu Decorde 6 months ago

  • Description updated (diff)

#2 Updated by Serge Heiden 6 months ago

  • Description updated (diff)

Also available in: Atom PDF