I'm using views_rss as part of managing news, I'm not getting rss output from my feeds, saved searches or channels using views_rss with the default managing news settings. I was having an issue with an unknown ANSI character encoding throwing lots of errors, I've also been having problems with the RSS XML code being wrapped in a <span> tag. I can provide more information on request.
Thanks
tdos20

CommentFileSizeAuthor
#2 feed-page.png26.64 KBaleighs
#2 view-page-source.png172.11 KBaleighs

Comments

alex_b’s picture

"I'm not getting rss output from my feeds"

Is there no RSS feed at all? Is there a damaged feed? Or a 404?

aleighs’s picture

StatusFileSize
new172.11 KB
new26.64 KB

I'm having what I think is a related issue, my apologies if it is not, I'm not using managing news. In views preview I'm getting the following warning message.

warning: htmlentities() [function.htmlentities]: charset `ANSI_X3.4-1968' not supported, assuming iso-8859-1 in .../httpdocs/sites/all/modules/views_rss/views/views_plugin_style_rss_fields.inc on line 140.

On the feed page nothing shows up (see feed-page.png) , but in view source it seems the code is there (see view-page-source.png). Also when I try to refresh the feed on another drupal site, it fails.

Thanks for your help.

tdos20’s picture

I'm getting invalid characters - I'm using the latest version of simple pie in a non drupal app and its giving me this error message:

PHP Notice: This XML document is invalid, likely due to invalid characters. XML error: Undeclared entity error...

I think the <span> issue was my own fault - I've managed to get that sorted - I think I need to pipe the rss output through a harsher filter to remove or escape those characters - if you can give me any hints I'd appreciate it.
Thanks
Toby

tdos20’s picture

Status: Active » Needs review

I think I have a solution - this isn't very graceful but if I change from using filter_xss_admin to check_plain in function template_preprocess_views_rss_fields_item on line 51 of template_preprocess_views_rss_fields_items.inc then I can retrieve rss output, I know this is not a real solution but it serves my purpose - hopefully it will help someone

Will White’s picture

Status: Needs review » Fixed

This issue is fixed, but we are now double encoding. #708044: Remove redundant encoding addresses this issue.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.