Hi! I've just set up a Fast Feed to pull a YouTube feed, which has lots of HTML.

The HTML is stored in {feeds_data_feed_fast} just fine, but when I make a View to display this data, Views keeps escaping the HTML.

I have looked and looked for a way to set Views to use a Full HTML filter, but I can't find anything.

The Feeds documentation seems to focus on Node Imports, and naturally the Nodes have an Input Filter, so the Views would work with nodes without any trouble. This may only be an issue with the Fast Feed format.

I've looked through the issue queue, and this seem similar: http://drupal.org/node/724306
but I tried the "Better Formats" module, and it doesn't seem to affect this.

Also saw this: http://drupal.org/node/657900
and followed it here: http://drupal.org/node/623432

but all these things seem off-track for me. All I want is to use the Full HTML filter on a View of Fast Feed data.

I checked the documentation screencasts:
http://developmentseed.org/blog/2009/dec/15/importing-and-aggregating-st...

I looked in the Views queue, and this answer suggested that this is actually not available out of the box?
http://drupal.org/node/400974

Is this true?

It seems like storing HTML as Fast Feed data, and showing this HTML as a view, would be a pretty common use case, so I'm sure I'm missing something obvious.

Thanks for the help!
troubador

Comments

alex_b’s picture

Project: Feeds » Data
Version: 6.x-1.0-beta4 » 6.x-1.x-dev
Status: Active » Fixed

Go to admin/build/data, pick the table that is target of your import, click on 'Configure views' and pick 'views_handler_field_data_markup' for the field that should use a drupal input filter for displaying content.

Anonymous’s picture

Awesome! Thanks, this works great.

markdorison’s picture

Status: Fixed » Needs review
StatusFileSize
new1.33 KB

#758960: Strip HTML tags in views doesn't work for data fields was the ticket that put the fix in for this problem but I believe we should add some documentation to the README as I spent a few days not seeing this ticket here until I finally discovered it. I took a first pass and have attached a patch.

alex_b’s picture

Status: Needs review » Reviewed & tested by the community
StatusFileSize
new2.48 KB

Documentation is much appreciated. Re rolled the patch against latest DRUPAL-6--1

alex_b’s picture

Title: How to set View of a Fast Feed (stored with Data module) to filter output as Full HTML? » Document HTML Fields
Status: Reviewed & tested by the community » Fixed

This is committed, thank you.

http://drupal.org/cvs?commit=428964

Status: Fixed » Closed (fixed)

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

vintageb’s picture

Hi,

This is what I get when I go to admin/build/data : http://www.gurita.com/Untitled.png

I don't see any option to 'Configure Views'. Am I missing something?

nandt’s picture

Component: Documentation » Code
Assigned: Unassigned » nandt

hello i am trying to fing the views_handler_field_data_markup in data module, but its not there..
any help would be appretiated.
its only , numeric,string, float, date.. not data..