Register a subscription for the RSS page in question.
try {
// create the subscription
RSSSubscriber rssSubs = RSSSubscriber.getInstance();
// get the most recent parsed data
rssInfo = rssSubs.getInfo(url);
// export the scripting variables
pageContext.setAttribute(NAME_ATTR, rssInfo.getChannelTitle());
pageContext.setAttribute(LINK_ATTR, rssInfo.getChannelLink());
} catch (Exception ex) {
ex.printStackTrace();
throw new JspException("Unable to parse " + url, ex);
}
return Tag.EVAL_BODY_INCLUDE;