<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><?php header("Content-type: text/xml; charset=utf-8");
 echo '<?xml version="1.0"?'.'>';
?><rss xmlns:creativeCommons="http://backend.userland.com/creativeCommonsRssModule" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">
<channel>

<title>Gnomar and Friends</title>
<link>http://gnomar.com</link>
<description>Follow Gnomar and gnome and his gnome friends as they travel around the world!
<![CDATA[<!-- begin(Yahoo ad) --><a href="http://ypn-rss.overture.com/rss/34913/<$MTEntryID$>/click/"><img src="http://ypn-rss.overture.com/rss/34913/<$MTEntryID$>/img/?url=<$MTEntryLink encode_xml="1"$>&amp;pid=7166059220" alt="Ads by Yahoo!" border="0"/></a><!-- end(Yahoo ad) -->]]>
</description>
<image>
  <title>Gnomar and Friends - Roaming gnomes extraordinaire!</title>
  <url>http://gnomar.com/extras/newlogo.jpg</url>
  <link>http://gnomar.com</link>
</image>
<?php $todaym = date("m");
$todayd = date("d");
$todayy = date("Y");

$today = $todayy.$todaym.$todayd;

for($i=1; $i<=15; $i++) {

//echo "$i with $today \n";

  $y = 'n';

  while ($y == 'n'){
    //echo "$today \n";
    if (is_file('include/'.$today.'.php')) {
      $y = 'y';
    } else {
      $todayd = $todayd + 0;
      if ($todayd > 1) {
        $todayd = $todayd - 1;
      } else {
        $todaym = $todaym + 0;
        if ($todaym > 1) {
          $todaym = $todaym - 1;
          $todayd = '31';
        } else {
          $todayy = $todayy - 1;
          $todaym = '12';
          $todayd = '31';
        }
      }
      $todaym = $todaym +0;
      if ($todaym < 10)
        $todaym = '0'.$todaym;
      $todayd = $todayd + 0;
      if ($todayd < 10)
        $todayd = '0'.$todayd;
      $today  = $todayy.$todaym.$todayd;
    }
  }

  include 'include/'.$today.'.php';

  $pic = "<img src='http://gnomar.com/calendar/".$todaym."/".$today.".jpg' />";

  $title = $gnome.' the gnome in '.$location;
  $descr = $pic." ".strip_tags($cap);
  $link  = 'http://www.gnomar.com/album.php?d='.$today;

  echo '<item>'."\n";
  echo '<title>'.$title.'</title>'."\n";
  echo '<description>'.$descr.'</description>'."\n";
  echo '<link>'.$link.'</link>'."\n";
  echo '</item>'."\n\n";

  $todayd = $todayd + 0;
  if ($todayd > 1) {
    $todayd = $todayd - 1;
  } else {
    $todaym = $todaym + 0;
    if ($todaym > 1) {
      $todaym = $todaym - 1;
      $todayd = '31';
    } else {
      $todayy = $todayy - 1;
      $todaym = '12';
      $todayd = '31';
    }
  }
  $todaym = $todaym +0;
  if ($todaym < 10)
    $todaym = '0'.$todaym;
  $todayd = $todayd + 0;
  if ($todayd < 10)
    $todayd = '0'.$todayd;
  $today  = $todayy.$todaym.$todayd;
}

?>

<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/RoamingGnomes" /><feedburner:info uri="roaminggnomes" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><creativeCommons:license>http://creativecommons.org/licenses/by-nc-sa/3.0/</creativeCommons:license></channel>
</rss>
