<?php




echo "<rss version='2.0' xmlns:g='http://base.google.com/ns/1.0'>
	<channel>
		<title>Christmas Cottage, Godshill, Isle of Wight</title>
		<link>$site</link>
		<description>Gifts, fashions, paintings and Christmas decorations</description>






";

require_once('../venetiansql.php') ;










                            $query = "SELECT * from $usertable ORDER BY id DESC limit 40" ;
                            $result = mysql_query( $query );
                            $rows=mysql_num_rows($result);

if ($rows == 0) {
echo "No news at present!" ;
                } else {
$c = 0 ;
          while ($row = mysql_fetch_array($result)) 

{
  include('../vars.php') ;



  include('strip.php') ;



                   
echo "<item>
			<title>$var1</title>
			<link>$page</link> ";
IF ($var6) {	echo "	<description>&lt;img align='left'  hspace='10' vspace='3' width='$size6[0]' src='$site/picts/$var6'&gt;  $descr</description>" ;}
ELSE {	echo "	<description>$descr</description>" ;}


  if ($var5) {echo " <g:colour>$var5</g:colour>";}
  if ($var2) {echo " <g:size>$var2</g:size>";}
  if ($var4) {echo "<g:price>$var4</g:price>"; }

        echo "<category>$var8</category>";

  if ($var6) {echo " <g:image_link>$site/picts/$var6</g:image_link>
";}



if ($var140 != "0000-00-00 00:00:00") {


echo "	<pubDate>$pubdate GMT</pubDate>
";}



echo"		</item>" ;
$c++ ;
}

               } // End while




echo"</channel>
</rss>" ;




?>

