1.0.2 • Published 4 years ago

gocms v1.0.2

Weekly downloads
1
License
ISC
Repository
github
Last release
4 years ago

goCMS

A CMS using Google Docs (Experimental)

Get Google Drive URL

In Google Docs, File > Publish to the web npm.io

Copy Link npm.io

Server Side

npm install gocms

const gocms = require('gocms')

const url = 'https://docs.google.com/document/d/e/2PACX-1vR6ZWNXClovnICVSfMXgWnsOz8m_6SSMJre8eOhsJpplYqLHQIwG1G2RW0eu5pJQri_YD0Znvnel87t/pub'

gocms(url)
.then(html => {
  console.log(html)
})

Client Side

<script src="https://cdn.jsdelivr.net/gh/leon-do/goCMS/cdn/index.js"></script>

<div id="myDiv"></div>

<script>
  goCMS('myDiv', 'https://docs.google.com/document/d/e/2PACX-1vR6ZWNXClovnICVSfMXgWnsOz8m_6SSMJre8eOhsJpplYqLHQIwG1G2RW0eu5pJQri_YD0Znvnel87t/pub');
</script>

npm.io

Your website npm.io

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago