OK

GiFEED – RSS to Animated Gif PHP Script

GiFEED takes data from RSS feeds and creates animated gif files. I originally made this sometime in 2007 and completely forgot about it. It’s not the cleanest bit of code, but works. I may improve upon it in the future and will place a log of changes here if I do.

GiFEED requires the GIFEncoder PHP class. It’s included in the zip.

Setup:

  1. Download the files and copy to a directory on your server.
  2. Specify values for the $rss_x variables at the top of the file.
  3. Provide the script with a font file to use when generating the gif. Drop it in the same directory as the script.
  4. Make sure that the directory containing GiFEED and “frames” is writable.
  5. Set up a cron job to execute gifeed.php on a regular basis. For most, every 30-60min is more than fine.

You can then refer to the generated gif file, anywhere you’d normally use one, after the gifeed.php file is executed for the first time. I place one at the bottom of my email signature as a link to 100781.

Change log:

  • 04:15:2007 – boom, i’m here. let’s party
  • 01:23:2010 – cleaned up and ready for some action. created some variables to make it easier to set up.

Feel free to do whatever you want with GiFEED and please shoot me an email if you happen to use it.

Search
May 2012
SMTWTFS
« Nov  
 12345
6789101112
13141516171819
20212223242526
2728293031 

Twitter @senorfox

Just a couple of hours away... #AquabatsSuperShow
tweeted 77 days ago.
@solothedrunk BRILLIANT!
tweeted 113 days ago.
RT @AtTheDriveIn_: ¡ ATTENTION ! To whom it may concern: AT THE DRIVE-IN will be breaking their 11 year silence THIS STATION IS …NOW…OPE ...
tweeted 131 days ago.
Can one ever have enough @KrunchPizza? NO. http://t.co/AlVgLB8q
tweeted 149 days ago.
My Bawls are showing. http://t.co/cQjHSRIh
tweeted 162 days ago.

Last.fm Playlist

Siberian Kiss [2009 Remaster]
Glassjaw
scrobbed about 9 hours ago.
I'm A Taxidermist - I'll Stuff Anything
Head Wound City
scrobbed about 9 hours ago.
Trash Flavored Trash
The Blood Brothers
scrobbed about 9 hours ago.
Full Frontal Obscurity
The Locust
scrobbed about 9 hours ago.
scrobbed about 9 hours ago.