Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ghost Importer: Image Import and other Improvements #4605

Closed
5 of 6 tasks
ErisDS opened this issue Dec 8, 2014 · 1 comment
Closed
5 of 6 tasks

Ghost Importer: Image Import and other Improvements #4605

ErisDS opened this issue Dec 8, 2014 · 1 comment
Assignees
Labels
feature [triage] New features we're planning or working on import / upgrade life-cycle stuff: Importing, exporting, upgrading and migrating

Comments

@ErisDS
Copy link
Member

ErisDS commented Dec 8, 2014

The Ghost importer has languished for a while, only able to import data if it's in Ghost's JSON format. This works really well for backing up, and moving Ghost blogs around. Official and unofficial tools have popped up to help convert other blog formats to Ghost's for WP, Tumblr and other platforms.

One thing Ghost's import/export format is lacking, is the ability to import images. This feature has never been high priority because anyone self-hosting can copy images into place, and anyone on Ghost(Pro) can email support to have their images imported. This is workable, but it's not ideal, not least because it means anyone importing images from another platform has to manually ensure their image paths are updated before importing.

With the need to migrate Roon users to Ghost easily, this feature has had a major bump in priority. At the same time as making import accept images, we also want to improve the general importer code to reduce complexity and provide more feedback. Finally, we want to open up the Ghost importer to handle a different format - importing from .md files. The .md file import may get moved to an app when the app platform launches, but for the time being this will help many many Roon and other platform users move to Ghost.

Tasks:

Image import

Other tasks

All the sub issues will be raised shortly

@ErisDS ErisDS added epic import / upgrade life-cycle stuff: Importing, exporting, upgrading and migrating feature [triage] New features we're planning or working on labels Dec 8, 2014
@ErisDS ErisDS added this to the Current Backlog milestone Dec 8, 2014
ErisDS added a commit to ErisDS/Ghost that referenced this issue Dec 12, 2014
felixrieseberg added a commit to felixrieseberg/Ghost that referenced this issue Dec 16, 2014
Ref TryGhost#4605
- This small change sets the page’s `image` property for a tag page,
therefore ensuring that `{{#if image}}` and `{{image}}`  can be used in
themes just like it’s being used on post pages.
ErisDS added a commit to ErisDS/Ghost that referenced this issue Dec 17, 2014
refs TryGhost#4605

- Move as much code as possible out of the DB API
- Split the importer into 2 concepts, code which handles different
  filetypes and code which takes the content of files and imports it into
  Ghost in some way
- Split the import process into 4 steps, load the file into a useful
  format, preprocess the data, do the import, generate a report
- Reporting is currently a no-op
- Adds a basic level of testing
ErisDS added a commit to ErisDS/Ghost that referenced this issue Dec 18, 2014
refs TryGhost#4605, TryGhost#4479

- Removes versioning from the importer
- Fixes an issue with SQLITE errors not being thrown properly for posts
- Ensures that posts have a created_at date
- Makes sure that the API wrapper is properly handled
@ErisDS ErisDS self-assigned this Jan 12, 2015
@ErisDS ErisDS modified the milestones: Next Backlog, Current Backlog Apr 3, 2015
@ErisDS ErisDS assigned cobbspur and unassigned ErisDS May 19, 2015
@ErisDS ErisDS modified the milestone: Next Backlog Oct 9, 2015
@ErisDS
Copy link
Member Author

ErisDS commented Jun 11, 2016

Closing in favour of #5422

@ErisDS ErisDS closed this as completed Jun 11, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature [triage] New features we're planning or working on import / upgrade life-cycle stuff: Importing, exporting, upgrading and migrating
Projects
None yet
Development

No branches or pull requests

2 participants