Skip to content
Snippets Groups Projects
Commit 30eec1af authored by Alex Barth's avatar Alex Barth
Browse files

#781058 blakehall: Create teaser for imported nodes.

parent 64117304
No related branches found
No related tags found
No related merge requests found
...@@ -3,6 +3,9 @@ ...@@ -3,6 +3,9 @@
Feeds 6.x 1.0 xxxxxxxxxxxxxxxxxxxx Feeds 6.x 1.0 xxxxxxxxxxxxxxxxxxxx
---------------------------------- ----------------------------------
- #781058 blakehall: Create teaser for imported nodes. NOTE: this may mean that
your existing installation has shorter node teasers as expected. If this is
the case, increase "Length of trimmed posts" on admin/content/node-settings.
- #622932-30 mikl: fix remaining non-standard SQL. - #622932-30 mikl: fix remaining non-standard SQL.
- #624464 bangpound: Support tabs as delimiters. - #624464 bangpound: Support tabs as delimiters.
......
...@@ -207,7 +207,7 @@ class FeedsNodeProcessor extends FeedsProcessor { ...@@ -207,7 +207,7 @@ class FeedsNodeProcessor extends FeedsProcessor {
$target_node->feeds_node_item->$target_element = $value; $target_node->feeds_node_item->$target_element = $value;
} }
elseif ($target_element == 'body') { elseif ($target_element == 'body') {
$target_node->teaser = $value; $target_node->teaser = node_teaser($value);
$target_node->body = $value; $target_node->body = $value;
} }
elseif (in_array($target_element, array('title', 'status', 'created'))) { elseif (in_array($target_element, array('title', 'status', 'created'))) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment