Entries from August 2008

Saturday, August 9th, 2008

Pixnay’s Finest Charts

Here’s a quick script I whipped up for the People Networks editorial staff. It uses the feed that Pixnay provides, but organizes and pretties them up for a quick scan of the latest big winners. The editors were using this for a while to scan for members to use in promotions, People Connection photo galleries, [...]

Friday, August 8th, 2008

Random Image

< ?php $ch = curl_init(); curl_setopt ($ch, CURLOPT_URL, 'http://www.silkworms.com/gallery/main.php?g2_view=imageblock.External&g2_blocks=randomImage&g2_show=fullSize&g2_maxSize=520&g2_linkTarget=_blank'); curl_setopt($ch, CURLOPT_HEADER, 0); curl_setopt ($ch, CURLOPT_RETURNTRANSFER, 1); curl_setopt ($ch, CURLOPT_CONNECTTIMEOUT, 5); echo curl_exec($ch); curl_close($ch); ?>

Friday, August 8th, 2008

Quick and Dirty Random Thumbnails

I’m posting this for a friend who asked about the gallery images in the sidebar of this site. Refresh the page, and you get 3 new random thumbnails. It’s fun. I could do it for hours, stumbling on pictures I haven’t seen in ages. How’d I do it? A simple script dropped into WordPress and [...]

Wednesday, August 6th, 2008

And Now Back To Our Show!

Today marks the eleventh anniversary of Silkworms.com.  It’s odd that I noticed.  I was tooling around with this WordPress install yesterday, and a conversation lead me to point out that Silkworms must be over ten years old by now.  So I Whois’ed myself this morning and realized it’s eleven years to the day.  My internal clock seems [...]