Fichier FrameBeurk
Fmbk/Module/Zenpa/Patron/patronFlux.php
<?php //FrameBeurk V0.65 Copyright ToolOscope 2016. Licence CeCILL-C.
// Patron pour les transactions RSS. passe la feuille de style appropriée en attribut data
header('Content-Type: application/xml; charset=utf-8');
header('Cache-Control: no-cache, must-revalidate');
echo '<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="', Beurk_cheminRessource() . '/ZenpaRss.xsl.php" ?>
';
/*<?xml-stylesheet type="text/css" href="', Beurk_cheminURL(), '/css.php?Version=', $CONFIG['Param']['Version'], '&Style=', $DIALOG['Style'], '&Patron=', $TRANSAC['Patron'], '" ?>
';*/
echo '<rss version="2.0">
<channel data-css="', htmlspecialchars(Beurk_cheminURL() . '/css.php?Version=' . $CONFIG['Param']['Version'] . '&Style=' . $DIALOG['Style'] . '&Patron=' . $TRANSAC['Patron'], ENT_QUOTES, 'UTF-8'), '">
<title>', htmlspecialchars(Beurk_traduit($CONFIG['Param']['TitreSite'], '_site') . ' - ' . $TRANSAC['Rss']['Titre'], ENT_QUOTES, 'UTF-8'), '</title>
<description>', htmlspecialchars($TRANSAC['Rss']['Description'], ENT_QUOTES, 'UTF-8'), '</description>
<language>', htmlspecialchars($DIALOG['Langue'], ENT_QUOTES, 'UTF-8'), '</language>
<link>', htmlspecialchars(Beurk_URL($TRANSAC['Rss']['TabUrl']), ENT_QUOTES, 'UTF-8'), '/</link>
', $TRANSAC['Vue']['Genere'], '
</channel>
</rss>';