\n");
+
buf.append("
");
- appendA(buf, a.title, a.link);
+ if (a.thumbnail != null) {
+ buf.append("\n");
+ }
+ appendA(buf, a.title, a.link, null);
buf.append("
\n");
-
- buf.append("
\n");
- buf.append("
" + a.website + " - " + a.publicationDate + "
");
+ buf.append("
" + a.website + " - " + a.publicationDate + "
");
- buf.append("
");
- buf.append(a.description);
- buf.append("
");
+ if (a.description != null) {
+ buf.append("
");
+ buf.append(a.description);
+ buf.append("
");
+ }
- buf.append("\n");
+ buf.append("
\n");
}
- private static void appendMenu(StringBuffer buf) {
+ private static void appendMenu(StringBuffer buf, Category catActive) {
+ String cl;
+
buf.append("