Daily Comics Widget

Daily Comics Widget

Shows comics, daily

Description

A daily comics widget which shows daily comics directly on your desktop. Different comics can be selected thru a dropdown-box.

Click the 'comics logo' to toggle between small & full mode.

Adding comics is easy, just study the first two arrays of the Comics.js file.

Screenshot

comics_widget.png

Download

http://avedesk.philc.ca/modules/PDdownload...hp?cid=9&lid=36

Adding Extra comics from ucomics.com

Edit Comics.js.

The first array is the abbr. & name for the comic, the second array the so-called "yearfix" (read the comments).

Also add a "abbr".png in images/logos.

Now reload the widget.

Would be cool

To get an edited Comics.js (the arrays) with the correct alpha-blended logos :) (hint)

ps: the code is a mess, working around several avescripter bugs; will clean it up when AveScripters bugs are solved.

#335143

i guess i have to take back all the bad stuff i was gonna say about dutch people...

except for the whole thing about how the hell do i enter a city name? click what? toggle who?

#335146

Great! :)

Ahh! Stupied me was trying to due everything in one array. Sweet.

#335147

Whoops, forgat to re-activate the auto-updating timer. Redownload if you have downloaded it before this message :)

#335153

sorry if i'm being dense here, but what do i do? when i click on the drop-down, i get this city thing. i can't type anything here.

comic.jpg

#335160

its about time, nice work :)

#335167

This is great, man, but the logos are getting in the way

#335170

This is great, man, but the logos are getting in the way

yea they are for me too...

#335172

yay this looks cool...i feel like a kid again

#335184

@shmengie: update avescripter ;)

#335324

thx ave. didn't know i didn't have the latest.

#335342

Ya... Scripter is still in progress.. .lots of stuff are added and fixed. You should always check www.avedesk.org for the latest version. OR you can now press check update when you right click on the desklet.

#335409

now all i need to do is modify all of the code so i can use non-ucomic comics :D

#335552

Possible bug? Looks like the leading zero is not getting written into the URL for single digit day dates, e.g. ch94121.gif which does not exist on ucomics as opposed to ch941201.gif, which does. I know just enough JS to be dangerous, so I'm not sure of the most elegant fix ;)

Thanks and you are the best Ave!

#335895

thanks modester, fixed it immediately (two liner fix). Updated the file @ avedesk.org / avedesk.philc.ca :)

#335900

Possible bug? Looks like the leading zero is not getting written into the URL for single digit day dates, e.g. ch94121.gif which does not exist on ucomics as opposed to ch941201.gif, which does. I know just enough JS to be dangerous, so I'm not sure of the most elegant fix ;)

Thanks and you are the best Ave!

Think I answered my own question:

var day = date.getDate()

if(day < 10)

day = "0" + day;

var url = comicBaseUrl + comicType + "/" + year + "/" + comicType + year2 + month + day + comicExt;

#335902

thanks modester, fixed it immediately (two liner fix). Updated the file @ avedesk.org / avedesk.philc.ca :)

Wow you're fast :)

THANK YOU!

#335904

I'm having problems with the widget pulling in comics starting today. It was working fine last week, but now today all I get is a blank window where the comic should be. I wonder if anything on the ucomics.com site changed to make the widget not work.

EDIT:Nevermind I think I answered my question. Looks like I needed the updated version.

#337074

How can I add Sinfest comics to this widget?

http://www.sinfest.net/

I really am not much of a programmer, so any help would be appreciated. Thank you.

#351615

Haha, just look at today's fetaured widget @ Apple Dashboard Downloads section!

http://www.apple.com/downloads/dashboard/

(if you're late, go here: http://www.apple.com/downloads/dashboard/g...noopycomic.html)

#359737

Yeah I second that. Now we just need to change all the code so that you can specify which site it grabs the comics from. I need my dilbert!!!! (or they could just make avedesk accept apple dashboard widgets... right...)

#364009