2017 © Pedro Peláez
 

plugin typecho-to-canvas

Easily converting data from Typecho to Canvas blog platform.

image

kirainmoe/typecho-to-canvas

Easily converting data from Typecho to Canvas blog platform.

  • Friday, October 6, 2017
  • by kirainmoe
  • Repository
  • 1 Watchers
  • 2 Stars
  • 1 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

typecho-to-canvas

Easily convert your blog data from Typecho to Canvas blog platform., (*1)

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., (*2)

Install via Git and convert

  • Clone this repository., (*3)

    $ git clone https://github.com/kirainmoe/typecho-to-canvas
    $ cd typecho-to-canvas
    
  • Install dependencies. You must have composer worked normally., (*4)

    $ composer install
    
  • Run te2cn, which lies on the root directory of this repository., (*5)

    $ php te2cn
    
  • Follow the instruction and fill in the config., (*6)

  • Enjoy Canvas!

Install via Composer and convert

  • Run composer global require., (*7)

    $ composer global require kirainmoe/typecho-to-canvas:dev-master
    
  • Run te2cn, follow the instruction and fill in the config., (*8)

    $ te2cn
    
  • Enjoy Canvas!, (*9)

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?, (*10)

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., (*11)


Q: I don't use Typecho but I use Wordpress, how can I export my data?, (*12)

A: You may consider this or using typecho2wordpress first before exporting data to Canvas., (*13)

Compatibility

te2cn worked perfectly on Typecho 1.0(14.10.10) and Canvas(3.1.0)., (*14)

Todo

  • Reverse converting (Canvas to Typecho)

Contribute

Feel free to contribute (Pull requests & issues are welcomed)., (*15)

License

GNU General Public License v2.0., (*16)

The Versions

06/10 2017

dev-master

9999999-dev

Easily converting data from Typecho to Canvas blog platform.

  Sources   Download

GPLv2

The Requires

 

by Avatar kirainmoe