Setting up RSS Feeds


Just a quick question about setting up and using RSS Feeds.  

- I have enabled "Enable RSS Output" in the shared content list.
- Going to the endpoint (Eg. .../ecmsrss.aspx/BlogPosts.xml) outputs 

The content with reference name blogposts is not enabled for RSS output.

 Is there something I am missing in order to use this functionality?  Thanks.






  • Official comment

    Ok, that makes sense. Looks like there's a bug where the staging content files don't get updated when you change the reference name and/or update RSS settings. You'll want to test this in Live Mode as well to make sure you don't have the same problem. If you do, you can try changing the "Default Sort" order - which will sync the list again.

    In regards to mapping the fields, I've updated the documentation on Syndicating Content with RSS which provides an example of how to map the fields:


    Generate an RSS feed using fields from the content definition


    Which results in an output such as:

    <rss version="2.0">
            <title>Blog Posts</title>
            <description>Blog Posts</description>
            <generator>Agility CMS</generator>
            <lastBuildDate>Tue, 18 Dec 2018 17:33:52 +0000</lastBuildDate>
                    <![CDATA[ My Blog Post Title ]]>
                        <p>This is a description for a blog post</p> 
                <pubDate>Mon, 17 Dec 2018 01:27:39 +0000</pubDate>
    Comment actions Permalink
  • Hi Jeff,

    That should do the trick. To help troubleshoot though, have you tried running this locally? If it works locally, but not on the deployed web server then it could indicate a sync issue.

    Comment actions Permalink
  • Hey James,

    That was the error message when I tried locally.

    Comment actions Permalink
  • Hi Jeff,

    I was able to enable it on another list /ecmsrss.aspx/FeaturedBlogs.xml so there's something specific to the BlogPosts list that isn't working as expected. Just trying to narrow things down here, but is there a chance that there used to be an existing list with the same reference name?


    Comment actions Permalink
  • Yes. There used to be a list with the same reference name which I had to change.  Forgot which one exactly.. It might have been corporate blogs as it is using the same content def.

    Comment actions Permalink
  • I also found that /ecmsrss.aspx/BlogPosts.xml?Lang=es actually works, but not /ecmsrss.aspx/BlogPosts.xml?Lang=en.

    Comment actions Permalink
  • Could you try clearing your local content files and see if that resolve the issue? You can delete everything in the AgilityContent directory as it is defined in the web.config.

    Comment actions Permalink
  • Hey James,

    That did the trick.  I can see the RSS feed now.  There is a secondary issue though. 

    In the RSS feed, all the <description> content are empty.  Does the body of each content item need to be named description?  Also, that content is an RTA. would that be fine?  Thanks

    Comment actions Permalink

Please sign in to leave a comment.

Didn't find what you were looking for?

New post