public MediaResource createFeedFile(OLATResourceable ores, Identity identity, Long courseId, String nodeId) {
MediaResource media = null;
Feed feed = readFeed(ores);
if (feed != null) {
SyndFeed rssFeed = new RSSFeed(feed, identity, courseId, nodeId);
media = new SyndFeedMediaResource(rssFeed);
}
return media;
}