X-Git-Url: http://git.vanrenterghem.biz/www.vanrenterghem.biz.git/blobdiff_plain/4b1ce0d83844cfd7c55e75a60ccb239882cd62e3..83ab5456767602f2a9860a7db7247f002ec96945:/phppages/test.php diff --git a/phppages/test.php b/phppages/test.php deleted file mode 100644 index c46f286..0000000 --- a/phppages/test.php +++ /dev/null @@ -1,21 +0,0 @@ -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"; - -// Get the RSS data -$rssData = $myRSS->GetRSS("localhost", "admin", "password", "rssDB", -"myArticles", "title", "summary", "articleId", -"http://www.mysite.com/articles/{linkId}/"); - -// Output the generated RSS XML -header("Content-type: text/xml"); -echo $rssData;