1 43 package net.jforum.util.rss; 44 45 import java.util.List ; 46 47 import net.jforum.util.preferences.ConfigKeys; 48 import net.jforum.util.preferences.SystemGlobals; 49 import net.jforum.view.forum.common.ViewCommon; 50 51 55 public class UserTopicsRSS extends TopicRSS 56 { 57 UserTopicsRSS() {} 58 59 public UserTopicsRSS(String title, String description, int userId, List topics) 60 { 61 this.topics = topics; 62 this.forumLink = ViewCommon.getForumLink(); 63 64 this.rss = new RSS(title, description, 65 SystemGlobals.getValue(ConfigKeys.ENCODING), 66 this.forumLink + "recentTopics/showTopicsByUser/"+userId 67 + SystemGlobals.getValue(ConfigKeys.SERVLET_EXTENSION)); 68 69 this.prepareRSS(); 70 } 71 72 } 73 | Popular Tags |