[divan] RSS, encore mieux comme ça non ?

This commit is contained in:
Esenjin 2021-10-20 17:47:16 +02:00
parent c2e2ede14b
commit d507af0fde

View File

@ -54,8 +54,8 @@ $lastpubli = date('D, d M Y H:i:s', filectime($array[0]));
header("Content-Type: text/xml");
$xml = '<?xml version="1.0" encoding="UTF-8"?>'."\n";
$xml .= '<?xml-stylesheet type="text/xsl" href="scripts/rss.xslt" ?>'."\n";
$xml = '<?phpxml version="1.0" encoding="UTF-8"?>'."\n";
$xml .= '<?phpxml-stylesheet type="text/xsl" href="scripts/rss.xslt" ?>'."\n";
$xml .= '<rss
xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd"
xmlns:googleplay="http://www.google.com/schemas/play-podcasts/1.0"