Mweb Hexo Importer

screenshot of Mweb Hexo Importer

Hexo文档批量导入到MWeb

Overview

The mweb-hexo-importer is a handy tool designed to facilitate the migration of Hexo blog content into the MWeb document editor. By streamlining the process, it allows users to effectively manage their blog content within MWeb, making it easier to organize and edit. This tool is particularly useful for bloggers who have amassed a substantial amount of content in Hexo and wish to centralize their writing efforts.

With the mweb-hexo-importer, users can enjoy a smoother transition of their documents without losing the integrity of their original content. The automatic processing of metadata ensures that vital information like creation dates and titles are preserved, giving users a seamless experience when moving their blog archives.

Features

  • Batch Import: Efficiently copies multiple Hexo documents into MWeb's document library in one go, saving time and effort.
  • Timestamp Conversion: Converts the creation date from Hexo headers into timestamps that serve as filenames, maintaining organization.
  • Metadata Preservation: Inserts the creation date and title into the MWeb database, ensuring that vital information is retained.
  • TOC Insertion: Automatically adds a Table of Contents (TOC) to the second line of imported documents for improved navigation.
  • Category Management: Creates a primary category labeled '我的博客' (My Blog) and assigns imported documents to this category, enhancing content organization.
  • Subcategory Creation: Extracts and creates subcategories based on article classifications, enabling better categorization within the primary blog category.
  • Easy Configuration: Users can simply modify script variables for Hexo and MWeb directories, making it user-friendly and accessible even for those with limited technical skills.