Nouvelle cht'yte map pour la présentation de logiciel
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<map>
<head>
<title>Nom du logiciel</title>
<template> %s</template>
</head>
<body>
<line name="nom">
<type>text</type>
<lang>Nom du logiciel</lang>
<option>
<size>40</size>
<maxlength>40</maxlength>
<ifEmpty></ifEmpty>
</option>
<result><![CDATA[[align=center][size=20][b] %s[/b][/size][/align]<br /><br />]]></result>
</line>
<line name="logo">
<type>text</type>
<lang>Logo (url)</lang>
<option>
<size>50</size>
<maxlength>200</maxlength>
<ifEmpty></ifEmpty>
</option>
<result><![CDATA[[align=center][img] %s[/img][/align]<br />]]></result>
</line>
<line name="description">
<type>textarea</type>
<lang>Description</lang>
<option>
<rows>200</rows>
<useWysiwyg />
</option>
<result><![CDATA[[align=justify][b]Description :[/b] %s[/align]<br /><br />]]></result>
</line>
<line name="screenshot">
<type>text</type>
<lang>Capture d'écran (url)</lang>
<option>
<size>40</size>
<maxlength>200</maxlength>
</option>
<result><![CDATA[[b]Capture d'écran :[/b][align=center][img] %s[/img][/align]<br /><br />]]></result>
</line>
<line name="site_web">
<type>text</type>
<lang>Site Officiel</lang>
<option>
<size>40</size>
<maxlength>100</maxlength>
<ifEmpty></ifEmpty>
</option>
<result><![CDATA[[b]Site Officiel :[/b] %s<br /><br />]]></result>
</line>
<line name="dl">
<type>text</type>
<lang>Lien de téléchargement (url)</lang>
<option>
<size>40</size>
<maxlength>100</maxlength>
<ifEmpty></ifEmpty>
</option>
<result><![CDATA[[align=center][url= %s][img]images/telecharger.png[/img][/url][/align]<br /><br />]]></result>
</line>
</body>
</map>
Et l'autre pour une présentation d'une extension mozilla
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<map>
<head>
<title>Nom de l'extension</title>
<template> %s</template>
</head>
<body>
<line name="nom">
<type>text</type>
<lang>Nom de l'extension</lang>
<option>
<size>40</size>
<maxlength>40</maxlength>
<ifEmpty></ifEmpty>
</option>
<result><![CDATA[[align=center][size=20][b] %s[/b][/size][/align]<br /><br />]]></result>
</line>
<line name="description">
<type>textarea</type>
<lang>Description</lang>
<option>
<rows>200</rows>
<useWysiwyg />
</option>
<result><![CDATA[[align=justify][b]Description :[/b] %s[/align]<br /><br />]]></result>
</line>
<line name="screenshot">
<type>text</type>
<lang>Capture d'écran (url)</lang>
<option>
<size>40</size>
<maxlength>200</maxlength>
</option>
<result><![CDATA[[b]Capture d'écran :[/b][align=center][img] %s[/img][/align]<br /><br />]]></result>
</line>
<line name="site_web">
<type>text</type>
<lang>Site de l'auteur</lang>
<option>
<size>40</size>
<maxlength>100</maxlength>
<ifEmpty></ifEmpty>
</option>
<result><![CDATA[[b]Site de l'auteur :[/b] %s<br /><br />]]></result>
</line>
<line name="dl">
<type>text</type>
<lang>Lien de l'extension</lang>
<option>
<size>40</size>
<maxlength>100</maxlength>
<ifEmpty></ifEmpty>
</option>
<result><![CDATA[[align=center][url= %s][img]images/ff_extension.png[/img][/url][/align]<br /><br />]]></result>
</line>
</body>
</map>
PS: au passage si quelqu'un peu m'eclairer par rapport à la récupération du titre et le mettre dans le sujet, j'suis preneur. Pour le moment j'ai pas encore trouvé
Et en passant la balise <ifEmpty> ne fonctionne pas
enjoy
