Git Product home page Git Product logo

travis-exitwp's Introduction

Run Exitwp on Github Actions

This is a "cloud" version of Exitwp. It is provided to those who do not know how to run Python scripts (or do not bother to run the script locally). Basically you upload a WordPress XML file and you will get a download link to a zip file of your posts/pages in Markdown.

  1. Export your WordPress posts to XML (from your WordPress Admin panel: Tools -> Export).

  2. Fork this repository, upload the .xml file, and follow Github's guide to submit a pull request.

    fork

    commit

  3. Wait for a minute or so, and you should see a green checkmark on your commit. Click it to see the detailed log in Github Actions.

    PR

    If the build was successful, you should see the log of the step "Zip files" like this:

    curl -F "[email protected]" https://file.io
    {"success":true,"key":"4z2Ajm","link":"https://file.io/4z2Ajm","expiry":"14 days"}

    Open the https://file.io/xxxxxx link to download the zip archive. It contains the Markdown files converted from your WordPress posts. Note you only have one chance to download it (once downloaded, it will be deleted permanently). Read the blogdown book to know how to proceed to Hugo: https://bookdown.org/yihui/blogdown/from-jekyll.html.

Many thanks to @thomasf for providing the Exitwp scripts and @omajid for providing the Python3 support. All I did was to configure Github Actions and provide the documentation here. I'd like to thank file.io, too. File uploading via a one-liner command. That is very cool.

travis-exitwp's People

Contributors

phil-champ avatar yihui avatar

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.