Manage Learn to apply best practices and optimize your operations.

Create an RSS feed in Notes/Domino 8 with XML

You can easily create an RSS feed application in Lotus Notes/Domino 8 using these steps. All you need to do is set up your Notes view and use some XML code. Read the full tip now for complete instructions.

I've found a simple solution to develop an RSS feed application in Louts Notes/Domino. The application will push RSS threads to subscribers. The design elements that are included in the application are as follows:

In your Lotus Notes view, the following tags make up the structure of each item/row in the RSS feed:

  1. Item tag
  2. Link tag
  3. Description
  4. Publish date
  5. Author

The idea behind this is to have each document that's created in the Notes view render its values as XML tags to generate RSS feed items. You'll need to make sure that the view property Treat view contents as HTML is enabled.

Related resources from SearchDomino.com:
Verify scheduled agent status with Domino Extensible Language (DXL)

Loading XML from JavaScript

How to apply XSL style sheets to XML views

This view will be embedded in the page, which will contain the necessary XML tags for an RSS feed document. Make sure that the Content Type view property is selected as HTML and that Render pass through HTML is also enabled.

This application works in Lotus Notes 8 and higher, as well as Internet Explorer 6. The URL to subscribe to this RSS feed would be the URL of the page. For example:
http<://<server name><>/<database file path><>/<page name>>?openPage.

Here are the Lotus Notes view formulas for the item tags:

  • In the first column:
    <item> "Item tag starts"
    
  • In the second column:
    "<title>"+ <<field name for title> + "</title>"
    
  • In the third column:
    "<link>"+<field name for link > +"</link>"
    
  • In the fourth column:
    "<description>"+>"+<field name for description> +"</description>"
    
  • In the fifth column:
    "<pubDate>"+@Text(<field name for Publish Date>)+"</pubDate>"
    
  • In the sixth column:
    "<author>"+<field name for Author >+"</author>""
  • In the seventh column:
    </item> "Item tag ends"

The following XML code will appear before the embedded view on the page:

<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>Test Portal RSS Feed</title>
    <link> http://xyz.com</link>
    <language>en-us</language>
    <ttl>40</ttl>
    <pubDate>Wed, 29 Apr 2009 07:57:33 GMT</pubDate>
    <description>Recent Activity Log for The Test Portal</description>

Finally, insert the following code after the embedded view:

</channel>
</rss>

Do you have comments on this tip? Let us know.

This tip was submitted to the SearchDomino.com tip library by member Ali Ahmad. Please let others know how useful it is via the rating scale below. Do you have a useful Lotus Notes/Domino technical tip or code snippet to share? Submit it to our monthly tip contest and you could win a prize.

Dig Deeper on XML and Web Services for Lotus Notes Domino

SearchWindowsServer

Search400

  • Favorite iSeries cheat sheets

    Here you'll find a collection of valuable cheat sheets gathered from across the iSeries/Search400.com community. These cheat ...

  • HTML cheat sheet

    This is a really cool cheat sheet if you're looking to learn more about HTML. You'll find just about everything you every wanted ...

  • Carol Woodbury: Security

    Carol Woodbury

SearchDataCenter

SearchContentManagement

Close