Mercurial > hg > Members > shoshi > syncwp2nntp
view syncwp2nntp.php @ 0:1a30ce1834e5 draft default tip
added README
author | Shoshi TAMAKI <shoshi@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Wed, 08 Aug 2012 20:02:35 +0900 |
parents | |
children |
line wrap: on
line source
<?php /* Plugin Name: syncwp2nntp Plugin URI: http://misaka.cr.ie.u-ryukyu.ac.jp/ Description: syncronizes wordpress between netnews. Version: 10.0422 Author: e075766 Author URI: http://misaka.cr.ie.u-ryukyu.ac.jp/ */ /* Copyright 2010/01/19 e075766 (e075766@ie.u-ryukyu.ac.jp) This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ require_once "include/syncwp2nntp_functions.php"; add_action("admin_menu",FUNC_ADD_PAGE); add_action("publish_post",FUNC_PUBLISH_POST); add_action(EVENT_NAME,FUNC_REFRESH_EVENT_CALLBACK); register_activation_hook(__FILE__,"syncwp2nntp_activate"); register_deactivation_hook(__FILE__,"syncwp2nntp_deactivate"); ?>