Changeset 208325
- Timestamp:
- 02/20/2010 12:55:20 PM (16 years ago)
- Location:
- wp2sinablog/trunk
- Files:
-
- 2 edited
-
readme.txt (modified) (5 diffs)
-
wp2sinablog.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
wp2sinablog/trunk/readme.txt
r208034 r208325 5 5 Requires at least: 2.7 6 6 Tested up to: 2.9.1 7 Stable tag: 1.0. 17 Stable tag: 1.0.2 8 8 9 9 同步发表 WordPress 博客日志到 新浪博客,初次安装必须设置后才能使用。 … … 12 12 13 13 14 Version 1.0 支持功能14 Version 1.0.2 支持功能 15 15 16 16 1。支持自动获取新浪博客的类别 … … 26 26 6。支持投稿到参与的圈子,让您的圈友分享您的文章。 27 27 28 7。支持将Wordpress中的文章发布成新浪博客中私密博客。 28 29 29 Version 1.0 不支持功能 30 31 Version 1.0.2 不支持功能 30 32 31 33 1。不支持将Wordpress中私密(private)文章发布到新浪博客。 32 34 33 2。不支持将Wordpress中的文章发布成新浪博客中私密博客。 35 34 36 35 37 … … 50 52 == Changelog == 51 53 54 = 版本 1.0.2 = 55 56 增加将Wordpress中文章以`私密博客`方式发布到新浪博客 57 52 58 = 版本 1.0.1 = 53 59 … … 60 66 == Upgrade Notice == 61 67 68 = 1.0.2 = 69 70 增加将Wordpress中文章以`私密博客`方式发布到新浪博客 71 62 72 = 1.0.1 = 63 73 -
wp2sinablog/trunk/wp2sinablog.php
r208022 r208325 4 4 Plugin URI: http://www.starhai.tk/wp2sinablog 5 5 Description: 同步发表 WordPress 博客日志到 新浪博客,初次安装必须设置后才能使用。 6 Version: 1.0 6 Version: 1.0.2 7 7 Author: Starhai 8 8 Author URI: http://starhai.tk/ … … 93 93 $posturl="http://control.blog.sina.com.cn/admin/article/article_post.php"; 94 94 $post="album=&blog_id=&is_album=0&stag=&sno=&book_worksid=&channel_id=&url=&channel=&newsid=&fromuid=&wid=&articletj=&vtoken=".urlencode($this->token)."&is_media=0&is_stock=0&assoc_article=&assoc_article_data=&article_BGM=&xRankStatus=&commentGlobalSwitch=&commenthideGlobalSwitch=&articleStatus_preview=1&blog_title=".urlencode($title)."&time=".urlencode($time)."&blog_body=".urlencode($content)."&blog_class=".urlencode($catlog)."&tag=".urlencode($tag)."&x_cms_flag=".urlencode($x_cms_flag)."&sina_sort_id=".urlencode($sina_sort_id)."&is2bbs=".urlencode($xis2bbs)."&join_circle=".urlencode($xjoin_circle); 95 //if ($x_rank==1)96 //{97 // $post="album=&blog_id=&is_album=0&stag=&sno=&book_worksid=&channel_id=&url=&channel=&newsid=&fromuid=&wid=&articletj=&vtoken=".urlencode($this->token)."&is_media=0&blog_title=".urlencode($title)."&time=".urlencode($time)."&blog_body=".urlencode($content)."&tag=".urlencode($tag)."&blog_class=0&x_cms_flag=".urlencode($x_cms_flag)."&sina_sort_id=".urlencode($sina_sort_id)."&join_circle=1";98 //}95 if ($x_rank==1) 96 { 97 $post="album=&blog_id=&is_album=0&stag=&sno=&book_worksid=&channel_id=&url=&channel=&newsid=&fromuid=&wid=&articletj=&vtoken=".urlencode($this->token)."&is_media=0&blog_title=".urlencode($title)."&time=".urlencode($time)."&blog_body=".urlencode($content)."&tag=&blog_class=0&x_cms_flag=".urlencode($x_cms_flag)."&x_rank=1&sina_sort_id=".urlencode($sina_sort_id); 98 } 99 99 100 100 $reffer="http://control.blog.sina.com.cn/admin/article/article_add.php?index"; … … 170 170 <div class="wrap"> 171 171 <h2>WP2Sinablog 选项</h2><br /> 172 设置仅适用用新浪博客,优先级别高于Wordpress博客文章本身的级别。<br/> 173 不支持private属性的文章发布到新浪 174 如在此文章访问权限设置为<b>仅自己可见</b> Wordpress中文章级别为非公开,那么同步到新浪博客的文章为私密博客。(暂不支持将文章以私密博客方式发布到新浪) 172 设置仅适用于新浪博客,不支持Wordpress中<b>private</b>属性的文章发布到新浪博客。 175 173 <br/><br/> 176 174 <form method="post" action="options.php"> … … 260 258 261 259 <tr valign="top"> 262 <th scope="row"> <del>文章访问权限</del>(暂不支持)</th>260 <th scope="row">文章访问权限</th> 263 261 <td> 264 262 <input name="x_rank" value="0" id="xRankRadio3" type="radio" <?php checked(0, get_option('x_rank')); ?> >
Note: See TracChangeset
for help on using the changeset viewer.