What’s up with all these lame pics?
January 21st, 2007
All the blurry pictures that I have been posting up under the Mobile blog category have been coming directly from my cell phone in real time…well, 15 minute delay anyway. Welcome to the world of mobile blogs or moblogs.
The way it is achieved is through a couple of different componets as a plugin into the open source blogging software that I use:
1. Create an email address that can be used to process moblogs.
2. Copy a modified version of wp-mail.php available here.
3. Use my modified SprintPhoto plugin, originally available here but doesn’t really work. I have modified the script to work here. Basically, the plugin sucks down all new emails, goes out to Sprint to retrieve the images, stores the images, and creates a new blog with it. My modified version looks for “Www.” as the first indication that it is a SprintPhoto blog, otherwise it will treat it as just a regular text message blog, which wp-mail handles. It then checks for the presence of a “;” to break the content into a title and text after the image. Something like this: “Www.Beer is rad;I heart beer”.
4. Create a script that can be run to process the plugin. I named mine moblog.sh.
5. Set up a cron job on your server to run every 15 mins or so like this.
(*/15 * * * * /…/moblog.sh >> /dev/null 2>&1)
6. Pick up the old celly, take a picture of that beer and Picture mail a text message like “Www.beer o clock;I heart beer”.
This blog should be interesting to about .00001% of individuals out there and about .000000001% of the 4 people that read these blogs, but now you know why you see those lame pics.
You’ve always been proof that new technology isn’t always good thing.