Project

podgraph

0.0
Low commit activity in last 3 years
No release in over a year
Post to Blogger or Wordpress via email; inline local images
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

~> 2.8.0
~> 1.14.0
 Project Readme

Podgraph

Post to Blogger or Wordpress via email; inline local images.

Creates a special 'Multipart/Related' email from an html input.

Installation

Ruby 2.7+

$ gem install podgraph

Usage

Blogger:

$ pandoc post.md | podgraph | sendmail -i XXX@blogger.com

Wordpress:

$ pandoc post.md | podgraph XXX@post.wordpress.com | sendmail -it

Bugs

  • WP strips out inlined svgs

History

Once upon a time there was a blogging platform called Posterous. Its main selling point was a 'post by email' feature. You could even email images & they would appear neatly inlined within paragraphs (if your email client supported composing such an email; many did).

Podgraph was initially written as a 'client' for Posterous: you wrote your blog post in reStructuredText, converted it to html, piped the result to 'podgraph' cmd, which grabbed all local images mentioned in the html, made a 'Multipart/Related' email from them & delivered it to sendmail.

Posterous has long been dead & gone. The 'post by email' feature was copied by Blogger & Wordpress.

Recently I've tried to reuse podgraph for Blogger, but that endeavour miscarried, for the script appeared to be hopelessly broken. Version 1.0.0 is a total rewrite.

License

MIT