Changeset 29012 in spip-zone
- Timestamp:
- Jun 5, 2009, 8:15:14 AM (12 years ago)
- Location:
- _plugins_/export_csv
- Files:
-
- 6 added
- 11 edited
Legend:
- Unmodified
- Added
- Removed
-
_plugins_/export_csv/LISEZ-MOI.txt
r19243 r29012 6 6 ----------------------------------------- 7 7 ----------------------------------------- 8 version 0.2 en test pour SPIP 1.9.2 d8 version 0.2 en test pour SPIP 1.9.2 9 9 ----------------------------------------- 10 10 11 ----------------------------------------- 12 PRÉSENTATION 13 ----------------------------------------- 14 Export au format tableur CSV des articles pour publication papier 15 Extrait certaines données saisies dans SPIP à des fins de publication papier et/ou de publipostage 16 Ce plugin est axé sur les articles SPIP. Il exporte au choix de l’utilisateur les éléments les composants (titre, sous-titre, texte, p.s...) ainsi que : 17 * leur rubrique (et ses éléments la composant) 18 * les mots-clés associés (titre et nom du groupe) : 19 o aux rubriques 20 o aux articles 21 * les pétitions 22 23 voir http://www.spip-contrib.net/Export-CSV-des-articles-pour 11 24 12 25 ----------------------------------------- -
_plugins_/export_csv/balise/excsv_statut.php
r19229 r29012 25 25 $r = spip_fetch_array(spip_query($q)); 26 26 27 switch($r['statut']) { 28 case 'publie' : $return = _T('exportcsv:statut_publie'); 29 break; 30 case 'prive' : $return = _T('exportcsv:statut_prive'); 31 break; 32 } 33 echo $return; 27 $txt = 'exportcsv:'.$r['statut']; 28 return _T($txt); 34 29 } 35 30 ?> -
_plugins_/export_csv/base/exportcsv_librairie.php
r19230 r29012 11 11 ##############################################################*/ 12 12 13 global $debug; $debug = 0; 13 # $debug = 1 : affichage des messages 'ecco_pre' et 'sdn_debug' 14 global $debug, $prefix_t; 15 $debug = 0; $prefix_t = $GLOBALS['table_prefix'].'_'; 16 17 14 18 15 19 if (!defined('_DIR_PLUGIN_EXPORTCSV')){ … … 21 25 define('_DIR_IMG_EXPORTCSV', _DIR_PLUGIN_EXPORTCSV.'img_pack/'); 22 26 } 23 //prefixe du plugin27 # prefixe du plugin 24 28 if (!defined("_PLUGIN_NAME_EXPORTCSV")) { 25 29 define('_PLUGIN_NAME_EXPORTCSV', 'exportcsv'); … … 31 35 debut_droite(); 32 36 echo "<strong>"._T('avis_acces_interdit')."</strong>" 37 .fin_gauche().fin_page(); 38 exit; 39 } 40 function acces_probleme($msg) { 41 debut_page(_T($msg), "documents", _PLUGIN_NAME_EXPORTCSV); 42 debut_gauche(); 43 debut_droite(); 44 echo "<strong>"._T($msg)."</strong>" 33 45 .fin_gauche().fin_page(); 34 46 exit; -
_plugins_/export_csv/exec/exportcsv.php
r19231 r29012 22 22 } 23 23 24 $out = unicode2charset(charset2unicode(exportcsv_make()), ' iso-8859-1');24 $out = unicode2charset(charset2unicode(exportcsv_make()), 'utf-8'); 25 25 26 26 $nom_fich = _PLUGIN_NAME_EXPORTCSV."_".date("Y-m-d").".csv"; -
_plugins_/export_csv/exec/exportcsv_tous.php
r19231 r29012 12 12 13 13 include_spip("inc/exportcsv"); 14 include_spip("inc/exportcsv_petition"); 14 15 include_spip("inc/presentation"); 15 16 16 17 function exec_exportcsv_tous() { 17 global $connect_statut, $couleur_claire, $couleur_foncee ;18 global $connect_statut, $couleur_claire, $couleur_foncee,$prefix_t; 18 19 19 20 … … 27 28 28 29 $commencer_page = charger_fonction('commencer_page', 'inc'); 29 echo $commencer_page(_T('exportcsv:extract_data'), "documents",_PLUGIN_NAME_EXPORTCSV);30 echo $commencer_page(_T('exportcsv:extract_data'), _PLUGIN_NAME_EXPORTCSV); 30 31 31 32 echo "<br />"; … … 42 43 fin_raccourcis(); 43 44 44 debut_boite_info(); 45 echo '<p><h3 style="color:'.$couleur_foncee.';">'._T('exportcsv:extraction_data').' :</h3></p>' 46 ._T('exportcsv:explications'); 47 fin_boite_info(); 45 # v2 46 echo exportcsv_afficher_petition(); 47 # fin v2 48 49 debut_cadre_relief(_DIR_IMG_EXPORTCSV.'help-24.png'); 50 echo '<div class="verdana1 spip_xx-small"><h3 style="color:'.$couleur_foncee.';">'._T('exportcsv:extraction_data').' :</h3></p>' 51 ._T('exportcsv:explications') 52 .'</div>'; 53 fin_cadre_relief(); 48 54 49 55 echo "<br />"; -
_plugins_/export_csv/exportcsv_pipe.php
r19243 r29012 24 24 } 25 25 26 function exportcsv_ajouter Boutons($boutons_admin) {26 function exportcsv_ajouter_boutons($boutons_admin) { 27 27 // si on est admin ou admin-restreint 28 28 if ($GLOBALS['connect_statut'] == "0minirezo" … … 38 38 return $boutons_admin; 39 39 } 40 function exportcsv_affiche_gauche($flux){ 41 if (_request('exec') == 'articles' OR _request('exec') == 'controle_petition') { 42 if ($GLOBALS['connect_statut'] == "0minirezo" 43 AND $GLOBALS["options"] == "avancees" AND 44 (!isset($GLOBALS['meta']["activer_exportcsv"]) OR $GLOBALS['meta']["activer_exportcsv"]!="non")) { 45 include_spip('inc/exportcsv_petition'); 46 $flux['data'] .= exportcsv_afficher_petition($flux['args']['id_article']); 47 } 48 } 49 return $flux; 50 } 40 51 // css privé 41 52 function exportcsv_header_prive($flux) { 42 $flux .= "\n".'<link rel="stylesheet" type="text/css" href="'._DIR_PLUGIN_EXPORTCSV.'exportcsv_styles.css" />'."\n";53 $flux .= "\n".'<link rel="stylesheet" type="text/css" href="'._DIR_PLUGIN_EXPORTCSV.'exportcsv_styles.css" />'."\n"; 43 54 return $flux; 44 55 } 45 46 47 56 ?> -
_plugins_/export_csv/exportcsv_styles.css
r19243 r29012 31 31 background:#cde3f1; 32 32 text-align:center; 33 } 34 /* 35 * /exec/exportcsv_tous > extration pétitions 36 */ 37 body.exportcsv ul { 38 margin-left: 0; 39 padding-left: 1em; 33 40 } 34 41 /* -
_plugins_/export_csv/fonds/cfg_exportcsv.html
r20814 r29012 89 89 <BOUCLE_racine(RUBRIQUES) {tout} {racine}{par titre}> 90 90 91 <li class="racine" ><label class="racine" id="r#ID_RUBRIQUE" title="Toutes les sous-rubriques seront sélectionnées">91 <li class="racine" title="<:exportcsv:toutes_selectionnees:>"><label class="racine" id="r#ID_RUBRIQUE"> 92 92 <input type="checkbox" name="secteur[]" value="#ID_RUBRIQUE" <?php is_checked('secteur', '#ID_RUBRIQUE'); ?>/> 93 93 [(#TITRE|supprimer_numero)] <small>(#EXCSV_STATUT{id_rubrique})</small></label> … … 125 125 <li><label> 126 126 <input type="checkbox" name="rubriques_a_titre" [checked="(#ENV{rubriques_a_titre})"] /> 127 Titre</label></li>127 <:exportcsv:titre:></label></li> 128 128 <li><label> 129 129 <input type="checkbox" name="rubriques_b_descriptif" [checked="(#ENV{rubriques_b_descriptif})"] /> 130 Descriptif</label></li>130 <:exportcsv:descriptif:></label></li> 131 131 <li><label> 132 132 <input type="checkbox" name="rubriques_c_texte" [checked="(#ENV{rubriques_c_texte})"] /> 133 Texte</label></li>133 <:ecrire:info_texte:></label></li> 134 134 </ul> 135 135 </fieldset> … … 139 139 <ul class="racine"> 140 140 <li><label> 141 <input type="checkbox" name="articles_a_titre" [checked="(#ENV{articles_a_titre})"] /> 142 Titre</label></li> 141 <input type="checkbox" name="articlestitre" checked="checked" disabled="disabled" /> 142 <:exportcsv:titre:></label> 143 <input type="hidden" name="articles_a_titre" value="1" /></li> 143 144 144 145 <li><label> 145 146 <input type="checkbox" name="articles_f_texte" [checked="(#ENV{articles_f_texte})"] /> 146 Texte</label></li> 147 148 <li><label> 149 <input type="checkbox" name="articles_j_date" [checked="(#ENV{articles_i_date})"] /> 150 Date</label></li> 147 <:ecrire:info_texte:></label></li> 148 149 <li><label> 150 <input type="checkbox" name="articles_j_date" [checked="(#ENV{articles_j_date})"] /> 151 <:exportcsv:date:></label></li> 152 151 153 [(#REM) on verra plus tard 152 154 <li><label> 153 <input type="checkbox" name="articles_k_auteur " [checked="(#ENV{articles_j_auteur})"] />154 Auteur</label></li>155 <input type="checkbox" name="articles_k_auteurs" [checked="(#ENV{articles_k_auteurs})"] /> 156 <:exportcsv:auteurs:></label></li> 155 157 ] 156 158 <?php if($GLOBALS['meta']['articles_surtitre'] == 'oui') { ?> 157 159 <li><label> 158 160 <input type="checkbox" name="articles_b_surtitre" [checked="(#ENV{articles_b_surtitre})"] /> 159 Sur-titre</label></li>161 <:ecrire:texte_sur_titre:></label></li> 160 162 161 163 <?php } … … 163 165 <li><label> 164 166 <input type="checkbox" name="articles_c_soustitre" [checked="(#ENV{articles_c_soustitre})"] /> 165 Sous-titre</label></li>167 <:ecrire:texte_sous_titre:></label></li> 166 168 167 169 <?php } … … 169 171 <li><label> 170 172 <input type="checkbox" name="articles_d_descriptif" [checked="(#ENV{articles_d_descriptif})"] /> 171 Descriptif</label></li>173 <:exportcsv:descriptif:></label></li> 172 174 173 175 <?php } … … 175 177 <li><label> 176 178 <input type="checkbox" name="articles_e_chapo" [checked="(#ENV{articles_e_chapo})"] /> 177 Chapeau</label></li>179 <:ecrire:info_chapeau:></label></li> 178 180 <?php } 179 181 if($GLOBALS['meta']['articles_ps'] == 'oui') { ?> 180 182 <li><label> 181 183 <input type="checkbox" name="articles_g_ps" [checked="(#ENV{articles_g_ps})"] /> 182 Post-Scriptum</label></li>184 <:ecrire:info_post_scriptum:></label></li> 183 185 <?php } 184 186 if($GLOBALS['meta']['articles_urlref'] == 'oui') { ?> 185 187 <li><label> 186 <input type="checkbox" name="articles_h_nom site" [checked="(#ENV{articles_h_urlref})"] />187 Lien : nom</label></li>188 <li><label> 189 <input type="checkbox" name="articles_i_url site" [checked="(#ENV{articles_h_urlref})"] />190 Lien : U.R.L</label></li>188 <input type="checkbox" name="articles_h_nom_site" [checked="(#ENV{articles_h_nom_site})"] /> 189 <:exportcsv:lien_nom:></label></li> 190 <li><label> 191 <input type="checkbox" name="articles_i_url_site" [checked="(#ENV{articles_i_url_site})"] /> 192 <:exportcsv:lien_url:></label></li> 191 193 192 194 <?php } ?> -
_plugins_/export_csv/inc/exportcsv.php
r19234 r29012 15 15 include_spip("base/exportcsv_librairie"); 16 16 17 # éléments d'écriture des lignes CSV ou tableau 18 global $tr, $l, $g, $gg, $gd, $th, $ht, $d, $s, $g, $d, $g; 19 # par défaut, éléments de lignes CSV 20 $tr = ""; 21 $l = chr(13).chr(10); 22 $g = $gg = $gd = $th = $ht = '"'; 23 $d = ';'; 24 $s = $g.$d.$g; 25 17 26 # ----------------------------------------------- 18 27 # ----------------------------------------------- 19 28 function exportcsv_make($return = true) { 20 global $connect_toutes_rubriques; 29 # éléments d'écriture des lignes CSV ou tableau 30 global $tr, $l, $g, $gg, $gd, $th, $ht, $d, $s, $g, $d, $g; 31 global $connect_toutes_rubriques, $prefix_t; 21 32 22 33 $config = lire_config(_PLUGIN_NAME_EXPORTCSV); … … 56 67 # car on a pas les noms des groupes de MC , juste leur ID 57 68 if(!is_array($val)) { 69 58 70 if(strlen($val) > 0) { 59 71 $titre_col[$cpt_col] = ereg_replace("_[a-z]_", "_", $cle); … … 69 81 $j++; 70 82 $q = "SELECT titre 71 FROM spip_groupes_mots83 FROM ".$prefix_t."groupes_mots 72 84 WHERE id_groupe='".$valv."'"; 73 85 $r = spip_fetch_array(spip_query($q)); … … 81 93 $k++; 82 94 $q = "SELECT titre 83 FROM spip_groupes_mots95 FROM ".$prefix_t."groupes_mots 84 96 WHERE id_groupe='".$valv."'"; 85 97 $r = spip_fetch_array(spip_query($q)); … … 110 122 if(ereg("^articles_", $titre_col[$i])) { 111 123 # pour les articles 112 $art_fields[$x] = substr(str rchr($titre_col[$i], "_"), 1);124 $art_fields[$x] = substr(strstr($titre_col[$i], "_"), 1); 113 125 $x++; 114 126 115 127 if($i <= ($nb_col-1)) 116 128 $sql .= ", "; 117 $sql .= str_replace("_", ".", $titre_col[$i]);129 $sql .= ereg_replace("^articles_", "articles.", $titre_col[$i]); 118 130 } 119 131 elseif(ereg("^rubriques_", $titre_col[$i])) { 120 132 # pour les rubriques 121 $rub_fields[$y] = substr(str rchr($titre_col[$i], "_"), 1);133 $rub_fields[$y] = substr(strstr($titre_col[$i], "_"), 1); 122 134 $y++; 123 135 } 124 136 } 125 $sql .= " FROM spip_articles AS `articles`137 $sql .= " FROM ".$prefix_t."articles AS `articles` 126 138 WHERE "; 127 139 if(count($secteur) > 0) { … … 150 162 ORDER BY articles.id_secteur, articles.id_rubrique"; 151 163 164 if(!$return) { 165 $sql_cpt = $sql; # pour comptage total lignes 166 $sql .= " LIMIT 0, 100"; 167 } 168 152 169 sdn_debug("<b>SQL :</b> ".$sql); 153 170 $req = spip_query($sql); 154 171 172 # pour comptage total lignes 173 $req_cpt = spip_query($sql_cpt); 174 $nb_lignes = spip_num_rows($req_cpt); 175 155 176 while($res = spip_fetch_array($req)) { 156 177 … … 173 194 $mot = ""; 174 195 $sql4 = "SELECT mots.titre 175 FROM spip_mots_articles AS `L1`, spip_mots AS `mots`196 FROM ".$prefix_t."mots_articles AS `L1`, ".$prefix_t."mots AS `mots` 176 197 WHERE (L1.id_article = '".$id_art."') 177 198 AND (mots.id_groupe = '".$art_mc[$i]."') … … 201 222 } 202 223 203 $sql2 .= " FROM spip_rubriques AS `rubriques`224 $sql2 .= " FROM ".$prefix_t."rubriques AS `rubriques` 204 225 WHERE (rubriques.id_rubrique = '".$id_rub."') 205 226 AND (rubriques.statut = 'publie')"; … … 222 243 $mot = ""; 223 244 $sql3 = "SELECT mots.titre 224 FROM spip_mots_rubriques AS `L1`, spip_mots AS `mots`245 FROM ".$prefix_t."mots_rubriques AS `L1`, ".$prefix_t."mots AS `mots` 225 246 WHERE (L1.id_rubrique = '".$id_rub."') 226 247 AND (mots.id_groupe = '".$rub_mc[$i]."') … … 240 261 241 262 } 263 # DEBUG 242 264 ecco_pre($rub_mc, "rub MC"); 243 265 ecco_pre($titre_col, "colonnes"); … … 248 270 # écriture du contenu($data) dans un fichier(true) ou tableau(false) selon $return 249 271 # initialisation écriture des lignes : 250 # defaut : extraction vers CSV 251 if($return) { 252 $tr = ""; 253 $l = chr(13).chr(10); 254 $g = $gg = $gd = $th = $ht = '"'; 255 $d = ';'; 256 $s = $g.$d.$g; 257 } # extraction pour affichage aperçu en table HTML 258 else { 272 # (defaut : extraction vers CSV) 273 # extraction pour affichage aperçu en table HTML 274 if(!$return) { 259 275 $tr = '<tr>'; 260 276 $l = '</tr>'; … … 266 282 $s = $gd.$gg; 267 283 } 268 # $outh = entete 284 # $outh = entetes (headers)) 269 285 # $outl = lignes de données 270 286 $outh = $tr; $outl = ""; … … 274 290 $outh .= $th.str_replace("_", " ", $titre_col[$i]).$ht.$d; 275 291 } 276 $outh = substr($outh, 0, -1).$l; 277 292 $outh = substr($outh, 0, -1).$l; 293 294 # $nb_lignes = 0; 295 278 296 for($i = 0; $i < count($data); $i += $nb_col) { 279 297 $outl .= $tr; … … 282 300 $outl .= $gg.$data[$z].$gd.$d; 283 301 } 284 $outl = substr($outl, 0, -1).$l; 302 $outl = substr($outl, 0, -1).$l; 303 # $nb_lignes++; 285 304 } 286 305 $out = $outh.$outl; 287 306 288 if($return) return $out; 289 else echo '<table>'.$out.'</table>'; 307 if($return) return $out; # l'export CSV 308 else echo '<p style="margin-top:0;"><strong>'._T('exportcsv:info_nb_lignes').$nb_lignes.' :</strong></p> 309 <table>'.$out.'</table>'; # affichage de l'export 290 310 291 311 } 292 312 313 function exportcsv_make_petition($id_article) { 314 # éléments d'écriture des lignes CSV 315 global $tr, $l, $g, $gg, $gd, $th, $ht, $d, $s, $g, $d, $g, $prefix_t; 316 /* 317 $tr = ""; 318 $l = chr(13).chr(10); 319 $g = $gg = $gd = $th = $ht = '"'; 320 $d = ';'; 321 $s = $g.$d.$g; 322 */ 323 324 # spécifique FAPT 325 $titre_col = array('nom_email', 'ad_email', 'message', 'metier', 'ville', 'dept'); 326 # base 327 # $titre_col = array('nom_email', 'ad_email', 'nom_site', 'url_site', 'message'); 328 329 $nb_col = count($titre_col); 330 331 # $outh = entetes (headers) 332 # $outl = lignes de données 333 $outh = $outl = $tr; 334 335 if(is_numeric($id_article)) { 336 337 # spécifique FAPT 338 $sql = "SELECT nom_email, ad_email, message, metier, ville, dept 339 FROM ".$prefix_t."signatures WHERE id_article=".$id_article." AND statut='publie'"; 340 # base 341 # $sql = "SELECT * FROM spip_signatures WHERE id_article=".$id_article." AND statut='publie'"; 342 343 $req = spip_query($sql); 344 $num = spip_num_rows($req); 345 346 # écriture des titres des colonnes 347 # Ligne 1 CSV = titre de l'article + nombre de signatures 348 $req_titre = spip_fetch_array(spip_query("SELECT titre FROM ".$prefix_t."articles WHERE id_article=".$id_article)); 349 $outh .= $th.supprimer_numero(textebrut(propre($req_titre['titre']))).$ht.$d.$num.' signatures'.$l; 350 351 # Ligne 2 CSV = titres des colonnes 352 for($i = 0; $i < $nb_col; $i++) { 353 $outh .= $th.str_replace("_", " ", $titre_col[$i]).$ht.$d; 354 } 355 $outh = substr($outh, 0, -1).$l; 356 357 while($res = spip_fetch_array($req)) { 358 $outl .= $tr; 359 360 for($z = 0; $z < $nb_col; $z++) { 361 $outl .= $gg.$res[$titre_col[$z]].$gd.$d; 362 } 363 364 $outl = substr($outl, 0, -1).$l; 365 } 366 $out = $outh.$outl; 367 368 return $out; # l'export CSV 369 370 } else 371 return false; 372 } 293 373 ?> -
_plugins_/export_csv/lang/exportcsv_fr.php
r20813 r29012 14 14 $GLOBALS[$GLOBALS['idx_lang']] = array( 15 15 // A 16 'apercu_data' => 'Aperçu des données extraites',16 'apercu_data' => 'Aperçu des articles extraits', 17 17 'aux_rub' => 'aux rubriques', 18 18 'aux_art' => 'aux articles', 19 19 'aide' => 'Aide en ligne', 20 'auteurs' => 'Auteurs', 20 21 21 22 // B … … 27 28 'description_cfg' => 'Ici vous pouvez configurer le plugin Export C.S.V.', 28 29 'del_cfg' => 'Tout effacer', 30 'descriptif' => 'Descriptif', 31 'date' => 'Date', 29 32 30 33 // E … … 32 35 'extraction_data' => 'Extraction des données', 33 36 'extraction_data_back' => 'Aller à l\'extraction des données', 34 'explications' => '<p><strong>Seuls les articles publiés sont exportés</strong></p> 35 <ol class="exportcsv_ol"><li>Cliquer sur « Télécharger les donneés » ci-dessus</li> 37 'explications' => '<p><strong>Seuls les articles publiés ou les signatures validées sont exportés</strong></p> 38 <ol class="exportcsv_ol"><li>Pour télécharger le fichier C.S.V : 39 <ul><li>Pour les articles : cliquer sur « Télécharger les articles » ci-dessus</li> 40 <li>Pour les pétitions : cliquer sur le titre de l\'article concerné</li> 41 </ul> 42 </li> 36 43 <li>Enregistrer le fichier sur votre ordinateur</li> 37 44 <li>Lancer le tableur (OpenOffice ou Excel<sup>®</sup>)</li> … … 48 55 'erreur_pas_de_rub' => '<p>Aucune rubrique n\'a été sélectionnée</p>', 49 56 'erreur_pas_de_champ' => '<p>Aucun élément à afficher n\'a été sélectionné</p>', 57 'erreur_pet_id_article' => '<p>Aucune pétition trouvée. <br />Avez-vous sélectionné un article ?', 50 58 51 59 // F … … 55 63 'info_config_rub' => 'Sélectionnez les groupes de mots-clés que vous voulez attribuer aux rubriques.<br /> ', 56 64 'info_config_art' => 'Sélectionnez les groupes de mots-clés que vous voulez attribuer aux articles.<br /> ', 65 'info_nb_lignes' => 'Lignes 0 à 100 sur un total de ', 57 66 58 67 // J K 59 68 // L 69 'lien_url' => 'Lien hypertexte : URL', 70 'lien_nom' => 'Lien hypertexte : Titre', 71 60 72 // M 61 73 'gmc_associes' => 'Groupes de mots-clés associés', … … 66 78 // O 67 79 'ok_cfg' => 'Ok', 68 // P // Q 80 81 // P 82 'pet_titre' => 'Pétitions', 83 'pet_lien_extract' => 'Extraire les signatures', 84 // Q 69 85 70 86 // R … … 73 89 74 90 // S 75 ' statut_publie' => 'Publiée',76 ' statut_prive' => 'Non publiée',91 'publie' => 'Publiée', 92 'prive' => 'Non publiée', 77 93 'signature' => '<p><strong>Export C.S.V</strong></p> 78 94 <p><small>Extraction des données de SPIP pour tableur au format C.S.V</small>.</p> … … 82 98 'titre_page' => 'Export CSV', 83 99 'titre_gros_page' => 'Export CSV', 84 'telecharger_data' => 'Télécharger les données', 100 'telecharger_data' => 'Télécharger les articles', 101 'titre' => 'Titre', 102 'toutes_selectionnees' => 'Toutes les sous-rubriques seront sélectionnées', 85 103 86 104 // U -
_plugins_/export_csv/plugin.xml
r25251 r29012 1 1 <plugin> 2 <nom>Export CSV pour SPIP 1.9.2</nom> 2 <nom><multi> 3 [fr]Export CSV des articles et pétitions (SPIP 1.9.2) 4 [en]CSV Extraction for articles and petitions (SPIP 1.9.2) 5 </multi></nom> 3 6 4 7 <auteur>Stéphanie De Nadaï … … 9 12 [fr]<p>L'icône du plugin est réalisée à base du thème [Nuvola pour KDE->http://commons.wikimedia.org/wiki/Nuvola]</p> 10 13 [en]Distributed under GNU/GPL license 14 [en]Icon of plugin is made with [Nuvola for KDE->http://commons.wikimedia.org/wiki/Nuvola] 11 15 </multi> 12 16 </auteur> … … 18 22 <description> 19 23 <multi> 20 [fr]<p>Export des articles / rubriques et leurs mots-clés pour tableur en fichier C.S.V.</p> 24 [fr]<p>Export pour tableur en fichier C.S.V :</p> 25 <ul><li>des articles / rubriques et leurs mots-clés </li> 26 <li>des pétitions</li></ul> 21 27 <p><strong>Ce plugin nécessite le [plugin CFG 1.3.4 minimum->http://www.spip-contrib.net/?article1605]</strong></p> 22 <p>Plugin en phase de test : merci de vos retours (détaillés).</p> 23 [en]<p><strong>This plugin must be run with [CFG plugin 1.3.4 at least->http://www.spip-contrib.net/?article1605]</strong></p> 28 <p>Plugin en phase de test : merci de vos retours (détaillés).</p></multi> 29 <multi>[en]<p>Export for spreadsheet in C.S.V file :</p> 30 <ul><li>articles / sections and keywords </li> 31 <li>petitions</li></ul> 32 <p><strong>This plugin must be run with [CFG plugin 1.3.4 at least->http://www.spip-contrib.net/?article1605]</strong></p> 33 <p>This plugin is being tested : thanks for backs.</p> 24 34 </multi> 25 35 </description> … … 34 44 <pipeline> 35 45 <nom>ajouter_boutons</nom> 36 <action>ajouter Boutons</action>46 <action>ajouter_boutons</action> 37 47 <inclure>exportcsv_pipe.php</inclure> 38 48 </pipeline> … … 48 58 <inclure>exportcsv_pipe.php</inclure> 49 59 </pipeline> 50 51 <necessite id="SPIP" version="[1.9.0;]" /> 52 <necessite id="cfg" version="[1.3.4;]" /> 60 61 <pipeline> 62 <nom>affiche_gauche</nom> 63 <action>affiche_gauche</action> 64 <inclure>exportcsv_pipe.php</inclure> 65 </pipeline> 66 67 <necessite id="CFG" version="[1.3.4;]" /> 53 68 </plugin>
Note: See TracChangeset
for help on using the changeset viewer.