Messed around with my PhotoBlogger s’more this morning. Finished the WAP version of the POP3 client that scans a mailbox for new postings. With a little testing help from Opera (which renders WML with great debugger), it was pretty easy to get it up and running directly from the phone.
Next, I put together a little database to keep track of the images and their descriptions. Ahh, I love mysql. it took about 15 minutes to design and configure the database and add the necessary glue to make insertions for the new images.
Finally, I put together a little cgi to query the database and make a page to display the images. Sweet! Try it! All that’s left to do is pretty up the output and add a pager of some sort. Maybe I’ll add a way search the captions and filter by date. So many features, so little time.
In addition to my text blog, I’m trying to come up with a nifty photo blog. The kicker is that the pictures will come directly from my Nokia 6225i cell phone. IE, the phone has internet connectivity so I can basically mail pictures straight to my website without needing to use a computer.
The glue to do this is pretty straightforward. But, on my globat hosting account, there’s no way to alias an email to a script. If I could do this, all I’d have to do is just email the photo and it would automagically get saved to the site. Darn. After scratching my head for a while, I came up with another plan…
I poked around to see what perl modules where available on the server, and found that they have Net::POP3. So I wrote my own little POP3 client checks a mailbox for picture emails. Dag nabbit, globat accounts don’t have access to cron either (if I could use cron, I’d just tell my script to wake up from time to and check for new pictures). Oh well, the simple solution is just change my POP3 client into a WAP compatible CGI. So after I send some pictures, I can run the import process from my cell phone’s web browser.
Check what I’ve got so far…
I’m not a php expert (but I can find my way around), but I think I might be able to figure out how to turn the picture submissions straight into pivot posts! I’ll keep posting my progress…
Late last night (well late for me anyway), I turned on the home page making my site officially live. There’s still some loose ends to wrap up, but the site is pretty much together at this point. Feel free to drop me a comment via the blog or by email.
when signing up for a free computerworld subscription, I found an interesting email list called “shark tank”. its a daily IT related story told from the developer/system admin’s perspective. most of them are a hoot. more than once, you’ll say, “I thought it was just me…” hehe.
you can read the archives or sign up here:
Duh, timezone is relative to server timezone, not local. Guess my host is somewhere in the central timezone.
Hmm, that’s kinda funny. I never even thought about where the host was located before. Ah, the magic of the internet age, I don’t need care about where it is!
just trying to get the time zone worked out…
Whoa! Pivot is way cool!
Pivot is super cool and very easy to set up for the php challenged. Basically, all you need to is mess around with their templates and CSS files and leave all the php to them. This is my first experience with absolute positioning via CSS, so excuse any minor formatting issues.
I still wanna mess around with the styles a bit more and tweak how the tigra menu works on this page, but I’m pretty happy with the way things work pretty much out of the box.
I like pivot so much, I thinks its definitely worth a $20 donation to their cause. I’ll contribute later today!