axllent/silverstripe-weblog-wp-import

WordPress import tool for the SilverStripe Weblog module

Installs: 61

Dependents: 0

Suggesters: 1

Security: 0

Stars: 1

Watchers: 1

Forks: 3

Open Issues: 0

Type:silverstripe-vendormodule

1.0.0 2017-10-18 22:09 UTC

This package is auto-updated.

Last update: 2020-08-04 01:10:39 UTC


README

A module to import WordPress XML into SilverStripe Weblog.

This module is somewhat of a hack as WordPress integrates plugin shortcodes (requiring these WP plugins) inti the the XML export file.

This tool currently parses images, YouTube videos and links, plus the standard text formatting. All other shortcodes are optionally stripped from the content.

Once the blog has been imported, this module can be uninstalled as it serves no further purpose.

Requirements

  • A working version of the WordPress blog you wish to import (for images)
  • PHP with simplexml support
  • silverstripe/cms: ^4.0
  • axllent/silverstripe-weblog
  • axllent/silverstripe-weblog-categories (optional)
  • axllent/simplehtmldom (included with composer install)
  • guzzlehttp/guzzle (included with composer install)

Features

  • Interactive importer with options
  • Import of all published blog posts
  • Import categories (if axllent/silverstripe-weblog-categories is installed)
  • Image classes re-mapped to default SilverStripe image classes
  • Downloads (full-sized) hosted images and re-links (using SS shortcode) them in content
  • Includes YouTube videos created in default WordPress as well as the fusion plugin
  • Option to set the imported blog post image widths
  • Options to remove (strip) all divs, spans, classes & styles from imported data
  • Auto-links to internal pages
  • Missing files / broken links reported in the CMS reports utility

Documentation

Suggested Modules