Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Browse files

Postrous migrator: add comment explaining the optional arguments.

  • Loading branch information...
commit 79590f0312b84698652b6147a9ff4d0247976e9f 1 parent f488fdc
@markhepburn authored
Showing with 8 additions and 1 deletion.
  1. +8 −1 lib/jekyll/migrators/posterous.rb
9 lib/jekyll/migrators/posterous.rb
@@ -5,7 +5,14 @@
require 'uri'
require "json"
-# ruby -r './lib/jekyll/migrators/posterous.rb' -e 'Jekyll::Posterous.process(email, pass, api_key, include_imgs, blog)'
+# ruby -r './lib/jekyll/migrators/posterous.rb' -e 'Jekyll::Posterous.process(email, pass, api_key)'
+# Other arguments are optional; the default values are:
+# * :include_imgs => false # should images be downloaded as well?
+# * :blog => 'primary' # blog, if you have more than one.
+# * :base_path => '/' # for image, if they will be served from a different host for eg.
+# For example, to download images as well as your posts, use the above command with
+# ....process(email, pass, api_key, :include_imgs => true)
module Jekyll
module Posterous

0 comments on commit 79590f0

Please sign in to comment.
Something went wrong with that request. Please try again.