Is there a way to post content by email?
Hi again,
I'd like to try 'moblogging' with YACS -- sending a short message with a photo from a camera mobile phone by email to my site. I was wondering whether anyone has done this yet with YACS, and if so, could you explain how its done?
Thanks, Eoin
Thanks, Eoin
| Bernard from nearby-an-airport Associate, 6796 posts | Eoin, I definitely have to add this function because we need it on our intranet for my job, not the moblog, but the blog by e-mail Work to achieve this is planned but still not started. At the moment I have only started to look at other scripts to select among several options. The design is quite simple:
Actually general mechanisms are similar to what has been put in place for ftp blogging. See agents/uploads.php to get an idea. |
| Eoin 23 posts | Hi Bernard, If you've already got a file which parses content in a given directory, why not setup the blog-by-email script like this then:
The other method (the one you described) is safer, in that you can keep a backup of your email blogs in your inbox just in case something happens to your website. The method above however doesn't require a cron job and will get to work the moment an email is received. |
| Bernard from nearby-an-airport Associate, 6796 posts | You are right, mail forwarding is the optimized solution, since messages are processed as soon they arrive at target host. But unfortunately the approach you describe only apply to Unix boxes, and would like to support other operating systems as well, including Windows and Mac. This is why we should do it with PHP-only and a cron-like approach. You said somewhere that you have played with WordPress, which seems to be a very powerful blogging tool. Therefore I have downloaded the wp package and will look at their blogging-by-email script. I will review Drupal and blog:cms as well. At the same time I will have to review RFC to ensure we are implementing standards correctly. Guess at least one or two weeks of work would be necessary to complete this. Cheers... |
| Bernard from nearby-an-airport Associate, 6796 posts | Eoin, please take a look at This page has been posted by e-mail!. At work I have already send, in one single message, a new page, plus one image and one attached file. I will do the same test on this server as well tomorrow morning. " I'd like to try "moblogging" with YACS " Would you like to test the sending of a MMS message to an upgraded YACS server? Thank you for your feed-back. If you want to perform some tests against this site, please contact me. |
Rate this page
Posted by Eoin on Sep. 3 2004, commented by Bernard on Sep. 3 2004, (popular)