Calvin & Hobbes

Posted in Images by JimmyBollox 2855 days ago

CalHob Code grabs comic strip from webpage. I live in Australia so it actually grabs the image from yesterday.

YESTERDAY=`TZ=aaa24 date +%y%m%d`

It was just easier for me that way due to time zone differences. You will need to change USERNAME to your username in the file paths:

if [ $DAY == "Sun" ]

To display the file, create an image geeklet and name it "CalHob Pic". Make sure it's big enough to display the larger Sunday comic.

Geeklet files to download


User Avatar
sandbag 2854 days ago
I live in Canada, and I got the script and set everything up yesterday, but it hasnt updated. Any idea why?

I've checked the "latest calhob pic" in my Pictures folder and it's still the same as it was yesterday
User Avatar
JimmyBollox 2854 days ago
Has it been 24 hours side you first set it up? Make sure the refresh rate is set for regular intervals for the script AND image geeklets. I have the script refresh every 3600s and the image every 600s

If you're in Canada, you can probably remove `TZ=aaa24` and just have the line YESTERDAY=`date +%y%m%d`

Hope that helps.

Log in to comment or register here.