Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
By Drupal-i-like on
hey all,
I'm trying to replace some words in the content which was grabbed from other website by Feeds and other modules.I used the Feeds Tamper to do this work but failed and it seemed that the Feeds Tamper doesn't work.Does anyone who know how to figure this out?Thanks for your answer.
Comments
Feeds tamper
Feeds Tamper works very well. Use the "find replace" plugin on the appropriate field. It's very straightforward.
Thanks for your answer
Thanks for your answer
I have been trying to use
I have been trying to use Feeds Tamper for two days.I just want to replace the "%2F" to "/",but after I configured Feeds Tamper and add the plugin "replace" but it just remains to be "%2F" which made me very upset.
Multiple choices
It's difficult to tell which is the best path without more context, but you have multiple choices for processing text. There are filters that implement URL decoding and HTML entity decoding, simple text replacement, and regular expression search-and-replace. Choosing the correct filter and configuring it properly may require some reading up on how regex works, and some trial and error. Since Feeds makes it easy to roll back an import and try again, you should be able to work through this.