Select the search type
  • Site
  • Web
Search
You are here:  Support/Forums
Support

Bring2mind Forums

Own Rss Feed
Last Post 01/10/2014 11:03 AM by oliver. 5 Replies.
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
oliver
New Member
New Member
Posts:19


--
12/13/2013 4:31 PM
Hi

I wanted to create my own RSS-Feed. It is actually based on the DMX RSS-Feed, but with some additional data (also within the description tag).
I am not sure so far what would be the most elegant solution:
- Create a module with a control
- Create a simple page (I am not sure if I anyhow need a module, not much of a DNN-expert)

And furthermore:
- Is there an api from DMX already delivering the RSS-Feed? Or what Api should I use best?
- Is there a way to tweak the link in the document administration which leads to the RSS-Page (in order to lead it to my own page)?

Thx 4 tips
Oliver
Peter Donker
Veteran Member
Veteran Member
Posts:4536


--
12/17/2013 2:35 PM
Hi Oliver,

DMX includes its own feed using DMXRss.aspx. You can tune it on the rss settings page on the admin menu. Check out the RSS help file on the help menu as well.

Peter
oliver
New Member
New Member
Posts:19


--
12/17/2013 2:41 PM
Hi Peter

I know about these settings, but they still won't let me have the feed in the shape I need. So I am still stuck with my initial questions from the first post.

Thx
Oliver
Peter Donker
Veteran Member
Veteran Member
Posts:4536


--
12/30/2013 1:34 PM
If it is the *shape* that is the issue, then why not simply run it through your own XSLT to change that?

Peter
oliver
New Member
New Member
Posts:19


--
01/03/2014 8:49 AM
It is not entirely the shape, I also need to add some missing data.
oliver
New Member
New Member
Posts:19


--
01/10/2014 11:03 AM
Well, I ended up with a real simple solution. I load the DMX-Rss feed with the Syndication-Api (from .Net), from there I can change/adapt it as I want. A simple snippet for loading:

private SyndicationFeed _LoadDmxRssFeed(string inputUri)
        {
            using (var xmlFeed = XmlReader.Create(inputUri))
            {
                return SyndicationFeed.Load(xmlFeed);
            }
        } 


... where inputUri points to the DMX-Rss feed. Cheers.
You are not authorized to post a reply.