<?php
// rss.xml
// Obviously not an XML file.
// Since we have multiple domains using this site, we need separate XML data

include 'include/config.php';

// Check if the XML files exist
if ($xml = @file_get_contents('include/xml/'.DOMAIN.'_rss.xml')) {
	$datestamp = date("r");
	$xml = str_replace("{{DATE}}", $datestamp, $xml);
	header("Content-type: text/xml");
	print $xml;
} else {
	print '';
}