All Projects → wooni005 → exitwp-for-hugo

wooni005 / exitwp-for-hugo

Licence: GPL-3.0 license
Exitwp is tool primarily aimed for making migration from one or more Wordpress blogs to the Hugo blog engine as easy as possible.

Projects that are alternatives of or similar to exitwp-for-hugo

showcase-hugo-theme
Showcase is a minimal, single page theme for Hugo
Stars: ✭ 54 (+25.58%)
Mutual labels:  hugo
hugo-notice
A Hugo theme component to display nice notices
Stars: ✭ 138 (+220.93%)
Mutual labels:  hugo
importer-exporter
3D City Database client for high-performance import and export of 3D city model data
Stars: ✭ 104 (+141.86%)
Mutual labels:  export
genshin-audio-exporter
Export audio files from Genshin Impact game data into different audio formats.
Stars: ✭ 83 (+93.02%)
Mutual labels:  export
officeexport-java
三行代码导出自定义样式word
Stars: ✭ 68 (+58.14%)
Mutual labels:  export
readme-in-static-site
💎 Transform and insert your GitHub readme in your static site.
Stars: ✭ 24 (-44.19%)
Mutual labels:  hugo
Samples-JS-PHP
JavaScript and PHP samples for Stimulsoft Reports.PHP reporting tool.
Stars: ✭ 17 (-60.47%)
Mutual labels:  export
hugo-zen
Hugo Zen is a minimal hugo theme.
Stars: ✭ 90 (+109.3%)
Mutual labels:  hugo
hugo-theme-fluency
A fluent hugo theme.
Stars: ✭ 48 (+11.63%)
Mutual labels:  hugo
hugy
Hugy is an Electron desktop app acting as a GUI for the Hugo static site generator.
Stars: ✭ 44 (+2.33%)
Mutual labels:  hugo
FSDevTools
Project to support developer experience (DX) with FirstSpirit template development by offering a connection between a VCS like Git and FirstSpirit.
Stars: ✭ 29 (-32.56%)
Mutual labels:  export
io-oi.me
Blog of reuixiy!
Stars: ✭ 88 (+104.65%)
Mutual labels:  hugo
sync-magento-2-migration
Release of rough proof of concept from 2018 that allows to import and export millions of products quickly
Stars: ✭ 51 (+18.6%)
Mutual labels:  export
wowchemy-hugo-themes
🔥 Hugo website builder, Hugo themes & Hugo CMS. No code, easily build with blocks! 创建在线课程,学术简历或初创网站。#OpenScience
Stars: ✭ 6,891 (+15925.58%)
Mutual labels:  hugo
bulma
Bulma is a simple and a responsive Hugo theme that offers a traditional blog mixed with a landing page designed to bootstrap your frontend!.
Stars: ✭ 41 (-4.65%)
Mutual labels:  hugo
hugo-lime
Hugo Lime is a business theme for GoHugo by https://uicard.io
Stars: ✭ 31 (-27.91%)
Mutual labels:  hugo
blender-xray
STALKER (aka xray-engine) import/export plugin for Blender 3D
Stars: ✭ 132 (+206.98%)
Mutual labels:  export
blog
Personal blog on computer science and software engineering.
Stars: ✭ 18 (-58.14%)
Mutual labels:  hugo
hugo-bin
Binary wrapper for Hugo
Stars: ✭ 74 (+72.09%)
Mutual labels:  hugo
coopcycle-website
The coopcycle.org website.
Stars: ✭ 14 (-67.44%)
Mutual labels:  hugo

ExitWP for Hugo

This is a port of Thomas Frössman's ExitWP tool (for Jekyll).

You can find also a howto and background information here on my website: https://arjan.wooning.cz/conversion-tools-from-wordpress-to-hugo/#final-solution-exitwp-for-hugo

Exitwp is tool for making migration from one or more wordpress blogs to the hugo blog engine as easy as possible.

By default it will try to convert as much information as possible from wordpress but can also be told to filter the amount of data it converts.

The latest version of these docs should always be available at https://github.com/wooni005/exitwp-for-hugo

Getting started

  • Download or clone using git clone https://github.com/wooni005/exitwp-for-hugo.git
  • Export one or more wordpress blogs using the wordpress exporter under tools/export in wordpress admin.
  • Put all wordpress xml files in the wordpress-xml directory
  • Special note for Wordpress 3.1, you need to add a missing namespace in rss tag : xmlns:atom="http://www.w3.org/2005/Atom"
  • Run xmllint on your export file and fix errors if there are.
  • Run the converter by typing ./exitwp.py in the console from the directory of the unzipped archive
  • You should now have all the blogs converted into separate directories under the build directory

Runtime dependencies

  • Python 2.6, 2.7, ???
  • html2text : converts HTML to markdown (python)
  • PyYAML : Reading configuration files and writing YAML headers (python)
  • Beautiful soup : Parsing and downloading of post images/attachments (python)

Installing dependencies in ubuntu/debian

sudo apt-get install python-yaml python-bs4 python-html2text

Installing Python dependencies using python package installer (pip)

From the checked out root for this project, type:

sudo pip install --upgrade -r pip_requirements.txt

Note that PyYAML will require other packages to compile correctly under ubuntu/debian, these are installed by typing:

sudo apt-get install libyaml-dev python-dev build-essential

Configuration/Customization

See the configuration file for all configurable options.

Some things like custom handling of non standard post types is not fully configurable through the config file. You might have to modify the source code to add custom parsing behaviour.

Known issues

  • Target file names are some times less than optimal.
  • Rewriting of image/attachment links if they are downloaded would be a good feature
  • There will probably be issues when migrating non utf-8 encoded wordpress dump files (if they exist).

Other Tools

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].