├── .gitignore
├── README.md
├── LICENSE
├── Plugin.php
├── panel.php
└── Action.php
/.gitignore:
--------------------------------------------------------------------------------
1 | .idea
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | TypExport
2 | =========
3 |
4 | Typecho导出WXR插件
5 |
6 | WXR全称为WordPress eXtended Rss,是wordpress导出数据的一种格式,它包含了您的全部文章、页面、评论、自定义字段、分类目录和标签。
7 |
8 | #### 简介
9 |
10 | 测试平台:typecho 1.0 & wordpress 4.0/4.1
11 |
12 | #### 如何使用
13 |
14 | 点击右侧的`Download ZIP`按钮,下载完成之后解压得到类似`TypExport-master`文件夹,将文件夹重命名为`TypExport`,上传到Typecho目录`usr/plugins`,然后在后台启用插件。
15 |
16 | 在后台界面,`控制台`菜单下会有一个`数据导出`菜单,点击进入导出界面,只有一个按钮,我相信你肯定会使用的。
17 |
18 | #### 更新纪录
19 |
20 | ##### 2015-01-06
21 |
22 | * 修正typecho 0.9 markdown类报错的问题
23 | * typecho 1.0 文章内容可能不是markdown格式的处理
24 |
25 | #### 问题反馈
26 |
27 | 在[这里](https://github.com/panxianhai/TypExport/issues)提出使用中的问题,我会在时间允许的第一时间进行处理。
28 |
29 | 另外,欢迎fork & star。
30 |
31 | #### LICENSE
32 |
33 | [MIT LICENSE](https://github.com/panxianhai/TypExport/blob/master/LICENSE)
34 |
35 |
--------------------------------------------------------------------------------
/LICENSE:
--------------------------------------------------------------------------------
1 | The MIT License (MIT)
2 |
3 | Copyright (c) 2014 panxianhai
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining a copy
6 | of this software and associated documentation files (the "Software"), to deal
7 | in the Software without restriction, including without limitation the rights
8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | copies of the Software, and to permit persons to whom the Software is
10 | furnished to do so, subject to the following conditions:
11 |
12 | The above copyright notice and this permission notice shall be included in all
13 | copies or substantial portions of the Software.
14 |
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21 | SOFTWARE.
22 |
--------------------------------------------------------------------------------
/Plugin.php:
--------------------------------------------------------------------------------
1 | $current_version) {
7 | $message = "此插件有新版本({$version}),当前版本({$current_version}),请到这里下载更新";
8 | }
9 |
10 | include_once 'common.php';
11 | include 'header.php';
12 | include 'menu.php';
13 | ?>
14 |
15 |