RSSClient--Test.php
Go to the documentation of this file.00001 <?PHP
00002 #
00003 # FILE: SPT--FileName.php
00004 #
00005 #
00006 # Part of the Scout Portal Toolkit
00007 # Copyright 2002 Internet Scout Project
00008 # http://scout.cs.wisc.edu
00009 #
00010
00011 #require_once("Archive/Tar.php");
00012 require_once("include/SPT--Common.php");
00013 PageTitle("");
00014
00015
00016 # ----- EXPORTED FUNCTIONS ---------------------------------------------------
00017
00018 # ----- LOCAL FUNCTIONS ------------------------------------------------------
00019
00020 # ----- MAIN -----------------------------------------------------------------
00021
00022 include(FindUIFile("include/SPT--StandardPageStart.html"));
00023 include("Scout--RSSClient.php");
00024
00025 $Feed = new RSSClient("http://localhost/~ealmasy/scout/SPT/SPT--RSS.php", $DB, "", 60);
00026 $Items = $Feed->GetItems(5);
00027 print("\n<br><br><pre>\n\$Items = "); print_r($Items); print("</pre><br><br>\n");
00028
00029 $Feed = new RSSClient("http://scout.wisc.edu/Weblog/SWL--RSS.php", $DB, "", 60);
00030 $Items = $Feed->GetItems(5);
00031 print("\n<br><br><pre>\n\$Items = "); print_r($Items); print("</pre><br><br>\n");
00032
00033 ?>
00034
00035
00036 <?PHP
00037
00038 include(FindUIFile("include/SPT--StandardPageEnd.html"));
00039
00040 ?>
00041