mattvh / jekyll-to-ghost Goto Github PK
View Code? Open in Web Editor NEWTakes your Markdown posts from Jekyll and packages them up into a JSON file that Ghost (http://ghost.org) can import
License: MIT License
Takes your Markdown posts from Jekyll and packages them up into a JSON file that Ghost (http://ghost.org) can import
License: MIT License
post.date.to_i
seems not to work well
I replace them with
post.date.to_time
Generating my blog and thus the ghost json export fails with the following error. Do I need a specific version of Jekyll? I'm using Octopress
/plugins/jekylltoghost.rb:55:in `generate': uninitialized constant Jekyll::Converters (NameError) from /home/jeroen/.rvm/gems/ruby-1.9.3-p194/gems/jekyll-0.12.0/lib/jekyll/site.rb:190:in `block in generate' from /home/jeroen/.rvm/gems/ruby-1.9.3-p194/gems/jekyll-0.12.0/lib/jekyll/site.rb:189:in `each' from /home/jeroen/.rvm/gems/ruby-1.9.3-p194/gems/jekyll-0.12.0/lib/jekyll/site.rb:189:in `generate' from /home/jeroen/.rvm/gems/ruby-1.9.3-p194/gems/jekyll-0.12.0/lib/jekyll/site.rb:40:in `process' from /home/jeroen/.rvm/gems/ruby-1.9.3-p194/gems/jekyll-0.12.0/bin/jekyll:264:in `' from /home/jeroen/.rvm/gems/ruby-1.9.3-p194/bin/jekyll:23:in `load' from /home/jeroen/.rvm/gems/ruby-1.9.3-p194/bin/jekyll:23:in `'
jekyll 3.0.0 | Error: undefined method `getConverterImpl' for #<Jekyll::Site:0x007ff12d1e6538>
@mekomlusa, I see that featured images are imported (https://github.com/mekomlusa/Jekyll-to-Ghost/blob/master/jekylltoghost.rb#L76).
Is that because the Ghost import format doesn't support them, or is it possible to import them?
When I imported my Jekyll data, it seems to have worked over but I got the following error and this post didn't import:
Error importing data: SQLITE_CONSTRAINT: column slug is not unique, sql: insert into "tags" ("created_at", "created_by", "description", "name", "slug", "updated_at", "updated_by", "uuid") values (?, ?, ?, ?, ?, ?, ?, ?), bindings: Fri Nov 01 2013 20:58:40 GMT+0000 (UTC),1,,3D printers,3d printers,Fri Nov 01 2013 20:58:40 GMT+0000 (UTC),1,1dbd001c-d813-4ca7-bc19-80aeac413c1f
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.