BLOG: Web Content Management

Welcome to Oshyn’s Web Content Management Blog where our experts discuss the latest developments and best practices in the Content Management industry with a focus on several leading platforms: Drupal, EPiServer, Jahia, Open Text and Sitecore.

Creating Your Own Feed Adapter for Sitecore RSS Module

Creating Your Own Feed Adapter for Sitecore RSS Module

Pablo Bustamante... - Tuesday, June 30, 2009

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.

feed field

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 ( here ). 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.

ajax rotator
Recent Posts

RSS feeds
Tag cloud
Marketing Automation templating google analytics configuration management google appEngine keywords CMS usability command line cms whitepaper jquery, jquery plugin reddot higher education mysql HubSpot google search appliance Solr search engine geographical SMM jahia cms google web design los angeles web content management Acquia cookie-free domain GIS consulting Maven web evolution Flash campaigns jquery open text cms php ui ajax scalability AS3 software design facebook app, OS 3.0, three20 foursquare mobile sitecore user group reddot cms web design portlets web marketing design oshyn Navigation new sites twitter missing images Business Users IIS tuckey higher education JSR-168 oms webcomponent portal Ubercart open-source web development los angeles cloud sales 2.0 cms white paper reddot Jahia java template design development performance css profile tab CTA sitecore layout Sitecore IT Investment marketing jahia wcm facebook deployment fbml url keyword selection asp Dynamic Data geo lead management web3.0 sitecore devices thoughts website design los angeles ipc location Visual Studio Sitecore Active Directory EPiServer EPiServer Active Directory dynament print wcm open text open text delivery server memcache CMS Training liferay VS2010 opentext cms los angeles industry challenges cloud computing architecture content management systems content authoring ASP.NET Sharepoint optimization theming frontend optimization E-commerce presentation layer boost CMS social network open source php5 web services VPP drush inbound marketing online marketing LDAP content management los angeles lucene google maps rdbs .net iphone ubuntu modules spatial VB content mangement open text web solutions Database facebook developers profile box jsp enterprise sitecore email campaign manager Actionscript 3 Drupal search suggest project management postgis concrete5 multilingual LiveServer design patterns social 2.0 tools OO Development cms los angeles, content management los angeles, web development los angeles, website design los angeles, web design los angeles, sitecore meetup, sitecore user group Live Server patterns mashups mashup mashware open text liveserver Velocity web2.0 MVC Visual Basic call to action linux content management white paper social media javascript sitecore meetup reddot cms higher education reddot whitepaper open text management server reddot white paper editing content redundant database structure cluster code design communicating icefaces integration target dynament ASP.NET MVC GSA tuning release management multisite sitecore ECM html content authors Ubuntu Server ajax push Web development SEO Delivery Server sitecore online marketing suite, online marketing suite plugin web marketing for dummies data access friendly url sitecore oms LS licencing APC content management whitepaper CRM management lead generation Active Directory RFP WCM Design Patterns drools
2010 Copyright Oshyn. All rights reserved.