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

http://main.website.link/

1. is generic 'Drupal'. Why?
2.
is main website link.

I wish those fields could be changed manually.

Comments

maciej.zgadzaj’s picture

Category: feature » bug
Status: Active » Fixed

Thanks 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.

skolesnyk’s picture

Maciej, great job! Works as expected!))

maciej.zgadzaj’s picture

Status: Fixed » Closed (fixed)

Great, thanks for the update!