aşağıdaki class ile site haritası oluşturmaya çaçışıyorum ama bu hatayı alıyorum
eksik yazdığım bir şeyler mi var yada hatalı yazdığım
<?
include("feedcreator.class.php");
$dbhost = "localhost";
$dbname = "dbadi";
$dbuser = "kullanici";
$dbpass = "sifre";
$rss = new UniversalFeedCreator();
$rss->useCached();
$rss->title = "Codeboot New Videos";
$rss->description = "You watched now";
$rss->link = "http://www.codeboot.com";
$rss->syndicationURL = "http://www.codeboot.com/".$PHP_SELF;
$image = new FeedImage();
$image->title = "codeboot.com logo";
$image->url = "http://www.codeboot.com/images/header-icon.gif";
$image->link = "http://www.codeboot.com";
$image->description = "Feed provided by codeboot.com Click to visit.";
$rss->image = $image;
// get your news items from somewhere, e.g. your database:
mysql_select_db($dbhost, $dbuser, $dbpass);
$res = mysql_query("SELECT * FROM videolari ORDER BY id DESC");
while ($data = mysql_fetch_object($res)) {
$item = new FeedItem();
$item->title = $data->baslik;
$item->link = $data->video;
$item->description = $data->aciklama;
$item->source = "http://www.codeboot.com";
$item->author = "andyou";
$rss->addItem($item);
}
$rss->saveFeed("RSS1.0", "feed.xml");
?>buda include edilen class
http://www.bitfolge.de/download/feedcreator_172.zip
buda classın sitesi
http://www.bitfolge.de/rsscreator-en.html
sinemalar.com aynı classı kullanıyor :S