OK: Found an XML parser.
OK: Support for GZIP encoding.
OK: Support for character munging.
Example Output
Channel: "site:NevadaNewsPress.com" - Google News
Parsed Results (var_dump'ed)
object(MagpieRSS)#4 (22) {
["parser"]=>
resource(4) of type (Unknown)
["current_item"]=>
array(0) {
}
["items"]=>
array(0) {
}
["channel"]=>
array(9) {
["generator"]=>
string(7) "NFE/5.0"
["title"]=>
string(40) ""site:NevadaNewsPress.com" - Google News"
["link"]=>
string(105) "https://news.google.com/search?cf=all&hl=en-US&pz=1&q=site:NevadaNewsPress.com&scoring=d&gl=US&ceid=US:en"
["language"]=>
string(5) "en-US"
["webmaster"]=>
string(25) "news-webmaster@google.com"
["copyright"]=>
string(374) "Copyright © 2024 Google. All rights reserved. This XML feed is made available solely for the purpose of rendering Google News results within a personal feed reader for personal, non-commercial use. Any other use of the feed is expressly prohibited. By accessing this feed or using these results in any manner whatsoever, you agree to be bound by the foregoing restrictions."
["lastbuilddate"]=>
string(29) "Mon, 14 Oct 2024 23:23:24 GMT"
["description"]=>
string(11) "Google News"
["tagline"]=>
string(11) "Google News"
}
["textinput"]=>
array(0) {
}
["image"]=>
array(5) {
["title"]=>
string(11) "Google News"
["url"]=>
string(111) "https://lh3.googleusercontent.com/-DR60l-K8vnyi99NZovm9HlXyZwQ85GMDxiwJWzoasZYCUrPuUM_P_4Rb7ei03j-0nRs0c4F=w256"
["link"]=>
string(24) "https://news.google.com/"
["height"]=>
string(3) "256"
["width"]=>
string(3) "256"
}
["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(31) "Mon, 14 Oct 2024 23:23:24 GMT
"
}