Source i (link to git-repo or to original if based on someone elses unmodified work):

Add the source-code for this project on opencode.net

3
Become a Fan
4.6

Description:
Last changelog:

1.7

Use HTTPS


Ratings & Comments

8 Comments

nece228

it no longer works, it just keeps displaying same garfield avatar image, altough if i go to website i can see new comics coming. probably some website change. could anyone fix this?

jprofesorek2

Here's a working patch for that. ==================================== % diff -Naur .kde4/share/apps/plasma/comics/garfield/contents/code/main.es.orig .kde4/share/apps/plasma/comics/garfield/contents/code/main.es --- .kde4/share/apps/plasma/comics/garfield/contents/code/main.es.orig 2014-05-27 17:00:46.000000000 +0200 +++ .kde4/share/apps/plasma/comics/garfield/contents/code/main.es 2014-05-27 17:11:46.000000000 +0200 @@ -76,7 +76,7 @@ comic.previousIdentifier = date.fromString(match[1], "yyyy/MM/dd"); } - exp = new RegExp("class=\"strip\" src=\"([^\"]+)\\?width[^\"]+\""); + exp = new RegExp("class=\"strip\" src=\"([^\"]+)\" />"); match = exp.exec(data); if (match != null) { comic.requestPage(match[1], comic.Image, infos); ==================================== Is there an issue tracker? bug list? review board? Anything on this page to report such fixes?

mfuchs

Thanks for the patch. :) I slightly modified it and now both old and new strips should work again.

mfraser

When I first installed the Garfield comic strip it worked on Sundays, but recently it has stopped displaying them. Any ideas?

mfraser

Actually, it displays the Sunday comic strip up to the 26/12/2010. After that date it displays other weekdays, but not Sundays.

oldium

The file extension have changed to jpg since 2011 on Sundays. Go to .kde/share/apps/plasma/comics/garfield/contents/code/main.es and edit fileName assignment in the getComic() method: var extension = ".gif"; if (comic.identifier.year() >= 2011 && comic.identifier.dayOfWeek() == 7) extension = ".jpg"; var fileName = "ga" + comic.identifier.toString("yyMMdd") + extension;

mfraser

Thanks, That now works.

oldium

Latest version works, you just need to update via "Get new comics" for "Installed" ones.

Pling
0 Affiliates
Details
license
version 1.7
updated
added
downloads 24h 3
mediaviews 24h 0
pageviews 24h 1

More Plasma Comic Sources from mfuchs:

xkcd
mfuchs
last update date: 4 years ago

Score 5.5

Dilbert
mfuchs
last update date: 4 years ago

Score 6.8

NICHTLUSTIG [ger]
mfuchs
last update date: 5 years ago

Score 6.1

Sarah's Scribbles [eng]
mfuchs
last update date: 5 years ago

Score 5.7

Penny Arcade [eng]
mfuchs
last update date: 5 years ago

Score 5.0

General Protection Fault [eng]
mfuchs
last update date: 5 years ago

Score 5.0

Other Plasma Comic Sources:

EL Mundo de Joe
hompis
last update date: 15 years ago

Score 5.0

el joven lovecraft
2cats
last update date: 16 years ago

Score 5.0

Everybody loves Eric Raymond
lordt
last update date: 15 years ago

Score 5.7

Gunnerkrigg Court
konny77
last update date: 14 years ago

Score 4.7

toothpaste for dinner
s2r2
last update date: 16 years ago

Score 5.0

Partially Clips (en)
TheBlackCat
last update date: 16 years ago

Score 5.0