I want to generate the RSS feed of my calendar as:
PHOTO (uploaded photo) BODY http:://www.example.com/content/the-title (Link of feed to the content page)
For this I use a "Global: PHP" field in the calendar view I created, entering code in "Output code".
I didn't succeed in printing the node body using:
<?php echo $row->body; ?>
With this, I get the ID.
The following gives no result:
<?php $node = node_load($row->nid); print_r($node); ?>
<?php print_r($row); ?>
stdClass Object ( [title] => The title [body] => 1311 [rendered_entity] => 1311 [php] => )
How to I get the real content of the body, image link (field_photo) and the content link?