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.
I wrote a patch to add an option to View RSS' "Field Usage" setting to allow to output all fields to a RSS element (mostly in the description element.)
Comment | File | Size | Author |
---|---|---|---|
views_rss.patch | 6.06 KB | moritzz | |
Comments
Comment #1
David Goode CreditAttribution: David Goode commentedI don't think all-or-nothing would help all that many use cases. Also, why can't you just use views advanced render and stick everything into one field, and then assign that to description?
Thanks,
David
Comment #2
maciej.zgadzaj CreditAttribution: maciej.zgadzaj commentedSorry, but I see no point to it. You can easily add value of more than one field to any RSS element, just by rewriting output of the field you are adding.
To illustrate it with an example, let's assume you want to have both
nid
andbody
values added to RSS<description>
element - then:nid
andbody
fields to your view,body
field, tickRewrite the output of this field
,[nid]
and[body]
,body
to<description>
element of your feed, and you're done.Also, check out module documentation - you will find most important information about module configuration there already (it's for versions 2.x, but you can get some ideas for previous versions as well). This specific case is not described there yet, but will be soon too.