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.
At Basic settings > Style: RSS Feed - Fields > * > Channel elements : core > image
views_rss accepts a full url (http://...) but then it displays in the feed
...
<image>
<url>http://server.com/sites/default/files/http://server.com/sites/default/files/basic_logo.png</url>
<title>news feed</title>
<link>http://server.com</link>
<description>description</description>
</image>
...
if, on the other hand, I give the relative path, views_rss complains its not valid.
Comments
Comment #1
maciej.zgadzaj CreditAttribution: maciej.zgadzaj commentedRelative path is something you should use, as per example in field's description.
You say views_rss complains its not valid - what is the error message exactly? What path are you trying to use? Is your Drupal installation placed in a subdirectory of your webserver's root?
Comment #2
maciej.zgadzaj CreditAttribution: maciej.zgadzaj commentedOk, there was something else I haven't noticed before - I believe the fix for #1655138: Core channel element for image does not resolve to valid URL I have just pushed to d.o. should resolve your issue too. Feel free to re-open this ticket if it is not the case.
Comment #3
eiland CreditAttribution: eiland commentedIndeed, now it works, thanks!