1. 首页
  2. 考试认证
  3. 其它
  4. octoghost 用于处理Octopress Markdown文件并编写准备导入Ghost的JSON文件的Pyt...

octoghost 用于处理Octopress Markdown文件并编写准备导入Ghost的JSON文件的Pyt...

上传者: 2024-09-21 05:18:05上传 ZIP文件 14.36KB 热度 2次
Octopress 2幽灵用于处理Octopress Markdown文件并编写准备导入Ghost的JSON文件的Python脚本。这些是初步步骤:设置Ghost、注册、登录并删除欢迎帖。转到/ghost/debug并导出数据库。它将保存一个名为GhostData.json的文件。下载octopress2ghost.py并安装需求: pip install translitcodec运行转换脚本: python octopress2ghost.py | python -mjson.tool > import-this.json其中octopress-posts是包含Octopress帖子的目录,ghost-data是从Ghost导出的JSON。现在转到/gho
下载地址
用户评论