PHP for fun and profit

For fun I rewrote my “blog” email site updater code. I ran into Pear’s Mail_mimeDecode::decode class and it really blew away my email string handling jumble of code. The email updater code sits behind the scenes and listens on a particular email address. Once an email comes in, it checks the sender. If all is ok, it’ll parse the email and post it here – all automatically. With Mail_mimeDecode::decode, I’ll be able to even parse emails with attachments (with things like an image). For a coding exercise, I would like to get multimedia messages from my cell phone to pop up here and look pretty. But its late and I’m no longer thinking straight so I’ll leave this project for another day.

Also new is the gallery page. On the gallery page, you can see all the highlight images of the subalbums. I think its a little funky at the moment, but a start to what I was originally thinking. That page is DEFINITELY not dialup friendly (I think this can be fixed by reducing the number of albums I show per page). Roll the mouse over the image to view the album name. Click on the image to hop directly into the album.

This is also related to the gallery and kinda neat: random gallery image or a random image from a particular gallery. Hit refresh on those pages to view a new image. Wish to kick it up a notch? Set your desktop to Active Desktop and add http://www.rsbauer.com/randimg/randimg.php or http://www.rsbauer.com/randimg/randimg.php?album=

no images were found

as the url. Then setup a schedule to refresh/resync every 10, 30, 60+ minutes (you pick). What ends up happening is you’ll get a desktop wallpaper that rotates when you want it to images in the gallery or gallery album of your picking. I think I’ll post the code for those so those running gallery can play with this.

Leave a Reply