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

7
Become a Fan
6.8

Description:

Ratings & Comments

14 Comments

raphis

Dear all, since the source dilbert.com has shut down I guess this could be removed from the list of available comic plugins. https://en.wikipedia.org/wiki/Dilbert

TuxmAL

As of 2 days ago Dilbert Plasmoid was not displaying the comics once again: it seems that they changed slightly the data-url value referenced into pageRetrieved function var re = new RegExp("data-url=\"https://dilbert.com/strip/(\\d{4}-\\d{2}-\\d{2})\""); adding a ".*" at the end suffice to match again the data contained into the data-url: var re = new RegExp("data-url=\"https://dilbert.com/strip/(\\d{4}-\\d{2}-\\d{2}).*\""); Thank you again for your work, mfuchs!

mfuchs

Thanks a lot! I updated the plugin.

raphis

That solved it, thanks! :)

TuxmAL

9 Since a week Dilbert comisw was not functioning at all, then i discovered that the 'meta property="og:image" ..'. tag was returning an http link instead of an https type, so i added after row 50 of main.es thil line ad all goes ok once again: url = url.replace("http:", "https:"); I hope that can help!

mfuchs

Thanks for the info! I updated the plugin accordingly. :)

unbob

8 8 great

aaccioly

Working version: https://github.com/aaccioly/plasma-comic-dilbert/releases/tag/2018-11-26 KDE 5 users should install it with: kpackagetool5 -i dilbert.comic I'm also opening a PR to @camerongray's repo.

anthonyfieroni

Please correct YYYY-MM-DD to ISODate or yyyy-MM-dd.

camerongray

I have created an updated version of the plugin to support the changes to Dilbert.com that were made in January 2015. https://github.com/camerongray1515/plasma-comic-dilbert

aaccioly

Cameron, I took the liberty of writing a new version that works with https: https://github.com/camerongray1515/plasma-comic-dilbert/pull/2

goaty

Line 47: var re = new RegExp("src=\"(http://assets.amuniversal.com/[0-9a-f/]{32})\""); pageRetreived: function pageRetrieved(id, data) { if (id == comic.User) { comic.lastIdentifier = date.currentDate(); comic.websiteUrl = "http://dilbert.com/strip/" + comic.identifier.toString(date.ISODate) + "/"; print("Getting " + comic.websiteUrl + " from " + comic.lastIdentifier) ; getComic(data); } if (id == comic.Page) { getComic(data); } }

silence

Hi, Thanks for writing this! I changed two lines in the code to get the strip in higher quality: Line 47: var re = new RegExp("<img src=\"(/dyn/str_strip/[0-9/]+/[0-9]+\\.strip)(\\.print)(\\.gif)\""); Line 51: url = "http://dilbert.com/" + match[1] + ".zoom" + match[3];

mfuchs

Thank you very much, looks a lot better now. :)

Pling
0 Affiliates
Details
license
version 1.8
updated
added
downloads 24h 5
mediaviews 24h 0
pageviews 24h 1

More Plasma Comic Sources from mfuchs:

xkcd
mfuchs
last update date: 3 years ago

Score 5.5

NICHTLUSTIG [ger]
mfuchs
last update date: 4 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

PhD [eng]
mfuchs
last update date: 5 years ago

Score 4.4

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