Closed aruizca closed 9 years ago
Hi,
That depends. What exact task do you have? If you just need to import posts from Wordpress website, you can run jekyll-import, get a bunch of resulting markdown files and place them into Grain theme.
If you want something more persistent, theoretically it should be possible to add "import" command into grain-octopress-theme, which calls jekyll-import and then does some post-processing of generated markdown files to finally convert jekyll posts to grain posts, I think the only difference that should be handled is inserting images into posts, the syntax for this has minor differences in Grain compared to Jekyll.
The latter approach is more difficult, and perhaps some commits would be needed into Grain to enable usage of Ruby code in Grain Theme commands.
Victor
Closing due to inactivity
Hi all,
I'd like to use Grain for our corporate website but some people would rather use Jekill although we are all mostly Java and Groovy developers. Since Grain already uses some Ruby modules I was wondering how hard would it be to integrate the Wordpress import module from Jekill. We would be happy to collaborate if we get some indications.
Thanks