All blog posts, code samples and downloads licensed under Apache License 2.0.
Close

Adding RSS related links to your XPages

Oliver Busse on 10/07/2013 18:18:00 CEDT, filed under SSJS XSP 

I just dropped a brick when asking how to add your RSS related link to your XPage on StackOverflow. I used this before just in THIS template (OSnippets) but never saved the code here. This is now been done.

<xp:this.resources>
    <xp:linkResource rel="alternate" type="application/rss+xml"
        title="Your RSS Title"
        href="#{javascript:return 'yourURLToTheRSSFeedXML';">
    </xp:linkResource>
</xp:this.resources>

Place the code in your XPage or Custom Control. Beware of syntax errors as you don't have an editor for the SSJS code!


Tagged with rss resource xpages