-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TEI conversion for HTML element <code>
#30
Comments
Bonjour Oriane,
|
Merci pour ta réponse, je ne connaissais pas la balise Par contre j'ai quelques soucis dans l'implémentation, notamment avec cet exemple (https://occitania.forumactif.com/t888-lo-bloguitge-malhum-de-blogs-occitans#8788): <p>
<lb/><code>
<a href="http://ieumaitot.nireblog.com" target="_blank">Ieu maitot !!!!</a>
<br/>
<a href="http://parpalhon.nireblog.com" target="_blank">lo parpalhon vagamond</a>
<br/>
<a href="http://lacabraelolop.canalblog.com" target="_blank">La cabra e lo lop</a>
<br/>
<a href="http://omidelafotografia.nireblog.com" target="_blank">Fotografias e mei…</a>
<br/>
<a href="http://loblogdeujoan.blogspot.com" target="_blank">Lo blòg deu Joan</a>
<br/>
<a href="http://lutz.nireblog.com" target="_blank">Sens títol</a>
<br/>
<a href="http://conselhamistos.blogspot.com/" target="_blank">Conselh amistós de lectura</a>
<br/>
<a href="http://melanizetofre.blogspot.com/" target="_blank">Ma vida amb ieu </a>
<br/>
<a href="http://dictonsoc.blogspot.com/" target="_blank">Marçau Peyrouny</a>
<br/>
<a href="http://taban.canalblog.com/" target="_blank">Mescladis e còps de gula</a>
<br/>
<a href="http://occitania.typepad.fr/" target="_blank">Resson d’Oc</a>
<br/>
<a href="http://rapieta.nireblog.com/" target="_blank">Un jorn t’i tornaràs far !</a>
<br/>
</code>
</p> il semble que la balise code n'accepte pas d'autres balises à l'intérieur... ou bien est-ce qu'il faut que j'échappe toutes les balises ? (c'était un peu l'avantage de |
Bonjour Oriane! Ah oui je vois le problème... Pour le moment je n'ai pas de solution, tu peux utiliser eg et egXML pour marquer les balises et on reviendra peut être dessus si je trouve une meilleure idée (ou comment utiliser code). |
Peux-tu vérifier si la modification fonctionne bien sur ton corpus? Merci d'avance |
Bonjour Juliette,
Je suis tombée sur des posts qui contiennent du texte ou du code à afficher de manière brute, notamment: https://occitania.forumactif.com/t1156-dictada-ocictana#12286, https://occitania.forumactif.com/t1446-dividir-ua-citacion#14520, https://occitania.forumactif.com/t888-lo-bloguitge-malhum-de-blogs-occitans#8788
Floriane m'a parlé des balises
<eg>
et<egXML>
qui sont utilisées dans le doc TEI, alors je m'en suis inspirée pour convertir ces posts.Ma proposition serait de transformer le HTML suivant:
En TEI-COLAF comme suit:
Et si le contenu n'est pas parsable en XML, j'utilise seulement la balise
<eg>
, par exemple:Deviendrait
Qu'est-ce que tu en penses ?
(À noter aussi que ces éléments sont parfois repris dans des citations)
The text was updated successfully, but these errors were encountered: