<? 
  $idRestaurantIN = 10;
  header('Content-type: text/xml'); 
  include_once $_SERVER['DOCUMENT_ROOT'].'/c/pignwhistle.incl.php';
  include_once $_SERVER['DOCUMENT_ROOT'].TXPATHSITE.'c/feed.incl.php';
?><rss version="2.0" 
  xmlns:dc="http://purl.org/dc/elements/1.1/"
  xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
  xmlns:admin="http://webns.net/mvcb/"
  xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
  xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
<title>Pig N Whistle, <?php echo getNameRestaurant(); ?></title>
<link>http://www.pignwhistle.com.au/<?php echo getNameDirectoryRestaurant(); ?>/index.xml</link>
<description>Pig N Whistle is the best Pub in <?php echo getNameRestaurant(); ?>, whether you are looking for a fun night out, good food or your next function venue.</description>
<dc:language>en-gb</dc:language>
<dc:rights>Copyright 2002 Pig N Whistle.</dc:rights>
<dc:date>2005-12-17T17:30:04+10:00</dc:date>

<admin:generatorAgent rdf:resource="http://www.pignwhistle.com.au/feed/" />
<admin:errorReportsTo rdf:resource="mailto:rsshelp@pignwhistle.com.au"/>
<sy:updatePeriod>weekly</sy:updatePeriod>
<sy:updateFrequency>3</sy:updateFrequency>
<sy:updateBase>2005-12-17T17:30+10:00</sy:updateBase>

<?php
  $txQuery = getFeedData($idRestaurantIN);
  $result = mysql_query($txQuery);
  
  if (false !== $result) {
    $lsEvents = array();
    while ($row = mysql_fetch_object($result)) {
      writeEventEntry(stripslashes($row->txTitleEvent), stripslashes($row->dsEvent));
    }
    mysql_free_result($result);
  }
?>  

</channel>
</rss>
