1-888-365-2779
+1-888-365-2779
Try Now
More in this section

Forums / Developing with Sitefinity / Enhancing the Events RSS

Enhancing the Events RSS

4 posts, 0 answered
  1. Simon
    Simon avatar
    14 posts
    Registered:
    26 Jul 2008
    11 Mar 2010
    Link to this post
    Hello

    I want to have my events rss feed consumed by a third party for that they need additional information like start and end time and location, as structured attributes/elements

    How can the rss feed be enhanced to do this?

    Regards

    Simon
  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    12 Sep 2017
    15 Mar 2010
    Link to this post
    Hi Simon,

    To achieve your goal you need a custom Rss provider. Since your want to only consume your events rss feeds there is an easy option that you can use. Each rss is represented by Telerik.Rss.RssItem. The RssItem has a property called Guid. This property returns the ID of the event item. You can use web service and call the ContentManager where you pass this ID to GetContent(). Afterwords you can extract each data you want, generally by using GetMetaData method of IContent object.

    Greetings,
    Ivan Dimitrov
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
  3. Simon
    Simon avatar
    14 posts
    Registered:
    26 Jul 2008
    15 Mar 2010
    Link to this post
    Hello

    Are you saying that I need to implement a custom rss provider that calls a webservice to get the data?

    I don't have control over the third party. They need specific tags in the rss feed.

    Is there an example of this somewhere?
  4. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    12 Sep 2017
    15 Mar 2010
    Link to this post
    Hi Simon,

    You can just create a web service without provider and access the RssItem from where you can extract the data you need. You may find this post useful - Implementing RSS: a Simple RSS Bare-Bones RSS Module

    Kind regards,
    Ivan Dimitrov
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Register for webinar
4 posts, 0 answered