Posterous/tumblr like functionality
Chris McCormick <chris-iVZ5NKC1gi56pz/[email protected]> Thu, 24 Mar 2011 09:52:07 +0800
| Newsgroups | gmane.comp.web.pyblosxom.user |
|---|---|
| Message-ID | <[email protected]> |
Hi all, I have written a small Python script which might be useful to pybloxsom people. The idea is that you put it in your .procmailrc script and it converts emails into blog posts, breaking out the attachments and saving them to a directory of your choice. It uses templates to format how to make each attachment appear in posts. The way I use this is: * See something cool. * Snap a photo with my phone. * Email it to my special address (where procmail / my script rececives it). * Attachment(s) get saved, blog post gets generated with links / images to attachments. You can get the source code with bzr: bzr co http://mccormick.cx/dev/blogblast/ I will probably add templates for video uploads, audio, and a "catch-all" for any media type it does not know. I hope this is useful to someone else. Cheers, Chris. ------------------- http://mccormick.cx ------------------------------------------------------------------------------ Enable your software for Intel(R) Active Management Technology to meet the growing manageability and security demands of your customers. Businesses are taking advantage of Intel(R) vPro (TM) technology - will your software be a part of the solution? Download the Intel(R) Manageability Checker today! http://p.sf.net/sfu/intel-dev2devmar