Socket
Socket
Sign inDemoInstall

contentful-ghost-importer

Package Overview
Dependencies
201
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    contentful-ghost-importer

A CLI that imports data from ghost to contentful.


Version published
Weekly downloads
7
increased by75%
Maintainers
1
Install size
27.0 MB
Created
Weekly downloads
 

Changelog

Source

v1.1.1 - 2016-01-01

Fixed

  • Order of module inclusion

Readme

Source

contentful-ghost-importer

A CLI that imports data from ghost to contentful.

Installation

npm install -g contentful-ghost-importer

Usage

The CLI takes care of creating the necessary content types (Post, Tag, User) as well as of importing all posts, tags and users from the ghost export into Contentful.

contentful-ghost-importer -b <blogHost> -s <spaceId> -t <cmaToken> path/to/ghost-data.json

Options

The following options are available:

Usage:
contentful-ghost-importer path/to/ghost-export.json

Options:
  -s, --space-id  The space id you want to import the data to.    [required]
  -t, --token     A CMA access token.                             [required]
  -b, --blog-host The host of the original blog.                  [required]
  -h, --host      The host you want to import the data to.        [Default: "api.contentful.com"]

Ghost data

Before running the importer you will need to log into your ghost admin interface and download all your data as JSON file. You can find instructions about how to achieve that in the ghost support section.

Keywords

FAQs

Last updated on 01 Jan 2016

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc