Needs review
Project:
Views (for Drupal 7)
Version:
7.x-3.x-dev
Component:
feed displays
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Anonymous (not verified)
Created:
1 Feb 2012 at 11:21 UTC
Updated:
21 Jan 2019 at 18:00 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
xjmHum, interesting little bug. Moving to D8 and tagging for backport.
Comment #2
droplet commentedcan't reproduce.
terms saving & in DB and only one check_plain in format_rss_item before output.
Comment #3
xjmSo @Shnapoo, can you provide steps to reproduce this issue, starting from "Install Drupal core"?
Comment #4
Anonymous (not verified) commentedOops, it's the views taxomony override, not the core module.
Comment #5
dawehnerWell views doesn't provide a way to build feeds of taxonomy terms, maybe that's another contrib module.
Comment #6
Anonymous (not verified) commentedIt's the view "Taxonomy term" (taxonomy_term) provided by views 3. The term is insert as feed-title (<title>).
I just found out...
- it looks fine with /taxonomy/term/81/feed
- it is double-encoded when using /taxonomy/term/81/*/feed
I'll strive to do more tests later. It is a very complex drupal installation. For me as a novice it's hard to understand what other modules might be involved or if it's caused by the theme (using Omega theme as base) or whatever. Will have to read some docs about taxonomy I guess.
Comment #7
Anonymous (not verified) commentedUnfortunately now after searching a bit, all I can say is the feed created via views has double encoded HTML entities in the title, while the original taxonomy feed has not. It's only when a depth parameter is provided.
Comment #8
esmerel commentedComment #9
jcisio commentedIt's because in views_handler_field_node, the method sanitize_value() is used to add a check_plain() to the node title.
Comment #10
helmo commentedThe same problem appears with rss item title. See template_preprocess_views_view_row_rss()
Here's an updated patch.
Comment #11
sokrplare commentedDidn't seem to do the trick for me, but I didn't test in depth - patch applied cleanly against 3.11 at least!
Comment #12
chris matthews commentedThe 5 year old patch in #10 to theme.in does not apply to the latest views 7.x-3.x-dev and if still relevant needs to be rerolled.
Comment #13
dimaro commentedI recently had to use this patch in a project...
#10 rerolled (No interdiff needed)
I hope that if someone is using this patch, it will be useful.
Comment #14
bohus ulrychHello,
I've found this patch helpful - I faced exactly same issue.
In my case it was node title causing this. Patched Views version = "7.x-3.23" works well now.
Note: I'm using also module title (version = "7.x-1.0-alpha9")