
Garfield [eng]
Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on opencode.net
1.7 1 year ago
Use HTTPS
nece228
6 years ago
Report
jprofesorek2
6 years ago
====================================
% 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?
Report
mfuchs
6 years ago
I slightly modified it and now both old and new strips should work again.
Report
mfraser
9 years ago
Any ideas?
Report
oldium
9 years ago
var extension = ".gif";
if (comic.identifier.year() >= 2011 && comic.identifier.dayOfWeek() == 7)
extension = ".jpg";
var fileName = "ga" + comic.identifier.toString("yyMMdd") + extension;
Report
mfraser
9 years ago
That now works.
Report
oldium
9 years ago
Report
mfraser
9 years ago
Report