Wordpress Import Markdown



Pelican-import is a command-line tool for converting articles from other software to reStructuredText or Markdown. The supported import formats are: WordPress XML export; Dotclear export; Posterous API; Tumblr API; RSS/Atom feed; The conversion from HTML to reStructuredText or Markdown relies on Pandoc.For Dotclear, if the source posts are written with Markdown syntax, they. Pelican-import is a command-line tool for converting articles from other software to reStructuredText or Markdown. The supported import formats are: Blogger XML export; Dotclear export; Posterous API; Tumblr API; WordPress XML export; RSS/Atom feed; The conversion from HTML to reStructuredText or Markdown relies on Pandoc. For Dotclear, if the. Wp11144importxml.png (6.8 KB) - added by dwright 11 years ago. The xml to import M are linebreaks wp11144.png (42.9 KB) - added by dwright 11 years ago. Html view of the imported linebreaks (shown as whitespace) wp11144b.png (19.5 KB) - added by dwright 11 years ago. Html view of the imported linebreaks cursor is at end of linebreaks.

Once again I’ve up and moved my whole little site here to a new platform— Wordpress 3, this time around, on top of Nginx + PHP-FPM +(obviously) MySQL on FreeBSD 8.1. I think I’m making a tradition oftearing down the site and rebuilding it from scratch once every, what,two years? Or maybe I’ll actually manage to keep it fresh this time around…

Heh.

Anyway, I could ramble on forever about why I ditched Movable Type andwent with friggin’ WordPress. (What kind of wannabe hipster webdeveloper doesn’t roll his or her own Django / Rails / whatever bloggingsoftware? And PHP?! Son, I am disappoint.) But that’s not what this postis about. This post is about a minor detail of how I exported the oldsite from MT.

SupportWordpress Import Markdown

Import Markdown Into Word

You see, Movable Type supports text entry in Markdown format. Andit’s cool and groovy and way better than typing out HTML by hand, butthe problem is that when you ask MT to export your site, it exports yourMarkdown posts as unprocessed Markdown, not as HTML. So when you thenattempt to import this into a program that doesn’t understand Markdown(e.g., WordPress), you end up with something resembling an explosion ina punctuation factory.

But as usual, Perl to the rescue. Pipe your Movable Type export filethrough the following simple script (you may need to installText::Markdown from CPAN or your friendly neighborhood packagemanager first):

Markdown Import Image

That done, simply import the resulting file as usual withWordPress’s Movable Type and TypePad Importer.

Please enable JavaScript to view the comments powered by Disqus.