Creating Your Own Feed Adapter for Sitecore RSS Module
Nov 09, 2011
Creating feeds with the RSS Module for Sitecore is simple and easy, everything has been setup to allow you to do just that, create feeds. But Like everything in life there is always something that is not covered by the current way of working, that is when you notice that for each RSS feed Item you have a field called “Feed Adapter Type”, where you can place the class and library that will handle the feed item.
To implement your own feed adapter you need two things:
-
Sitecore Libraries (.dll) probably located in
C:\Inetpub\wwwroot\<name of site>\WebSite\bin
-
RSS Module Library (
Sitecore.Modules.RSS.dll
) also located in bin folder
Once you have this two things you can create your own class library project in Visual Studio, reference this libraries and then create your own class. This class needs to extend from Sitecore.Modules.RSS.Extensibility.FeedAdapter
and can override any of the following the virtual methods:
-
Equals
-
GetFeedItems
-
GetHashCode
-
GetItemAuthor
-
GetItemDate
-
GetItemDescription
-
GetItemLink
-
GetItemTitle
-
ShouldIncludeItem
-
ToString
After creating your own version you can simply copy the libraries (and pdb files if you want to debug it) to the bin folder of the Sitecore website. Replace the value of the field “Feed Adapter Type” with the proper <namespace>.<classname>,<DLL file name without .dll>
, publish your changes and check your feed, it should be working now with your code.
Frequently Asked Questions
No. Adobe Experience Cloud offers a suite of products geared towards marketing, creating, and managing content and digital experiences. Adobe Creative Cloud offers products focused on the production of creative assets including graphic design, video editing, and photography.
Adobe Experience Manager (AEM) includes content management (CMS) and digital asset management tools and is part of the Adobe Experience Cloud suite of products.
Adobe Experience Cloud is a suite of marketing technology products for creating and managing digital experiences. It includes Adobe Experience Manager (AEM). However, AEM as a cloud service is a cloud-native version of the AEM content management system that offers SaaS-like features. In contrast, the original AEM was meant for on-premises use or as a managed service.
Related Insights
-
-
Jonathan Saurez
-
Fernando Torres
-
Oshyn
How To Choose a CMS or DXP
Selecting the Optimal Digital Platform for Your Business
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.