Feature #1508

TBX: 0.7.7, transfert some HTML equivalent elements from source to HTML edition pages in XML import module

Ajouté par Serge Heiden il y a plus de 3 ans. Mis à jour il y a plus de 3 ans.

Statut:New Début:19/09/2015
Priorité:Normal Echéance:
Assigné à:- % réalisé:

80%

Catégorie:Edition Temps passé: -
Version cible:TXM 0.7.8

Description

Currently the pager of the XML/w+CSV import module doesn't transfer any element having some HTML semantics to the HTML edition pages although they are present in the WTC source, that is those structures are available for CQL queries.

It may be useful to have some HTML equivalent source elements available in corpus editions. For example, web links (<a> elements) which could be interpreted by the current edition HTML renderer. Other elements could be considered: <p>, <i>... (most HTML elements)

Discussion

Default XML/w+CSV import module should not interpret any semantics of XML elements. But it is currently already interpreting TEI elements semantics for various purpose. As for the TEI semantics aware XTZ importer that we have to develop, we may add specific semantics mapping from some TEI elements found in the sources to some (X)HTML elements rendered in the HTML editions.

Solution for links

Produce a '<a href="url" target="output">url</a>' element in HTML pages if present in the source as '<ref target="url">url</ref>'. The 'output' frame could receive all links followed by default.

MD: ok but the content of the a elements is tokenized

Historique

#1 Mis à jour par Alexey Lavrentev il y a plus de 3 ans

Should not we try to integrate the XTZImporter macro (#1288) that provides a more general solution to preserving XML structures in the HTML edition pages?

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

  • Description mis à jour (diff)

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

  • % réalisé changé de 0 à 80

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

  • Sujet changé de TBX: 0.7.7, transfert some HTML elements from source to HTML edition pages in XML import module à TBX: 0.7.7, transfert some HTML equivalent elements from source to HTML edition pages in XML import module
  • Description mis à jour (diff)

Formats disponibles : Atom PDF