Site Tools


wordpress-team:projects:export-blogs-in-google-docs-to-wordpress

Export Blogs in Google Docs to WordPress - Requirements

This document explains the requirements of a solution which exports blogs in Google Docs to WordPress.

This document is intended for the bSup development team. If you are interested in WordPress solutions, please contact us through the WordPress Development Services page. For Google Docs solutions, please feel free to contact us through the G Suite Services page.

Why Writing Blogs in Google Docs?

Google Docs is a useful editing tool for blogs because,

  • You can make comments and suggestions on documents. It’s a collaborative tool.
  • It supports macro (Apps Script) and you can do some automation on documents
  • It’s mobile friendly

The reason that we don’t recommend WordPress editor is because it’s not a collaborative tool. You can’t make comments or suggestions like Google Docs.

Google Drive is also a recommended document management tool because

  • You can share documents with specific people
  • You can add a document to multiple folders

Transferring Blogs from Google Drive to WordPress

How to transfer blogs written in Google Docs to WordPress? The transfer can be done manually which is time consuming. The solution proposed in this document is to automate the process of transferring blogs to WordPress. The content and information of blogs (such as title, category, tags, featured image etc) can be managed in Google Drive. The data can get transferred to WordPress via a plugin or API.

Automating Blogs Transfer to WordPress

A WordPress plugin can transfer blogs from Google Docs to WordPress, automatically. The WordPress plugin

  1. has an API which receives blog content in markdown language. For example, converting this Google Docs sample blog produces this markdown text, which is an input to the API.
  2. adds the blog to WordPress

API Security Best Practices

The API receives data from external sources such as google drive. Following the security best practices of API development, such as a standard method for authentication, is required.

Blog Structure

This sample blog outlines the structure which is explained in more details below.

  1. To be completed

API Response

The response of the API is as follow,

  1. To be completed.
  • Blog (coming soon)
  • Related Google Docs (access is required)
  • WordPress plugin development services (coming soon).
  • G Suite automation services (coming soon).
wordpress-team/projects/export-blogs-in-google-docs-to-wordpress.txt · Last modified: 2020/05/13 21:59 (external edit)