aboutsummaryrefslogtreecommitdiff
path: root/juick-rss/src/main/java/com
diff options
context:
space:
mode:
Diffstat (limited to 'juick-rss/src/main/java/com')
-rw-r--r--juick-rss/src/main/java/com/juick/rss/Main.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/juick-rss/src/main/java/com/juick/rss/Main.java b/juick-rss/src/main/java/com/juick/rss/Main.java
index 04d87729..adb20a0d 100644
--- a/juick-rss/src/main/java/com/juick/rss/Main.java
+++ b/juick-rss/src/main/java/com/juick/rss/Main.java
@@ -146,11 +146,11 @@ public class Main extends HttpServlet {
out.println("<category>" + StringEscapeUtils.escapeHtml4(msg.getTags().get(n).getName()) + "</category>");
}
}
- if (msg.AttachmentType != null) {
- if (msg.AttachmentType.equals("jpg")) {
+ if (msg.getAttachmentType() != null) {
+ if (msg.getAttachmentType().equals("jpg")) {
out.println("<media:content url='http://i.juick.com/photos-1024/" + msg.getMid() + ".jpg' type='image/jpeg'/>");
out.println("<media:thumbnail url='http://i.juick.com/ps/" + msg.getMid() + ".jpg'/>");
- } else if (msg.AttachmentType.equals("png")) {
+ } else if (msg.getAttachmentType().equals("png")) {
out.println("<media:content url='http://i.juick.com/photos-1024/" + msg.getMid() + ".png' type='image/png'/>");
out.println("<media:thumbnail url='http://i.juick.com/ps/" + msg.getMid() + ".png'/>");
}