GithubHelp home page GithubHelp logo

isabella232 / newspack-content-converter Goto Github PK

View Code? Open in Web Editor NEW

This project forked from automattic/newspack-content-converter

0.0 0.0 0.0 2.48 MB

Plugin that enables automated conversion of pre-Gutenberg post content, to Gutenberg blocks content.

License: GNU General Public License v2.0

PHP 86.74% JavaScript 10.30% Shell 2.31% SCSS 0.65%

newspack-content-converter's Introduction

newspack-content-converter

Plugin which mass-converts pre-Gutenberg Classic HTML Posts and Pages to the Gutenberg Blocks.

Disclaimer

Please make sure to back up your site contents fully, because this converter updates the content permanently by replacing the classic HTML content with Gutenberg Blocks content.

This plugin is open source, and the creators can not be held responsible for any data loss or consequences of its usage.

The plugin is presently in Alpha, and used primarily as a Developer's tool -- please check back for a full and improved version soon.

Usage

Clicking "Newspack Content Converter" in the Admin area's main left-hand menu, opens a page where the number of Posts and number of batches queued for Conversion is displayed. Clicking the "Run conversion" button there actually initializes the conversion and starts converting your queued Posts and Pages to Blocks.

After a conversion is complete, it's sometimes necessary to flush the cache, as well.

To re-scan your freshest HTML Posts, and to update the conversion queue, run the CLI command wp newspack-content-converter reset.

Development

  • Run npm start to compile the JS files, and start file watcher.
  • Run npm run build to perform a single compilation run.
  • Run npm run release:archive to package a release. The archive will be created in assets/release/newspack-content-converter.zip.

newspack-content-converter's People

Contributors

claudiulodro avatar gamebits avatar iuravic avatar jeffersonrabb avatar thomasguillot 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.