Giter Club home page Giter Club logo

wp2md's Introduction

wp2md

wp2md

Convert WordPress Posts to markdown files.

Split post meta into json and content into markdown.

example

./wp2md --export=/path_to_your_export_data/wp2ghost_export.json --timezone=on

export result

export result

FAQ

  • Q: How to use?

  • A: After npm install, you can use ./wp2md your_export_json_file_path to convert your WordPress data..

  • Q: How to get my export json file?

  • A: Use Ghost export plugin, i support use the plugin which i upload. PLUGIN/HOW

  • Q: Why not suggest me use offcial ghost export plugin?

  • A: It remove lots of post content when exporting.

  • Q: Where should i find my export posts?

  • A: ./export HERE

  • Q: Why not put to-markdown.js to package.json?

  • A: L52@lib/gfm-converters.js has a problem with tr elements, i'll send a pr later.

  • Q: **Why my export post's date is not correct? **

  • A: check your WordPress export data timestamp timezone setting, if you doesn't want to use timezone fix, use ./wp2md your_export_json_file_path timezone=off.

wp2md's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

gdck

wp2md's Issues

ghost export plugin bug

ghost 导出插件没有考虑潜在的中文用户,以及文章slug或者link带转义中文的程序,截断了转义的中文url。

修改方法,嗯,非常容易。


致敬中文,这个issue就不练习口语了..(傲娇脸不考虑潜在的英文用户

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.