Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kirainmoe/typecho-to-canvas
Convert your posts from Typecho to Canvas blog platform.
https://github.com/kirainmoe/typecho-to-canvas
canvas converter te2canvas te2cn typecho typecho-to-canvas
Last synced: 5 days ago
JSON representation
Convert your posts from Typecho to Canvas blog platform.
- Host: GitHub
- URL: https://github.com/kirainmoe/typecho-to-canvas
- Owner: kirainmoe
- License: gpl-2.0
- Created: 2017-02-08T09:49:56.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2017-10-06T10:05:10.000Z (about 7 years ago)
- Last Synced: 2024-05-28T23:31:26.895Z (6 months ago)
- Topics: canvas, converter, te2canvas, te2cn, typecho, typecho-to-canvas
- Language: PHP
- Size: 26.4 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# typecho-to-canvas
Easily convert your blog data from Typecho to Canvas blog platform.
# Features
- The first "Switch to Canvas" program for Typecho
- Convert data include tags, posts, relationships
- Loading and parsing config automatically
- CLI mode
- ~~Adorable developer~~# Requirement
- Operating permission of server
- PHP version >= 5.6.4
- Composer
- PHP PDO extensions for your database type
- PDO complicant database
- Patient# Usage
Before converting, you must have Typecho and Canvas installed correctly on converting environment.
### Install via Git and convert
- Clone this repository.
```shell
$ git clone https://github.com/kirainmoe/typecho-to-canvas
$ cd typecho-to-canvas
```
- Install dependencies. You must have composer worked normally.
```shell
$ composer install
```
- Run **te2cn**, which lies on the root directory of this repository.
```shell
$ php te2cn
```
- Follow the instruction and fill in the config.
- Enjoy Canvas!
### Install via Composer and convert- Run composer global require.
```shell
$ composer global require kirainmoe/typecho-to-canvas:dev-master
```
- Run **te2cn**, follow the instruction and fill in the config.
```shell
$ te2cn
```
- Enjoy Canvas!
#### PS: You can copy Typecho's config file *config.inc.php* to the root directory of this project, *te2cn* will detece and parse the config automatically.# Q&A
Q: How can I know what caused my failure of converting data?
A: After checking your local environment (eg.permission, database), you can open an issue to tell us the trouble you are facing. We will help you with it.
---
Q: I don't use **Typecho** but I use **Wordpress**, how can I export my data?
A: You may consider [this](https://github.com/magnetion/wordpress-to-canvas) or using [typecho2wordpress](https://github.com/panxianhai/typecho2wordpress) first before exporting data to Canvas.
# Compatibility
*te2cn* worked perfectly on Typecho 1.0(14.10.10) and Canvas(3.1.0).
# Todo
- Reverse converting (Canvas to Typecho)
# Contribute
Feel free to contribute (Pull requests & issues are welcomed).
# License
GNU General Public License v2.0.