xkcd
mfuchs
Source i (link to git-repo or to original if based on someone elses unmodified work):
More Plasma Comic Sources from mfuchs:
Other Plasma Comic Sources:
© 2025 /s/Cinnamon - Eyecandy for your Cinnamon Desktop
All rights reserved. All trademarks are copyright by their respective owners. All contributors are responsible for their uploads.
Ratings & Comments
8 Comments
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?
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?
Thanks for the patch. :) I slightly modified it and now both old and new strips should work again.
When I first installed the Garfield comic strip it worked on Sundays, but recently it has stopped displaying them. Any ideas?
Actually, it displays the Sunday comic strip up to the 26/12/2010. After that date it displays other weekdays, but not Sundays.
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;
Thanks, That now works.
Latest version works, you just need to update via "Get new comics" for "Installed" ones.