public function __construct()
 {
     parent::__construct();
     // extend current cron schedules with our entry
     //add_filter( 'cron_schedules', array(&$this, 'add_cron_schedule' ) );
     // this is mostly for debugging reasons
     // register_activation_hook( __FILE__ , array( __CLASS__ , 'plugin_activate' ) );
     // clear schedules if there's any on deactivation
     register_deactivation_hook(__FILE__, array(__CLASS__, 'plugin_deactivate'));
     // register the action for processing received
     add_action(static::cron, array(&$this, 'process'));
     // register new posts
     add_action('transition_post_status', array(&$this, 'queue_post'), 98, 5);
 }
 public function __construct()
 {
     parent::__construct();
     // this is mostly for debugging reasons
     // register_activation_hook( __FILE__ , array( __CLASS__ , 'plugin_activate' ) );
     // clear schedules if there's any on deactivation
     register_deactivation_hook(__FILE__, array(__CLASS__, 'plugin_deactivate'));
     add_action('parse_query', array(&$this, 'receive'));
     add_action('wp_head', array(&$this, 'html_header'), 99);
     add_action('send_headers', array(&$this, 'http_header'));
     // register the action for processing received
     add_action(static::cron, array(&$this, 'process'));
     // additional comment types
     add_action('admin_comment_types_dropdown', array(&$this, 'comment_types_dropdown'));
 }