Skip to content

Instantly share code, notes, and snippets.

x2q / wordpress_importer.rb
Created Mar 18, 2012 — forked from stammy/wordpress_importer.rb
Import a WordPress database and generate markdown files for Jekyll
View wordpress_importer.rb
# based on the import script by icebreaker, which is based on mojombo's
# edited to rewrite image URLs to use my CloudFront URL
require 'rubygems'
require 'sequel'
require 'fileutils'
# $ export DB=my_wpdb
View github.css
body {
font-family: Helvetica, arial, sans-serif;
font-size: 14px;
line-height: 1.6;
padding-top: 10px;
padding-bottom: 10px;
background-color: white;
padding: 30px; }
body > *:first-child {