Creating an RSS feed from a Document Library? - Front- & Back-End Development - Front- & Back-End Development - Progress Community
 Front- & Back-End Development

Creating an RSS feed from a Document Library?

  • Creating an RSS feed from a Document Library?
  • Is this possible? I would like to create an RSS feed of recently uploaded/published documents but the feature in Sitefinity 5 only gives me blogs, lists, or forums.
  • Hi Brock,

     

    did you got any feedback or help on that request?

    I'm searching to do exactly the same...

  • Hi Michael,

    In order to add documents to the feed, you need to go to Administration >> Settings >> Publishing >> Types, 

    Create new with this name:
    Telerik.Sitefinity.Libraries.Model.Document

    And for assembly name you can enter again:
    Telerik.Sitefinity.Libraries.Model.Document

    This will include the documents titles in the feed. This is because only the title of the document item is indexed by the feed, not the binary data (actual text). This is why the Documents aren't included by default in the feeds content type. If you want the feed to index binary data, you will have to implement a custom pipe that does this. Information on how to do this you can find here:
    http://www.sitefinity.com/blogs/teodorgeorgiev/posts/11-08-18/publishing_system_brief_walkthrough.aspx

    Another approach is to create a new List Item (with rss feed) along with document publishing, where you could add more information about the published document.

    Regards,
    Svetoslav Manchev
    Telerik
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Sitefinity CMS Ideas&Feedback Portal and vote to affect the priority of the items