Subversion Repositories Sites.gentiana.org

Compare Revisions

Ignore whitespace Rev 53 → Rev 65

/trunk/index.php
76,7 → 76,6
// Nettoyage du html
$h2t = new html2text($item['description']);
$item['description'] = $h2t->get_text();
?>
<li class="rss_actu">
<h2 class="rss_titre"><a href="<?=$item['link']; ?>"><?=$item['title']; ?></a></h2>
83,7 → 82,7
<?php if ($image) : ?>
<img class="rss_image" src="<?=$item['image']['src'];?>" alt="<?=$item['image']['alt'];?>" width="50" height="50"/>
<?php endif; ?>
<p class="rss_date">PubliƩ le <?=strftime('%d.%m.%Y',strtotime($item['date'])); ?></p>
<p class="rss_date">PubliƩ le <?=strftime('%d.%m.%Y',strtotime($item['pubdate'])); ?></p>
<p class="rss_description"><? echo substr($item['description'],0, RSS_DESCRIPTION_LONGUEUR).'...'; ?></p>
</li>
<?php endforeach; ?>