aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/main/java/com/juick/www/rss/MessagesView.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/main/java/com/juick/www/rss/MessagesView.java b/src/main/java/com/juick/www/rss/MessagesView.java
index e69eadea..22649d91 100644
--- a/src/main/java/com/juick/www/rss/MessagesView.java
+++ b/src/main/java/com/juick/www/rss/MessagesView.java
@@ -84,14 +84,14 @@ public class MessagesView extends AbstractRssFeedView {
feed.setDescription(String.format("The latest messages by @%s at Juick", user.getName()));
String title = String.format("%s - Juick", user.getName());
feed.setTitle(title);
- String link = String.format("http://juick.com/%s/", user.getName());
+ String link = String.format("https://juick.com/%s/", user.getName());
feed.setLink(link);
Image rssImage = new Image();
rssImage.setUrl(webApp.getAvatarUrl(user));
rssImage.setTitle(title);
rssImage.setLink(link);
feed.setImage(rssImage);
- String href = String.format("http://rss.juick.com/%s/blog", user.getName());
+ String href = String.format("https://rss.juick.com/%s/blog", user.getName());
AtomLinkModule atomLinkModule = new AtomLinkModuleImpl();
Link atomLink = new Link();
atomLink.setHref(href);
@@ -102,7 +102,7 @@ public class MessagesView extends AbstractRssFeedView {
feed.getModules().add(atomLinkModule);
} else {
feed.setDescription("The latest messages at Juick");
- feed.setLink("http://juick.com/");
+ feed.setLink("https://juick.com/");
feed.setTitle("Juick");
}
@@ -114,7 +114,7 @@ public class MessagesView extends AbstractRssFeedView {
private Item createRssItem(Message msg) {
Item item = new Item();
- String messageUrl = String.format("http://juick.com/%s/%d", msg.getUser().getName(), msg.getMid());
+ String messageUrl = String.format("https://juick.com/%s/%d", msg.getUser().getName(), msg.getMid());
String messageTitle = String.format("@%s: %s", msg.getUser().getName(), MessageUtils.getTagsString(msg));
boolean isCode = msg.getTags().stream().anyMatch(t -> t.getName().equals("code"));
String messageDescription = isCode ? MessageUtils.formatMessageCode(StringUtils.defaultString(msg.getText()))