2 include("class.myRSS.php");
4 // Instantiate the myRSS class
7 $myRSS->channelTitle = "My personal news";
8 $myRSS->channelLink = "http://frederik.gotdns.org:1976/";
9 $myRSS->channelDesc = "frederik.gotdns.org personal news";
11 $myRSS->imageTitle = "My personal news";
12 $myRSS->imageLink = "http://www.mysite.com/mylogo.gif";
13 $myRSS->imageURL = "http://www.mysite.com";
15 // vanrenterghem.biz database variables
16 // $dbServer="localhost";
17 // $dbUser="frederik_fred";
19 // $dbName="frederik_News";
20 // $tableName="newsContent";
22 // frederik.gotdns.org:1976 database variables
23 $dbServer="localhost";
27 $tableName="newsContent";
30 $rssData = $myRSS->GetRSS($dbServer, $dbUser, $dbPass, $dbName,
31 $tableName, "title", "body", "date", "http://vanrenterghem.biz/News/");
33 // Output the generated RSS XML
34 header("Content-type: text/xml");