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.
In most cases it makes perfect sense to automatically use the base URL of the feed that we are currently fetching with the "Make URLs absolute" plugin. Still, I think it would be useful to have an option for defining a custom base URL in case of someone needs it.
Comment | File | Size | Author |
---|---|---|---|
#1 | feeds_tamper-custom-base-url-1730082-1.patch | 2.05 KB | balintk |
Comments
Comment #1
balintk CreditAttribution: balintk commentedI created this simple patch to do the job. The approach is really basic: a textfield appears on the plugin configuration form, and if someone adds a base URL in there, that will be used, but it can be leaved empty as well, so the original behavior will happen.
The patch is for 6.x, because I'm working on a D6 project currently, but if you like this small improvement, I will be happily porting it to the 7.x version.
Comment #2
twistor CreditAttribution: twistor commentedThis could be useful, but the base should be a full URL, not just a domain name.