'; //static pages echo ' http://www.roview.nl/ daily http://www.roview.nl/rss.xml http://www.roview.nl/archive/ daily http://www.roview.nl/reports/ weekly http://www.roview.nl/galleries/ monthly http://www.roview.nl/links/ monthly http://www.roview.nl/contact/ monthly http://www.roview.nl/about/ monthly http://www.roview.nl/display/ monthly http://www.roview.nl/pano/1/ http://www.roview.nl/pano/2/ http://www.roview.nl/pano/3/ http://www.roview.nl/reports/datedown/ http://www.roview.nl/reports/viewsup/ http://www.roview.nl/reports/dateup/ http://www.roview.nl/reports/viewsdown/ http://www.roview.nl/archive/1/ http://www.roview.nl/archive/2/ http://www.roview.nl/archive/3/ http://www.roview.nl/archive/4/ http://www.roview.nl/archive/5/ '; $link = mysql_connect('localhost','md97704db46437','voSQRpGV'); mysql_select_db('md97704db46437',$link); $sql = "SELECT Teksten.ID, Teksten.Map FROM Teksten WHERE Teksten.ID != '0' ORDER BY Teksten.ID DESC"; $res = mysql_query($sql,$link); if ($res && mysql_num_rows($res) >= 1) { while ($row = mysql_fetch_array($res)) { $url_product = 'http://www.roview.nl/'.$row['Map'].'/'; //you can assign whatever changefreq and priority you like echo ' '.$url_product.' monthly 0.8 '; } } $sql = "SELECT Map FROM Display"; $res = mysql_query($sql,$link); if ($res && mysql_num_rows($res) >= 1) { while ($row = mysql_fetch_array($res)) { $url_product = 'http://www.roview.nl/display/'.$row['Map'].'/'; //you can assign whatever changefreq and priority you like echo ' '.$url_product.' monthly 0.8 '; } } $sql = "SELECT ID, pubDate FROM Photo ORDER BY `No` DESC"; $res = mysql_query($sql,$link); if ($res && mysql_num_rows($res) >= 1) { while ($row = mysql_fetch_array($res)) { $url_product = 'http://www.roview.nl/entry/'.$row['ID'].'/'; /*you need to assign a date to the entity. if you don't store a timestamp in the Database then you need slapping*/ $date = $row[pubDate]; //the date stored $year = substr($date,0,4); //work out the year $mon = substr($date,5,2); //work out the month $day = substr($date,8,2); //work out the day /*display the date in the format Google expects: 2006-01-29 for example*/ $displaydate = ''.$year.'-'.$mon.'-'.$day.''; //you can assign whatever changefreq and priority you like echo ' '.$url_product.' '.$displaydate.' monthly 0.8 '; } } echo ' '; ?>