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
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | feed-page.png | 26.64 KB | aleighs |
| #2 | view-page-source.png | 172.11 KB | aleighs |
Comments
Comment #1
alex_b commented"I'm not getting rss output from my feeds"
Is there no RSS feed at all? Is there a damaged feed? Or a 404?
Comment #2
aleighs commentedI'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.
Comment #3
tdos20 commentedI'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:
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
Comment #4
tdos20 commentedI think I have a solution - this isn't very graceful but if I change from using
filter_xss_admintocheck_plainin 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 someoneComment #5
Will White commentedThis issue is fixed, but we are now double encoding. #708044: Remove redundant encoding addresses this issue.