blogger2md

1.0.1 • Public • Published

blogger2md

Convert Blogger backup blog posts or Blogger atom feed to Hugo-compatible markdown files.

About the Project

I needed a simple tool to import posts from a Blogger site to markdown files. Among the tools listed in Hugo doc, The only feasible option for me is blog2md. However, it didn't work well for my Blogger backup file. After debugging for a while, I'm thinking of writing a simpler tool myself. It's a good excuse for me to explore Vitest.

Getting Started

Prerequisites

Installation

Install as a system command with npm:

npm install -g blogger2md

or with yarn

yarn global add blogger2md

Usage

blogger2md <xml-file> <output-dir>

where:

  • xml-file can be a Blogger backup file or its Atom feed.
  • output-dir is optional, if it's not provided, md-output will be created to store the markdown files.

License

Distributed under the MIT License. See LICENSE.txt for more information.

Package Sidebar

Install

npm i blogger2md

Weekly Downloads

0

Version

1.0.1

License

MIT

Unpacked Size

8.5 kB

Total Files

6

Last publish

Collaborators

  • apraditya