将 blogspot 帖子导入 Jekyll

Import blogspot posts to Jekyll

我使用 this instructions. Unfortunetly it's in pure HTML format not in my jekyll's template post like those created by octopress. I'm looking for any ways to do that and I found this 将我的博文从 blogger 导入到我的 jekyll 博客。安装 blogger2jekyll 后,我收到 "command not found: blogger2jekyll" 消息。有什么建议吗?

提前致谢!

如您的消息所述:请再次尝试 运行 此命令作为 root/Administrator

sudo npm install -g blogger2jekyll

编辑:我在您的评论中看到您的符号链接位于 /usr/local/bin/bin/blogger2jekyll

如果/usr/local/bin/bin/blogger2jekyll path/to/xml destination/path运行正常,就是PATH问题。

您可以 /usr/local/bin/bin 到您的路径:

export PATH=/usr/local/bin/bin:$PATH