Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added image importing to posterous migrator #509

Closed
wants to merge 1 commit into from

Conversation

markhepburn
Copy link

I've added image importing to the posterous migrator; the other media types could be added similarly but I thought I'd push this out there first. (I'm not actually expecting this to go in as-is -- I'm new to both ruby and jekyll for a start! It also includes a few arbitrary decisions however)

It does the following:

  • downloads the "full" image from the media section of each post;
  • saves it in a directory imgs/;
  • removes the [[posterous-content:...]] block at the end of the content, and replaces it with an ordered list of images, including the base_path

(I figured a list should be easy to turn into a gallery, etc if people wanted to add their own js)

Is this useful?

@parkr
Copy link
Member

parkr commented Jan 31, 2013

This would be way better with a switch. Moved this to jekyll/jekyll-import#4 though.

@parkr parkr closed this Jan 31, 2013
@jekyll jekyll locked and limited conversation to collaborators Feb 27, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants