Customized node edit page
You can add a button to the node form, with a submit function for that button, using hook_form_alter()

function hook_form_alter(&amp;$form, &amp;$form_state, $form_id)
{
  $content_type = 'page'; // change as necessary
  if($form_id == $content_type . '_node_form')
  {
    $form['actions']['my_button'] = array
    (
      '#type' =&gt; 'submit',
      '#value' =&gt; t('Do something'),
      '#submit' =&gt; array('my_submit_function'),
    );
  }
}

function my_submit_function($form, &amp;$form_state)
{
  // Do stuff here
}