blogapi_blogger_get_post

Versions
4.6 – 6
blogapi_blogger_get_post($appkey, $postid, $username, $password)

Blogging API callback. Returns a specified blog node.

Code

modules/blogapi/blogapi.module, line 304

<?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);
}
?>
Login or register to post comments
 
 

All source code and documentation on this site is released under the terms of the GNU General Public License, version 2 and later. Drupal is a registered trademark of Dries Buytaert.