Subversion Repositories Sites.obs-saisons.fr

Compare Revisions

Ignore whitespace Rev 32 → Rev 207

/trunk/applications/jrest/services/squelettes/rss1.tpl.xml
14,7 → 14,7
 
<channel rdf:about="<?=$guid?>">
<title><?=$titre?></title>
<link><?=$lien_coel?></link>
<link><?=$lien_ods?></link>
<description><?=$description?></description>
<dc:publisher><?=$editeur?></dc:publisher>
<dc:date><?=$date_maj_W3C?></dc:date>
/trunk/applications/jrest/services/squelettes/rss2.tpl.xml
1,19 → 1,19
<?php echo '<?xml version="1.0" encoding="UTF-8"?>'."\n";?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title><?=$titre?></title>
<link><?=$lien_coel?></link>
<atom:link href="<?=$lien_service?>" rel="self" type="application/rss+xml" />
<description><?=$description?></description>
<title><?=$titre; ?></title>
<link><?=$lien_ods; ?></link>
<atom:link href="<?= $lien_service; ?>" rel="self" type="application/rss+xml" />
<description><?=$description; ?></description>
<?php if (isset($items)) : ?>
<?php foreach ($items as $item) : ?>
<item>
<guid><?=$item['guid']?></guid>
<title><?=$item['titre']?></title>
<link><?=$item['lien']?></link>
<description><?=$item['description_encodee']?></description>
<pubDate><?=$item['date_maj_RSS']?></pubDate>
<guid><?=$item['guid']; ?></guid>
<title><?=$item['titre']; ?></title>
<link><?=$item['lien']; ?></link>
<description><?=$item['description_encodee']; ?></description>
<pubDate><?=$item['date_maj_RSS']; ?></pubDate>
</item>
<?php endforeach; ?>
<?php endif; ?>
/trunk/applications/jrest/services/squelettes/atom.tpl.xml
2,7 → 2,7
<feed xmlns="http://www.w3.org/2005/Atom">
<title><?=$titre?></title>
<link href="<?=$lien_coel?>" rel="alternate" type="text/html" hreflang="fr" />
<link href="<?=$lien_ods?>" rel="alternate" type="text/html" hreflang="fr" />
<link href="<?=$lien_service?>" rel="self" type="application/atom+xml"/>
<updated><?=$date_maj_ATOM?></updated>
<author>