Hello guys.
I have some problems because I was importing some RSS nodes using the description in RSS to set the Node body, the problem I have is the body always has the filtered_html format, and I need set the full_html format.
I tried changing the order or text format and disabling and enabling filters, but always got the same results, also I tried with better_formats module.
Is important to maintain the Drupal settings for the body text format, using the author id configured in processor settings.
Regards,
enzo
Comments
Comment #1
-enzo- commentedHello Guys
I just did a mini patch to use author preferences of text format to assign the default format to new node created via feeds importation process.
Please check and evaluate include in new version
Comment #2
rmontero commentedI would change that to:
Although I haven't tested it yet.
Comment #3
-enzo- commentedHey guys this is a new version of patch simplified after followed some recommendation from Roberto Montero (http://drupal.org/user/191552)
Comment #4
twistor commentedI don't understand, you can set the filter format in the processor settings.
Comment #5
denisvs-enzo-
Cool job!
twistor
Settings of Text format not assign in dev version, it's bug.
Comment #6
twistor commentedThere are two different issues going on here. One is that the correct filter format is not being applied according to the settings in the Node processor. The other, is using the user's settings for the filter format.
They need to be split up.
Comment #7
philipz commentedLets keep this focused on the problem that correct filter format is not being applied according to the settings in the Node processor.
I'm debugging this right now and first thing I'm seeing is this strange data array before saving entity. The body value and format are in separate array items as if these where two body fields: the first one only with the value and the second one only with the format.
Comment #8
philipz commentedI think I found the problem and first tests are showing that it's working.
Comment #9
slefevre1 commentedFrom the fix in your patch, this issue seems to be a duplicate of http://drupal.org/node/1807920 ?
Comment #10
twistor commentedSee #1807920: Imported nodes have NULL format.
Comment #11
twistor commentedComment #11.0
twistor commentedFixed grammer errors