30/10/2012, 23:45:48
Citation :Ben non, dans ton lien je n'ai pas trouvé d'explication supplémentaire ?alors Relire
je reprends visible sur http://gestassophp.free.fr/cms/index.php...ution.html
cmsms 1.11.2.1
Nom/Alias du flux Evolution
Utiliser cette page pour les liens: 4.1. Evolutions versions 5
Titre du flux: L'information sur les versions GestAssoPhp
Lien du flux: http://gestassophp.free.fr/cms/index.php...ution.html
Description du flux:Evolution des versions GestAssohp
Copyright du flux: © Bozo Software - GestAssoPhp
Durée de vie 0
Catégories Sample RSS Feeds
mais dans page
Onglet : Options
Balise Smarty spécifiques pour cette page : {CGFeedMaker action=autodiscovery feed=Evolution}
GABARIT
<?xml version="1.0"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
{* note: if you have not configured pretty urls or mod rewrite, the next line may fail when trying to validate the feed *}
<atom:link href="{$feed_url}" rel="self" type="application/rss+xml" />
<title>{$feed.title}</title>
{if isset($feed.link) && !empty($feed.link)}<link>{$feed.link}</link>{/if}
{if isset($feed.description) && !empty($feed.description)}<description>{$feed.description}</description>{/if}
{if isset($feed.copyright) && !empty($feed.copyright)}<copyright>{$feed.copyright}</copyright>{/if}
{if isset($generator)}<generator>{$generator}</generator>{/if}
{if isset($feed.managing_editor) && !empty($feed.managing_editor)}<managingEditor>{$feed.managing_editor}</managingEditor>{/if}
{if isset($admin_email)}<webMaster>{$admin_email} ({$admin_user->firstname} {$admin_user->lastname})</webMaster>{/if}
{if isset($feed.image) && !empty($feed.image)}
<image>
{if isset($feed.description) && !empty($feed.description)}<description>{$feed.description}</description>{/if}
{if isset($feed.link) && !empty($feed.link)}<link>{$feed.link}</link>{/if}
<title>{$feed.title}</title>
<url>{$file_location}/{$feed.image}</url>
</image>
{/if}
{news assign='junk'}
{foreach from=$items item='entry'}
<item>
<title>{$entry->title}</title>
<link>{$entry->moreurl}</link>
<description>{$entry->content|strip_tags|summarize:40}</description>
<pubDate>{$entry->postdate|rfc_date}</pubDate >
<guid>{$entry->moreurl}</guid>
</item>
{/foreach}
</channel>
</rss>
.htaccess
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f [NC]
RewriteCond %{REQUEST_FILENAME} !-d [NC]
RewriteRule ^(.+)$ index.php?page=$1 [QSA]
J-C Etiemble v 2.2.xx