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

Forums / General Discussions / RSS feed for forums?

RSS feed for forums?

10 posts, 0 answered
  1. Mikael Kleinwort
    Mikael Kleinwort avatar
    78 posts
    Registered:
    17 May 2004
    28 Feb 2009
    Link to this post
    Is there an rss feed for all the SiteFinity forums, or some way to email subscribe to any new posts?

    Regards, Mikael
  2. Georgi
    Georgi avatar
    3583 posts
    Registered:
    28 Oct 2016
    03 Mar 2009
    Link to this post
    Hi Mikael Kleinwort,

    There is no Rss Provider for the Forums module yet.

    You can e-mail the subscribers though, this is an option. You can take the new forum name, the threads name and content once they are created. Here is how:

    global.asax
    void Application_Start(object sender, EventArgs e)  
        Telerik.Forums.ForumManager.Executing += new EventHandler<Telerik.ExecutingEventArgs>(ForumManager_Executing); 
     
    void ForumManager_Executing(object sender, Telerik.ExecutingEventArgs e) 
        if (e.CommandName == ""
        { 
            Telerik.Forums.IPost post = e.CommandArguments as Telerik.Forums.IPost; 
        } 
     

    You are subscribing to the ForumsManager.Executing event, which is raised everytime when there is a forum activity like creating, deleting, updating threads and forums. Then in the event body, you catch the command with e.commandName. The command name could be:
    • CreateForum
    • CreatePost
    • DeleteForum
    • DeletePost
    • UpdatePost
    The actual item being created/edited/deleted is accessible through the CommandArguments. Once you have the item, you can mail its content to the subscribers.

    Don't hesitate to contact us if you have other questions.

    All the best,
    Georgi
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
  3. Mikael Kleinwort
    Mikael Kleinwort avatar
    78 posts
    Registered:
    17 May 2004
    03 Mar 2009
    Link to this post
    Hello Georgi,

    thank you for the information.Actually, in this case, I was looking for a way to get all new posts of all SiteFinity support forums in some automatic way, without having to subscribe to a thread. Taking your response, this is not possible right now.

    Regards, Mikael
  4. Georgi
    Georgi avatar
    3583 posts
    Registered:
    28 Oct 2016
    04 Mar 2009
    Link to this post
    Hello Mikael Kleinwort,

    I apologize for misunderstanding you.
    We are in process of rebuilding the sitefinity.com web site. I will check if this is going to be a feature in our future forums, and suggest it if it is not.

    All the best,
    Georgi
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
  5. SelAromDotNet
    SelAromDotNet avatar
    912 posts
    Registered:
    18 Jul 2012
    04 Mar 2009
    Link to this post
    does the api have a way to retrieve the most recent x posts?

    if so, you could probably just make a custom rss provider for the forum using that call to build the feed...
  6. Georgi
    Georgi avatar
    3583 posts
    Registered:
    28 Oct 2016
    04 Mar 2009
    Link to this post
    Hello,

    I would like to apologize for misleading you guys. Actually, there is a Rss provider for our Forums module. Please check the attached screenshot.

    The API do not provide direct methods for taking the last x post though. You can take the list of posts, and sort that list based on the post creation date. Then take the first x items in that list.

    All the best,
    Georgi
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
  7. Mikael Kleinwort
    Mikael Kleinwort avatar
    78 posts
    Registered:
    17 May 2004
    05 Mar 2009
    Link to this post
    Hello Georgi,

    thank you for the correction.

    So, if I understand you correctly, SiteFinity does support rss feeds but the sitefinity.com website does not currently offer any rss feeds for the support forums - this is what I was actually looking for.

    I would love to be able to receive all sitefinity support forum posts automatically via rss without the need to check the forums manually all the time. And while you are at it, please add a rss feed for the blog posts as well!

    Regards, Mikael
  8. Slavo
    Slavo avatar
    295 posts
    Registered:
    24 Sep 2012
    05 Mar 2009
    Link to this post
    Hello Mikael Kleinwort,

    The Sitefinity.com website is going to be improved a lot and we're definitely going to take your suggestion into your account. As for the blogs - there is already a feed there, although I'm not sure what blogs you are talking about. There is an RSS provider for the Blogs module of the CMS, as well as a feed for blogs.sitefinity.com. The latter you can find in the sidebar, just below the tags, or on the following address: http://blogs.sitefinity.com/DevBlogs.rss

    All the best,
    Slavo
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
  9. sam
    sam avatar
    102 posts
    Registered:
    31 Jan 2008
    03 Jun 2009
    Link to this post
    How would get all subscribers? Meaning people who have contributed to a particular thread?

    I am wanting to email all people contributing to a particular thread to email them that the thread has been responded to. Similar to what you do here at Sitefinity.com
  10. Georgi
    Georgi avatar
    3583 posts
    Registered:
    28 Oct 2016
    08 Jun 2009
    Link to this post
    Hello Sam,

    You could try the following approach:

    1. Get the thread you want.
    2. Get all posts recursively by parentId. The parentID of the post, is the reference to the parent post, so we should do this action for all posts having parentID.
    3. When you have the list of posts, you can take the user from everyone and put it in a list.
    4. Finally, you should exclude those users which appear twice.

    I hope this will help you.

    Regards,
    Georgi
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
Register for webinar
10 posts, 0 answered