I really like the Posterous approach to publishing online—I often write my ideas down in GMail. So I decided to enable posting by email on my blog.
The concept needs some work, but could very easily be adapted to a multi-user environment. In that case, some serious security work would be required. But for my personal blog, it should suffice.
How It Works
Google App Engine has amazing Email handling built in. Just check the docs. Because of this, not much code is required. Anyway, here's what I've accomplished:
- Write posts in email
- Process those emails for YAML Front Matter
- Continue using Markdown
Pretty basic. I haven't got into checking attachments, but I don't think it would be too much more work. As for the YAML Front Matter, a concept taken from Jekyll, I follow Rasmus Andersson's formatting exactly as it appears in Gitblog
How I Did It
I just read through those docs I mentioned above and wrote an Email Handler. My blog has a very simple Entry handler, so saving new entries is pretty easy.
If you have any questions or input, message me on [Twitter]( http://twitter.com Staydecent on Twitter).