Correct please
Not work import of news even from such world famous server Yandex.ru does not work!
RSS <-http: // news.yandex.ru/software.rss
warning: xml_set_element_handler(): supplied argument is not a valid XML Parser resource in /home/orthodoxy/domains/litopys.net/public_html/modules/aggregator.module on line 502.

Comments

kiev1.org’s picture

RSS
http://news.yandex.ru/software.rss

error
warning: xml_set_element_handler(): supplied argument is not a valid XML Parser resource in /home/orthodoxy/domains/litopys.net/public_html/modules/aggregator.module on line 502.

kuba.zygmunt’s picture

I can't reproduce this error.
I added sucesfully this rss link to aggregator feed.

kiev1.org’s picture

Drupal-CVS 4.7

warning: xml_set_element_handler(): supplied argument is not a valid XML Parser resource in /home/orthodoxy/domains/litopys.net/public_html/modules/aggregator.module on line 502.

warning: xml_set_character_data_handler(): supplied argument is not a valid XML Parser resource in /home/orthodoxy/domains/litopys.net/public_html/modules/aggregator.module on line 503.

warning: xml_parse(): supplied argument is not a valid XML Parser resource in /home/orthodoxy/domains/litopys.net/public_html/modules/aggregator.module on line 505.

warning: xml_get_error_code(): supplied argument is not a valid XML Parser resource in /home/orthodoxy/domains/litopys.net/public_html/modules/aggregator.module on line 506.

warning: xml_get_current_line_number(): supplied argument is not a valid XML Parser resource in /home/orthodoxy/domains/litopys.net/public_html/modules/aggregator.module on line 506.

warning: xml_get_error_code(): supplied argument is not a valid XML Parser resource in /home/orthodoxy/domains/litopys.net/public_html/modules/aggregator.module on line 507.

warning: xml_get_current_line_number(): supplied argument is not a valid XML Parser resource in /home/orthodoxy/domains/litopys.net/public_html/modules/aggregator.module on line 507.

warning: Cannot modify header information - headers already sent by (output started at /home/orthodoxy/domains/litopys.net/public_html/includes/common.inc:461) in /home/orthodoxy/domains/litopys.net/public_html/includes/common.inc on line 247. 
kuba.zygmunt’s picture

I had the latest cvs version and php 4.3.11 and rss feed works fine.
maybe the problem lies in your version of PHP. it might be a problem with its XML library.

kiev1.org’s picture

I have understood
It because the coding windows-1251 is incorrectly processed in Drupal rss feed
I shall correct the module I shall insert function of code conversion

Uwe Hermann’s picture

Works fine for me on PHP 4.4.0 and Drupal HEAD.

killes@www.drop.org’s picture

Status: Active » Closed (won't fix)

I believe the original poster didn't have any or the code conversion extensions we use. Nothign we can do about.

kiev1.org’s picture

Status: Closed (won't fix) » Fixed

Thank you! Here today works already!!!
I suspect that "drupal rss feed" can not work if iconv is not set.

there is another question
in drupal rss a channel gets unrefined html code from teaser and sometimes present in teaser special characters cause the error of some rss-readers

Anonymous’s picture

Status: Fixed » Closed (fixed)