OK: Found an XML parser.
OK: Support for GZIP encoding.
Warning: No support for iconv (--with-iconv) or multi-byte strings (--enable-mbstring).No support character set munging.

Warning: Cache couldn't make dir './cache'. in /afs/umbc.edu/users/j/i/jianwu/pub/www/is651/programs/ch11/magpie/rss_cache.inc on line 185

Warning: MagpieRSS [debug] Cache couldn't make dir './cache'. in /afs/umbc.edu/users/j/i/jianwu/pub/www/is651/programs/ch11/magpie/rss_fetch.inc on line 243

Notice: MagpieRSS [debug] Cache doesn't contain: http://feeds.feedburner.com/WorldNewsNewsWeatherUTF-8 (cache file: ./cache/4e5a9341e05387d8a1dbfd96b5f19f20) in /afs/umbc.edu/users/j/i/jianwu/pub/www/is651/programs/ch11/magpie/rss_cache.inc on line 185

Notice: MagpieRSS [debug] Cache doesn't contain: http://feeds.feedburner.com/WorldNewsNewsWeatherUTF-8 (cache file: ./cache/4e5a9341e05387d8a1dbfd96b5f19f20) in /afs/umbc.edu/users/j/i/jianwu/pub/www/is651/programs/ch11/magpie/rss_cache.inc on line 185

Deprecated: Function split() is deprecated in /afs/umbc.edu/users/j/i/jianwu/pub/www/is651/programs/ch11/magpie/rss_parse.inc on line 153

Deprecated: Function split() is deprecated in /afs/umbc.edu/users/j/i/jianwu/pub/www/is651/programs/ch11/magpie/rss_parse.inc on line 153

Deprecated: Function split() is deprecated in /afs/umbc.edu/users/j/i/jianwu/pub/www/is651/programs/ch11/magpie/rss_parse.inc on line 153

Warning: Cache unable to open file for writing: ./cache/4e5a9341e05387d8a1dbfd96b5f19f20 in /afs/umbc.edu/users/j/i/jianwu/pub/www/is651/programs/ch11/magpie/rss_cache.inc on line 185

Example Output

Channel: newsweather-org

RSS URL:

Parsed Results (var_dump'ed)

object(MagpieRSS)#3 (22) {
  ["parser"]=>
  resource(9) of type (Unknown)
  ["current_item"]=>
  array(0) {
  }
  ["items"]=>
  array(0) {
  }
  ["channel"]=>
  array(8) {
    ["title"]=>
    string(15) "newsweather-org"
    ["link"]=>
    string(23) "https://newsweather.org"
    ["description"]=>
    string(21) "Trending Italian News"
    ["lastbuilddate"]=>
    string(31) "Mon, 05 Dec 2022 11:39:45 +0000"
    ["language"]=>
    string(5) "en-US"
    ["sy"]=>
    array(2) {
      ["updateperiod"]=>
      string(9) "
	hourly	"
      ["updatefrequency"]=>
      string(4) "
	1	"
    }
    ["generator"]=>
    string(30) "https://wordpress.org/?v=6.1.1"
    ["tagline"]=>
    string(21) "Trending Italian News"
  }
  ["textinput"]=>
  array(0) {
  }
  ["image"]=>
  array(5) {
    ["url"]=>
    string(74) "https://newsweather.org/wp-content/uploads/2022/04/cropped-image-32x32.png"
    ["title"]=>
    string(15) "newsweather-org"
    ["link"]=>
    string(23) "https://newsweather.org"
    ["width"]=>
    string(2) "32"
    ["height"]=>
    string(2) "32"
  }
  ["feed_type"]=>
  string(3) "RSS"
  ["feed_version"]=>
  string(3) "2.0"
  ["encoding"]=>
  string(5) "UTF-8"
  ["_source_encoding"]=>
  string(0) ""
  ["ERROR"]=>
  string(0) ""
  ["WARNING"]=>
  string(0) ""
  ["_CONTENT_CONSTRUCTS"]=>
  array(6) {
    [0]=>
    string(7) "content"
    [1]=>
    string(7) "summary"
    [2]=>
    string(4) "info"
    [3]=>
    string(5) "title"
    [4]=>
    string(7) "tagline"
    [5]=>
    string(9) "copyright"
  }
  ["_KNOWN_ENCODINGS"]=>
  array(3) {
    [0]=>
    string(5) "UTF-8"
    [1]=>
    string(8) "US-ASCII"
    [2]=>
    string(10) "ISO-8859-1"
  }
  ["stack"]=>
  array(0) {
  }
  ["inchannel"]=>
  bool(false)
  ["initem"]=>
  bool(false)
  ["incontent"]=>
  bool(false)
  ["intextinput"]=>
  bool(false)
  ["inimage"]=>
  bool(false)
  ["current_namespace"]=>
  bool(false)
  ["last_modified"]=>
  string(30) "Mon, 5 Dec 2022 12:49:13 GMT
"
}