|
|
@ -286,7 +286,7 @@ function _fetch_remote_file ($url, $headers = "" ) {
|
|
|
|
Output: parsed RSS object (see rss_parse)
|
|
|
|
Output: parsed RSS object (see rss_parse)
|
|
|
|
\*=======================================================================*/
|
|
|
|
\*=======================================================================*/
|
|
|
|
function _response_to_rss ($resp) {
|
|
|
|
function _response_to_rss ($resp) {
|
|
|
|
$rss = new MagpieRSS( $resp->results, MAGPIE_OUTPUT_ENCODING, "UTF-8", false);
|
|
|
|
$rss = new MagpieRSS( $resp->results, MAGPIE_OUTPUT_ENCODING, MAGPIE_INPUT_ENCODING, MAGPIE_DETECT_ENCODING );
|
|
|
|
|
|
|
|
|
|
|
|
// if RSS parsed successfully
|
|
|
|
// if RSS parsed successfully
|
|
|
|
if ( $rss and !$rss->ERROR) {
|
|
|
|
if ( $rss and !$rss->ERROR) {
|
|
|
|