OK: Found an XML parser.
OK: Support for GZIP encoding.
OK: Support for character munging.
Example Output
Notice: Undefined index: title in /home/linkove/linkoverload/magpierss/scripts/magpie_debug.php on line 29
Channel:
Parsed Results (var_dump'ed)
object(MagpieRSS)#4 (22) {
["parser"]=>
resource(4) of type (Unknown)
["current_item"]=>
array(0) {
}
["items"]=>
array(0) {
}
["channel"]=>
array(0) {
}
["textinput"]=>
array(0) {
}
["image"]=>
array(0) {
}
["feed_type"]=>
NULL
["feed_version"]=>
NULL
["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) "Sun, 22 Dec 2024 11:55:27 GMT
"
}