]> git.vanrenterghem.biz Git - www.vanrenterghem.biz.git/blobdiff - phppages/rss.php~
Verwijder verouderde bestanden.
[www.vanrenterghem.biz.git] / phppages / rss.php~
diff --git a/phppages/rss.php~ b/phppages/rss.php~
deleted file mode 100644 (file)
index d8a4b5c..0000000
+++ /dev/null
@@ -1,36 +0,0 @@
-<?php
-include("class.myRSS.php");
-
-// Instantiate the myRSS class
-$myRSS = new myRSS;
-
-$myRSS->channelTitle = "My sample channel";
-$myRSS->channelLink = "http://www.mysite.com";
-$myRSS->channelDesc = "My sample RSS XML channel";
-
-$myRSS->imageTitle = "My sample channel";
-$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="frederik";
-$dbPass="Fred1210";
-$dbName="website";
-$tableName="newsContent";
-
-// Get the RSS data
-$rssData = $myRSS->GetRSS($dbServer, $dbUser, $dbPass, $dbName,
-$tableName, "title", "body", "date", "http://www.mysite.com/articles/{linkId}/");
-
-// Output the generated RSS XML
-header("Content-type: text/xml");
-echo $rssData;
-?>
\ No newline at end of file