channelTitle = "My personal news"; $myRSS->channelLink = "http://frederik.gotdns.org:1976/"; $myRSS->channelDesc = "frederik.gotdns.org personal news"; $myRSS->imageTitle = "My personal news"; $myRSS->imageLink = "http://www.mysite.com/mylogo.gif"; $myRSS->imageURL = "http://www.mysite.com"; // vanrenterghem.biz database variables // $dbServer="localhost"; // $dbUser="frederik_fred"; // $dbPass="fred"; // $dbName="frederik_News"; // $tableName="newsContent"; // frederik.gotdns.org:1976 database variables $dbServer="localhost"; $dbUser="webnews"; $dbPass="BlaBla123"; $dbName="website"; $tableName="newsContent"; // Get the RSS data $rssData = $myRSS->GetRSS($dbServer, $dbUser, $dbPass, $dbName, $tableName, "title", "body", "date", "http://vanrenterghem.biz/News/"); // Output the generated RSS XML header("Content-type: text/xml"); echo $rssData; ?>