You are here

function hook_views_atom_render_node in Views Atom 7

Same name and namespace in other branches
  1. 6 views_atom.api.php \hook_views_atom_render_node()

Render a node into XML in Drupal-RDF format.

This hook allows modules to add to the XML representation of a node. It is identical to hook_views_atom_render() except that it applies only to nodes. In Drupal 6 that means nothing, but it's here for future extensibility.

Parameters

$node: The node that is being rendered.

$xml: A SimpleXML object representing the output XML. It will be rendered down into a string later by views_atom.

1 invocation of hook_views_atom_render_node()
views_plugin_row_rdf_node::render in ./views_plugin_row_rdf_node.inc
Render a row object. This usually passes through to a theme template of some form, but not always.

File

./views_atom.api.php, line 63

Code

function hook_views_atom_render_node($node, $xml) {
}