When using Display Suite to style RSS feeds (the feed output from Views), all fields show ok in the feed except the core body which never displays.
When using Display Suite to style RSS feeds (the feed output from Views), all fields show ok in the feed except the core body which never displays.
Comments
Comment #1
swentel commentedI can confirm, I seem to be having other problems too - weight doesn't seem to be respected and need to update in dev version now #724124: Add css-class to field definition got in. Moving to Node Displays since that's the one that handles RSS feeds.
Comment #2
swentel commentedHaven't got a patch yet, but commenting out "$node->content['body']['#access'] = FALSE;" and changing $node->ds_fields[$field]['type'] == 'nd' to $node->ds_fields[$field]['type'] == 'ds' both in nd.module at least brings back the core body for me on my local machine. Looking for the weights now, hope to get that right too.
Comment #3
swentel commentedOk weights seem to be respected for any field though, except for body and title - and title of course is something you'd normally ignore heh - Core body is alwas displayed at the bottom.
Comment #4
swentel commentedOk, this ain't a patch, but this is how _nd_nodeapi now looks in 6--2 branch of Node Displays - I'm pasting the code here since I've lost of some commits already and need to remember to port this to the D7 version. Weights are respected and core body is rendered. There is a *tiny* change in the theming function of a ds field (in DS module) which only needs the content and the field now, so you can either update to the dev version of those 2 modules or simple change 3 things on your local machine to test:
Comment #5
swentel commentedCommitted code to D7 - untested for now.
Comment #6
swentel commented