(11-08-2013, 03:59 PM)puggsoy Wrote: That would be really really awesome and convenient. I'm pretty useless at web development in general (in case that wasn't blindingly obvious already ) and don't really have the time to learn how it all works, not to mention I have nowhere to host this myself.
Either way I'd still like to check out the code when/if you do this.
Don't feel bad, I'm useless at reverse engineering!
I'm working on it now, just futzing about to get the current strip ID based on the current day compared to the day/strip ID I have stored in the script (the one for 08-11-2013) and then get the URL for that strip - it seems strips have this weird organizational thing about them, now:
http://dilbert.com/dyn/str_strip/0000000....strip.gif
The first digit of each of those is the same as the ID of the current strip - no date info. A weird organizational structure but I guess it works.
Once I have the URL capable of being computed I just grab the image via GD and output it from the script. I'll then just need to add in the thing to make sure the current cached strip ID isn't the same as the current ID before it goes to retrieve it again.