djangelic / wordpresstomarkdown

A python project I created to take wordpress exports and convert them to markdown files I can import into joplin.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

WordPress XML to Markdown Converter

Convert WordPress XML exports to Markdown format with ease. I created this tool to help me migrate my personal Wordpress blogs over to Joplin Page Publisher.

Table of Contents

Overview

This tool allows you to convert WordPress XML exports into Markdown format, making it easy to migrate your WordPress content to Markdown-based platforms or tools.

Features

  • Converts WordPress XML files to Markdown.
  • Organizes posts into folders based on categories.
  • Handles images and formatting during the conversion.
  • Simple drag-and-drop interface for converting files.

Requirements

  • Python 3.x
  • TkinterDnD (for the drag-and-drop interface)
  • html2text

Usage

  1. Clone or download this repository.
  2. Install the required dependencies (see Installation).
  3. Run the main.py script.
  4. Drag and drop your WordPress XML export file onto the window.
  5. The tool will convert the file, and the Markdown files will be organized into folders based on categories.
  6. You can find the converted Markdown files in the same directory as the script.

Installation

  1. Clone the repository:
    git clone https://github.com/djangelic/wordpresstomarkdown.git
    
  2. Install the required dependencies:
    pip install -r requirements.txt
    

Make sure you have Python 3.x installed on your system.

About

A python project I created to take wordpress exports and convert them to markdown files I can import into joplin.

License:GNU General Public License v3.0


Languages

Language:Python 100.0%