RW




About

Posted on: 17th April 2009

 

If you haven’t already noticed, there is a strange message at the top of the page that changes ever-so-often.  This was something I threw together real quick because I fell in love with Inky’s Auto-Meme and I decided I must have it so I could display it everywhere.
Fortunately, there is API available and I decided to utilize it in a curious way.

The way the script works is there is a cron job on my webserver, and it grabs a new meme from Inky’s Auto-Meme.  It then writes it to a text file, which I later grab with a simple php file that writes it into a transparent .png image that you can take on the go by placing the url inside of an image tag.

You can download the source code here.  Or if you would like a live preview other than the top.

If you have any questions you may consider shooting me some comments, look at this place!  It’s so very dead.

Comments
blog comments powered by Disqus

End:
RW