blogapi_blogger_get_post

Definition

blogapi_blogger_get_post($appkey, $postid, $username, $password)
modules/blogapi/blogapi.module, line 293

Description

Blogging API callback. Returns a specified blog node.

Code

<?php
function blogapi_blogger_get_post($appkey, $postid, $username, $password) {
  $user = blogapi_validate_user($username, $password);
  if (!$user->uid) {
    return blogapi_error($user);
  }

  $node = node_load($postid);

  return _blogapi_get_post($node, TRUE);
}
?>
 
 

Drupal is a registered trademark of Dries Buytaert.