You are here

function blogapi_init in Drupal 6

File

modules/blogapi/blogapi.module, line 810
Enable users to post using applications that support XML-RPC blog APIs.

Code

function blogapi_init() {
  if (drupal_is_front_page()) {
    drupal_add_link(array(
      'rel' => 'EditURI',
      'type' => 'application/rsd+xml',
      'title' => t('RSD'),
      'href' => url('blogapi/rsd', array(
        'absolute' => TRUE,
      )),
    ));
  }
}