WordPress.org

Plugin Directory

Docs to WordPress

Easily move posts from Google Docs to WordPress

  1. Upload docs-to-wordpress to the /wp-content/plugins/ directory
  2. Activate the plugin through the 'Plugins' menu in WordPress
  3. Create a Google App for your website.
  4. Enter Client ID and Client Secret into settings page.
  5. You should be redirected to a Google login page. Grant full permissions.
  6. If you wish, activate the extender plugin that removes formatting from Google Docs and removes comments, placing them in a separate meta box
  7. To run the plugin, you will need to either activate the included Cron Extender or put code in a separate file and point a cron job to it.

To run using WP CRON

Activate the cron extender.

To run using real cron

Create a file to run cron against, and put the following code in it:

<?php
include('./wp-load.php');
$docs_to_wp = new Docs_To_WP();
$results = $docs_to_wp->startTransfer();

You will need to have a folder to draw the docs from and an optional folder to put the docs in after they've been processed.

First create the folder that you want to store unpublished docs in. This is your "Origin" folder. Next create the folder that you will move converted files to. This is the "Target" folder. If you're using Cron, you're going to want to write stories in a separate folder, and then move them to the Origin folder for publishing, when they're ready.

Requires: 3.7 or higher
Compatible up to: 4.1.7
Last Updated: 2015-4-25
Active Installs: 100+

Ratings

4.5 out of 5 stars

Support

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

100,1,1 100,1,1
100,1,1 100,2,2
100,1,1
100,1,1
0,1,0
100,1,1