On Wed, Mar 3, 2010 at 6:33 AM, Michel Morelli michel@ziobuddalabs.it wrote:
Yes. If you need to display only an item content you can use "check_markup". node_load()+check_markup it's more quick than a node_view() (for a single or few node's items). In all other case node_view is the right choice.
I think you simplify too much. The check_markup solution will only display content in the $node->body and it doesn't allow other modules on the site to do the normal overriding that they might do (many modules work that way) so I consider the check_markup solution only a solution for very specific sites. Further, it doesn't render any cck, location, or other fields that might normally appear in a "node's content."
If someone is building a general module they should use node_view (or copy the code from node_view and alter appropriately).
Regards, Greg