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

Data import and export #163

Merged
merged 1 commit into from
Jun 17, 2013
Merged

Data import and export #163

merged 1 commit into from
Jun 17, 2013

Conversation

jgable
Copy link
Contributor

@jgable jgable commented Jun 15, 2013

This is a rudimentary import and export data layer. Still will need the UI bits, but I think it should be pretty easy to consume:

var exporter = require('./core/shared/data/export');

exporter(ghost.settings.version).then(function (exportedData) {
  // Make it rain exported data
  resp.set('Content-Type', 'application/json')
  resp.send(JSON.stringify(exportedData));
});

I think it's extensible enough to allow for legacy version exports / imports.

Tell me what you think. I didn't spend a lot of time, so feel free to give feedback on an alternate approach.

@ErisDS
Copy link
Member

ErisDS commented Jun 16, 2013

👍 This looks exciting. I'm going to pull it down and play with it today. Thank you so much for doing this!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants