diff --git a/ComicReader/AndroidManifest.xml b/ComicReader/AndroidManifest.xml
index 4a59878..609136f 100755
--- a/ComicReader/AndroidManifest.xml
+++ b/ComicReader/AndroidManifest.xml
@@ -3,7 +3,7 @@
package="com.blogspot.applications4android.comicreader"
android:versionCode="26"
android:installLocation="auto"
- android:versionName="2.1.10" >
+ android:versionName="2.1.11" >
diff --git a/ComicReader/assets/classes.json b/ComicReader/assets/classes.json
index d38e509..2a47069 100755
--- a/ComicReader/assets/classes.json
+++ b/ComicReader/assets/classes.json
@@ -18,6 +18,7 @@
{"class":"DarkLegacy", "name":"Dark Legacy", "pref":"darklegacyPref"},
{"class":"DarthsandDroids", "name":"Darths & Droids", "pref":"darthsanddroidsPref"},
{"class":"DayByDay", "name":"Day By Day", "pref":"daybydayPref"},
+ {"class":"Dieselsweeties", "name":"Diesel Sweeties", "pref":"dieselsweetiesPref", "new":"1"},
{"class":"Dilbert", "name":"Dilbert", "pref":"dilbertPref"},
{"class":"Dinosaur", "name":"Dinosaur Comics", "pref":"dinosaurPref"},
{"class":"DogHouseDiaries", "name":"Doghouse Diaries", "pref":"doghousediariesPref"},
diff --git a/ComicReader/src/com/blogspot/applications4android/comicreader/comics/Dieselsweeties.java b/ComicReader/src/com/blogspot/applications4android/comicreader/comics/Dieselsweeties.java
new file mode 100644
index 0000000..801b197
--- /dev/null
+++ b/ComicReader/src/com/blogspot/applications4android/comicreader/comics/Dieselsweeties.java
@@ -0,0 +1,80 @@
+package com.blogspot.applications4android.comicreader.comics;
+
+import java.io.BufferedReader;
+import java.io.IOException;
+
+import com.blogspot.applications4android.comicreader.comictypes.IndexedComic;
+import com.blogspot.applications4android.comicreader.core.Strip;
+import com.blogspot.applications4android.comicreader.exceptions.ComicLatestException;
+
+
+public class Dieselsweeties extends IndexedComic {
+
+ @Override
+ protected String getFrontPageUrl() {
+ return "http://www.dieselsweeties.com/";
+ }
+
+ public String getComicWebPageUrl() {
+ return "http://www.dieselsweeties.com";
+ }
+
+ @Override
+ protected int parseForLatestId(BufferedReader reader) throws IOException, ComicLatestException {
+ String str;
+ String final_str = null;
+ while((str = reader.readLine()) != null) {
+ int index1 = str.indexOf("img src=\"/h");
+ if (index1 != -1) {
+ final_str = str;
+ }
+ }
+ if(final_str == null) {
+ String msg = "Failed to get the latest id for "+this.getClass().getSimpleName();
+ ComicLatestException e = new ComicLatestException(msg);
+ throw e;
+ }
+ final_str = final_str.replaceAll(".*/\\d","");
+ final_str = final_str.replaceAll("\\.png.*","");
+ return Integer.parseInt(final_str);
+ }
+
+ @Override
+ public String getStripUrlFromId(int num) {
+ return "http://www.dieselsweeties.com/archive/" + num;
+ }
+
+ @Override
+ protected int getIdFromStripUrl(String url) {
+ return Integer.parseInt(url.replaceAll("http.*com/archive/", ""));
+ }
+
+ @Override
+ protected boolean htmlNeeded() {
+ return true;
+ }
+
+ @Override
+ protected String parse(String url, BufferedReader reader, Strip strip)
+ throws IOException {
+ String str;
+ String final_str = null;
+ String final_itext = null;
+ while ((str = reader.readLine()) != null) {
+ int index1 = str.indexOf("