\n");
- if (a.thumbnail != null) {
+ if (a.getThumbnail() != null) {
buf.append("
\n");
}
buf.append("
\n");
buf.append("
\n");
- appendA(buf, a.title, "/redirect?url=" + URLEncoder.encode(a.link, "UTF-8"), null);
+ appendA(buf, a.getTitle(), "/redirect?url=" + URLEncoder.encode(a.getLink(), "UTF-8"), null);
buf.append("
\n");
- buf.append("
" + a.website + " - " + a.publicationDate + "
");
+ buf.append("
" + a.getWebsite() + " - " + a.getPublicationDate() + "
");
buf.append("
\n");
- if (a.description != null) {
+ if (a.getDescription() != null) {
buf.append("
");
- if (a.description.length() < 512) {
- buf.append(a.description);
+ if (a.getDescription().length() < 512) {
+ buf.append(a.getDescription());
} else {
- buf.append(a.description.substring(0, 512));
+ buf.append(a.getDescription().substring(0, 512));
buf.append("[..]");
}
buf.append("
");