Add a new element to the RSS Feed Creator


Is there a way to add a new element in the RSS feed generated using Feed creator?

I’m trying to add an element “enclosure” to my RSS feed. I tried adding below code to my beans but don’t see it working.

@SyndicationElement(type = FeedType.RSS, name = "enclosure", transformer = PathLinkResolver.class)
public String getmedia() {
    return "";

Any help would be much appreciated.

Thank You,