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.
Running this module with Domain Access module (http://drupal.org/project/domain) .
I have separate views rss setup for every domain on the site, but channel configuration is messed up.
Drupal
1. is generic 'Drupal'. Why?
2.
is main website link.
I wish those fields could be changed manually.
Comments
Comment #1
maciej.zgadzaj CreditAttribution: maciej.zgadzaj commentedThanks Serhiy. Indeed, there was an issue with feed title if view title was not set - preprocess function was failing to get site title from variable (missing underscore in variable name) and was falling back to default "Drupal". Fixed now in the most recent dev release for both branches. Also, works fine with multi-domain installation, getting title of the current domain.
For uris there was caching issue in xml:base namespace, displaying uri that got cached, which didn't have to be for the current domain. Fixed now too. Other uris work fine on multi-domain installations.
If you want to change field values manually you would need to implement
hook_views_rss_channel_elements_alter(&$elements)
and add your own preprocess function.Comment #2
skolesnyk CreditAttribution: skolesnyk commentedMaciej, great job! Works as expected!))
Comment #3
maciej.zgadzaj CreditAttribution: maciej.zgadzaj commentedGreat, thanks for the update!