ASPX templates
Version 5.x > ASPX templates > CMS RSS Feed View modes: 
User avatar
Member
Member
ryans-tushaus - 5/30/2011 2:42:54 AM
   
CMS RSS Feed
I am on version 5.5 and attempting to use the CMS RSS Feed as follows:


<%@ Register src="../../CMSWebParts/Syndication/Documents/CMSRSSFeed.ascx" tagname="CMSRSSFeed" tagprefix="uc3" %>

<uc3:CMSRSSFeed ID="CMSRSSFeed1" runat="server" FeedName="WaukeshaMetalNewsletter" FeedDescription="Waukesha Metal Newsletter" FeedTitle="Waukesha Metal Newsletter" LinkText="Newsletter RSS" Path="/Newsletter/%" ClassNames="CMS.MenuItem" TransformationName="CMS.MenuItem.RSSItem" />


The feed is created, however, when I update page (menu item) documents in the Newsletter folder the updates do not show up in the feed.

User avatar
Member
Member
ryans-tushaus - 5/30/2011 3:07:01 AM
   
RE:CMS RSS Feed
Please disregard.

User avatar
Kentico Consulting
Kentico Consulting
kentico_borisp - 5/30/2011 3:09:21 AM
   
RE:CMS RSS Feed
Hello,

Could you please let us know what was causing this issue? It might help others when facing a similar problem.

Best regards,
Boris Pocatko

User avatar
Member
Member
ryans-tushaus - 5/30/2011 3:29:53 AM
   
RE:CMS RSS Feed
I had mistakenly set the value of the transformation name property to a transformation that did not exist.

Is it possible to set the path property to a single document?

User avatar
Kentico Support
Kentico Support
kentico_radekm - 5/31/2011 1:44:46 AM
   
RE:CMS RSS Feed
Hello.

Not a path property directly, however you can set "SelectTopN" or "WhereCondition" property of given DataSource, so it contains a single record only. You can see example of this DataSource e.g. on \CMSWebParts\Syndication\Documents\CMSRSSFeed.ascx file. Thank you.

Best Regards,
Radek Macalik