Enabled "multi: loop" for the rewrite plugin

Created on 29 February 2012, about 13 years ago
Updated 14 May 2025, 1 day ago

I created a patch for rewrite.inc that would enable the use of this plugin in "multi: loop" behavior
To do this, I've added a new token called [value] that holds the value that was caught by the parser.

Feature request
Status

RTBC

Version

1.0

Component

Code

Created by

🇮🇱Israel daniboy

Live updates comments and jobs are added and updated live.
  • Needs tests

    The change is currently missing an automated test that fails when run with the original code, and succeeds when the bug has been fixed.

Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • 🇬🇧United Kingdom fonant

    Just a quick note that the patch #24 doesn't apply to Feeds any more.

    Can't find a way to rewrite individually "exploded" values from a CSV field, so will have to workaround by rewriting the data in the CSV first.

  • 🇳🇱Netherlands megachriz

    @fonant
    Do not that this is a patch for the D7 version of Feeds Tamper. Did you try to apply it on the D7 version of Feeds Tamper?

    I'm still willing to commit code to the D7 version of this project, but I won't put much time in testing it myself.

  • 🇬🇧United Kingdom fonant

    @megachriz Doh! Silly me. Yeah, I'm working with Tamper in Drupal 10.

    Ideally wanting to explode a CSV field, and then rewrite each value individually (to prepend HTTP path to files).

    I've avoided the problem by editing the CSV file to prepend the HTTP paths in advance, so I only need to explode the field to get the multiple values. That works fine :)

Production build 0.71.5 2024