This feed does not validate.
<link>http://<?php echo $_SERVER['HTTP_HOST']; ?>/</link>
^
<lastBuildDate><?php echo date("r"); ?></lastBuildDate>
^
echo ",".$a_arry['id']; ?></link>
^
In addition, interoperability with the widest range of feed readers could be improved by implementing the following recommendations.
help]
[echo htmlspecialchars($a_arry['exhtitel']); ?></title>
^
</item>
</channel>
<?php header ('Content-Type: text/xml; charset=utf-8'); ?>
<?php echo "<?xml version=\"1.0\" encoding=\"utf-8\" ?".">"; ?>
<rss version="2.0">
<channel>
<title>verband bildender künstler thüringen</title>
<link>http://<?php echo $_SERVER['HTTP_HOST']; ?>/</link>
<description>Aktuelle Ausstellungen des Verbands Bildender Künstler Thüringen und seiner Mitglieder</description>
<language>de-DE</language>
<copyright>(c) 2005, Verband Bildender Künstler Thüringen</copyright>
<lastBuildDate><?php echo date("r"); ?></lastBuildDate>
<generator>Rssgen_Ian_Vbk2</generator>
<docs>http://blogs.law.harvard.edu/tech/rss</docs>
<?php // ÄÖÜ_UTF8
include("../_srces/db_settings.php");
$a_mark= mysql_query("SELECT id, optionen, exhtitel, exhprae, exhsuff, startdat, enddat, ort, ortsteil, descr
FROM exhbcrd
WHERE optionen IS NOT NULL AND (enddat >= CURDATE() OR (startdat >= CURDATE() AND enddat IS NULL))
ORDER BY enddat, startdat"); // (startdat <= CURDATE() OR startdat IS NULL) AND (enddat >= CURDATE() OR enddat IS NULL)
$a_summ= mysql_num_rows($a_mark);
if (!empty($a_summ)) {
while ($a_arry= MYSQL_FETCH_ARRAY($a_mark, MYSQL_ASSOC)) {
?>
<item>
<title><?php if ($a_arry['exhprae']) echo htmlspecialchars($a_arry['exhprae']).": ";
echo htmlspecialchars($a_arry['exhtitel']); ?></title>
<link>http://<?php echo $_SERVER['HTTP_HOST']."/";
echo $a_arry['optionen']=='kram' ? "115" : "113";
echo ",".$a_arry['id']; ?></link>
<description><?php if ($a_arry['exhsuff']) echo htmlspecialchars($a_arry['exhsuff']).". ";
echo $a_arry['optionen']=='kram' ? "Verbandsgalerie" : htmlspecialchars($a_arry['ort']);
if ($a_arry['descr']) echo " - ".$a_arry['descr']." - ";
echo ", ". date( ($a_arry['enddat'] ? "j.n." : "j.n.Y") , strtotime($a_arry['startdat']));
if ($a_arry['enddat']) echo " bis ". date("j.n.Y", strtotime($a_arry['enddat'])); ?></description>
</item>
<?php
}
}
?>
</channel>
</rss>