diff piecrust/plugins/builtin.py @ 302:103abb08755e

import: Make the Wordpress importer extendable, rename it to `wordpressxml`. This is because the SQL importer will be installable as a plugin, so as to not impose SQL dependencies on the basic PieCrust package.
author Ludovic Chabant <ludovic@chabant.com>
date Thu, 19 Mar 2015 18:30:09 -0700
parents 2daa05a21026
children 9ae23409d6e9
line wrap: on
line diff
--- a/piecrust/plugins/builtin.py	Thu Mar 19 18:28:42 2015 -0700
+++ b/piecrust/plugins/builtin.py	Thu Mar 19 18:30:09 2015 -0700
@@ -19,7 +19,7 @@
 from piecrust.formatting.smartypantsformatter import SmartyPantsFormatter
 from piecrust.importing.jekyll import JekyllImporter
 from piecrust.importing.piecrust import PieCrust1Importer
-from piecrust.importing.wordpress import WordpressImporter
+from piecrust.importing.wordpress import WordpressXmlImporter
 from piecrust.plugins.base import PieCrustPlugin
 from piecrust.processing.base import CopyFileProcessor
 from piecrust.processing.compass import CompassProcessor
@@ -109,7 +109,7 @@
 
     def getImporters(self):
         return [
-                WordpressImporter(),
+                PieCrust1Importer(),
                 JekyllImporter(),
-                PieCrust1Importer()]
+                WordpressXmlImporter()]