// rss link
String rssLink = RSSUtil.getPersonalRssLink(ureq);
welcome.contextPut("rssLink", rssLink);
StringOutput staticUrl = new StringOutput();
StaticMediaDispatcher.renderStaticURI(staticUrl, "js/egg.js");
welcome.put("htmlHeader", new HtmlHeaderComponent("rss", null, "<link rel=\"alternate\" type=\"application/rss+xml\" title=\""
+ StringEscapeUtils.escapeHtml(translate("welcome.rss")) + "\" href=\"" + rssLink + "\" />\n" + "<script type=\"text/javascript\" src=\""
+ staticUrl.toString() + "\"></script>"));
// add portal
if (myPortal == null) myPortal = PortalFactory.createPortal("homeportal", getWindowControl(), ureq);