[PLUGINS] +dependance au plugin rssarticle
authorLudovic CHEVALIER <ludovic@beurresarrasin.net>
Tue, 27 Jan 2015 16:14:51 +0000 (17:14 +0100)
committerLudovic CHEVALIER <ludovic@beurresarrasin.net>
Tue, 27 Jan 2015 16:14:51 +0000 (17:14 +0100)
README
paquet.xml
sommaire.html

diff --git a/README b/README
index 4762376..77bb4a0 100644 (file)
--- a/README
+++ b/README
@@ -3,6 +3,8 @@ Dépendances SPIP:
 
 - agenda: http://contrib.spip.net/article2858
 - gis: http://contrib.spip.net/4189
+- http://contrib.spip.net/Couleur-de-Rubrique
+- rssarticle: http://contrib.spip.net/Flux-RSS-en-articles
 
 Dépendances des dépendances:
 ============================
@@ -15,4 +17,3 @@ Autres dépendances qui pourraient être utiles:
 ==============================================
 
 - http://contrib.spip.net/Import-ICS
-- http://contrib.spip.net/Couleur-de-Rubrique
index 3193589..3793a9e 100644 (file)
@@ -14,4 +14,5 @@
     <necessite nom="gis" compatibilite="[4.26.1;["/>
     <necessite nom="agenda" compatibilite="[3.14.5;["/>
     <necessite nom="pb_couleur_rubrique" compatibilite="[2.3.6;["/>
+    <necessite nom="rssarticle" compatibilite="[1.1.3;["/>
 </paquet>
index 3b92f2a..f734690 100644 (file)
         <B_articles>
         <div class="col-12 col-m-6 col-l-5">
             <div id="news">
-                <BOUCLE_articles(ARTICLES)>
+                <BOUCLE_articles(ARTICLES){0,10}{!par date}>
                 <div class="article">
                     <a href="#">[(#LOGO_ARTICLE_RUBRIQUE|inserer_attribut{alt,"logo"})]</a>
                     <a href="#"><h1>#TITRE</h1></a>
                     <BOUCLE_rub(RUBRIQUES){id_rubrique=#ID_RUBRIQUE}>
-                    <a href="#"><h3>#_articles:DATE - #TITRE</h3></a>
+                    <a href="#"><h3>[(#_articles:DATE|affdate)] - #TITRE</h3></a>
                     </BOUCLE_rub>
                     <a href="#"><p>#INTRODUCTION</p></a>
                 </div>