+ String author = "";
+ int pos = details.indexOf("by ");
+ if (pos >= 0) {
+ author = details.substring(pos + "by ".length()).trim();
+ pos = author.indexOf(" in ");
+ if (pos >= 0) {
+ author = author.substring(0, pos).trim();
+ }
+ }
+
+ String categ = "";
+ pos = details.indexOf(" in ");
+ if (pos >= 0) {
+ categ = details.substring(pos + " in ".length()).trim();
+ pos = categ.indexOf(" on ");
+ if (pos >= 0) {
+ categ = categ.substring(0, pos).trim();
+ }
+ }
+
+ String date = "";
+ Element dateElement = article.getElementsByTag("time").first();
+ if (dateElement != null) {
+ date = date(dateElement.attr("datetime"));
+ }
+
+ // We already have all the details (date, author, id, categ)
+ details = "";
+