OK: Found an XML parser.
OK: Support for GZIP encoding.
OK: Support for character munging.
Example Output
Notice: Undefined index: title in C:\ms4w\Apache\htdocs\bo_beni\pacotes\magpierss\scripts\magpie_debug.php on line 29
Channel:
Parsed Results (var_dump'ed)
object(MagpieRSS)#2 (22) {
["parser"]=>
resource(8) 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) "Fri, 22 Nov 2024 06:39:42 GMT
"
}