Image 01
profile-image

pietranera

Stefano M.
test
PhD [eng]

Plasma Comic Sources 2 comments

Score 43.3%
Sep 29 2019
Hi,
thank you for this comic!

You could add the comic.additionalText object to display the comic title tooltip.

I made a patch for your code:

Quote:

--- main.es 2008-10-24 04:52:32.000000000 -0400
+++ main.es.new 2010-02-28 18:27:14.000000000 -0500
@@ -34,6 +34,12 @@
var re = new RegExp("http://www.phdcomics.com/comics/archive/phd([^\\.]+\\.gif)");
var url;

+ var expTitle = new RegExp("<td> <title>PHD Comics: ([^*]+)</title>");
+ var matchTitle = expTitle.exec( data );
+ if (matchTitle != null) {
+ comic.additionalText = matchTitle[1];
+ }
+
match = re.exec(data);
if (match != null) {
url = "http://www.phdcomics.com/comics/archive/phd" + match[1];


I tested it and it seems to work. Enjoy! - Feb 28 2010
bkodama

Plasma 4 Extensions
by ibuscher

Score 75.3%
Aug 22 2010
Score 50.0%
Mar 02 2010