(828) 862-6667

Sitefinity Blogs


  • Little known Sitefinity configuration settings
  • More detailed examples for Sitefinity component usage
  • Work-arounds for Sitefinity limitations
  • Discoveries and Ah-Ha moments 

How to configure an RSS feed in Sitefinity

by Rich Winslow | May 22, 2010

Implementing RSS feed functionality inside of Sitefinity is quite simple, but initially I wasn't sure what settings mattered and what to expect from the RSS Feed control.... so now that I have pulled it together, let me pass it on for others to benefit from:

Concepts

There are two components to consider:

  • RSS Feed Service  (behind-the-scene)
  • RSS Control (public facing)

The RSS Feed Service is an HTTP Handler that listens and responds to requests for RSS feed content.  Typically there is a  .XML or .RSS file that contains content to inform subscribers about.  However this requires periodically creating and/or updating the file for fresh content.  With the Sitefinity RSS Feed Service, the content is dynamically created when a request is made for RSS content.  Thus, you create an RSS Feed service for some targeted content (ex. a blog, a set of web pages, a forum, an event, etc) and Sitefinity will take care of serving up the right content when requested.

The RSS Control is simply a link to the RSS Feed content that the service is serving up. You can add the RSS Control to a page with a text or image link that points to the RSS feed content.   In reality, you could just put a hyperlink on the page to that references the pseudo RSS feed file.

Implementation

Below is a step-by-step illustration of setting up both the RSS Feed service and placing the reference to it with an image link on a Sitefinity page.

 

RSS Feed Service

Log into Sitefinity and go to the Administration section with the RSS Feed services are defined.

Go to Administration Section

 

Go to Administration Section

 

Go to Administration Section

 

Fill out a name for the RSS Feed service and a reasonable description to help you understand its purpose and maintain it in the future.

Enter a simple name for the RSS file off the root of your website; the .rss file type is used because it is a standard.   If you were to go to this URL, Sitefinity would dynamically generate the RSS feed content and display it.

Set the Channel URL to the content page that you plan to get the dynamic content from.  When the end-user reviews your RSS feed, it will be shown a set of topics and the start of the content.  If the user wants to view the full content, they click on the link and it goes to this Channel URL.

 

 

Go to Administration Section

Click the Select button next to the Channel URL textbox to open the Channel URL dialog and navigate an existing page that you'd like to use to display the content whent the end-user clicks-through to the full content.

Go to Administration Section

Go to Administration Section

 

Go to Administration Section

Select a specific blog to include in the RSS Feed.

Go to Administration Section

Go to Administration Section

Go to Administration Section

Go to Administration Section

 

You have now completed the creation of the RSS Feed service.  When a request comes in for that RSS Feed, this service will 'serve' up the content dynamically.

Go to Administration Section

 

Next you want to show a link to the RSS Feed so people can click on it and opt to subscribe to the feed.  Without this, no one would know what you are offering and thus no one would sign up to watch it.

 

RSS Feed Control on a Web Page

Go to pages

Go to Administration Section

 

Edit a page that you want the RSS Feed link displayed on.

Go to Administration Section

 

From the set of controls in the 'Add Controls' dropdown.  Open the RSS Feed section then drag-n-drop the RSS Feed control into a placeholder on your page.

Go to Administration Section

 

Edit this instance of the RSS Feed control

Go to Administration Section

 

Fill in Text as link text.

Enter the RSS feed file URL that you created above (ex. ~/pdr.rss)

Optionally specify a CSS class to use for positioning and formatting of this link. 

.cssRSSFeedLink
{
  text-align:right;
  position:absolute;
  float:left;
  padding-top:2px;
  padding-top:5px;
}

If you want the link to be a link image, then go out on the web and find a nice RSS image and upload it to the Images directory of your website.  Enter that relative URL for the image in the Image URL property.

 Go to Administration Section

Go to Administration Section

 

Scroll down further to fill out the ID and Target. 

The ID specifically describes this instance of the RSS Feed link. 

Use a target of _blank so a new browser window opens to show the RSS Feed subscription page.

Click " I'm done " to complete the configuration of the RSS Feed link.

Go to Administration Section

 

Publish the new content

Go to Administration Section

 

 

The result is a page with the RSS.gif image as a hyperlink that a user can click on. 

Go to Administration Section

 

If they hover, they see your descriptive text.

Go to Administration Section

 

After clicking on that RSS Feed link, the Sitefinity RSS Feed service dynamically created the RSS Feed document and displays it in a separate web browser window.  If the user is interested, they can click to subscribe.   Go to Administration Section

The user must have an RSS Viewer (ex. Microsoft Office Outlook) in order to view new content based on the RSS viewer periodically requesting the latest version of the content.  They can then read the highlights in the viewer and click on the content to jump to your website to view the full content.

So there you have it... setup the RSS Feed service to define what to watch and then include a link to the RSS Feed URL so someone can decide whether to subscribe to it.

5 Comments

  1. 1 jordan 3 26 Apr
     school classmate recalled, according to <b><a href="http://www.louisvuittonoutlet888.com/damier-azur-canvas-C23.html">louis vuitton damier azur speedy 30 sale</a></b> the <b><a href="http://www.louisvuittonoutlet888.com/damier-azur-canvas-C23.html">louis vuitton damier azur canvas speedy 30</a></b> cleaners every <b><a href="http://www.louisvuittonoutlet888.com/damier-azur-canvas-C23.html">louis vuitton damier azur canvas handbags</a></b> day  <b><a href="http://www.louisvuittonoutlet888.com/">discount louis vuitton</a></b> riding a tricycle on campus garbage collection, always <b><a href="http://www.louisvuittonoutlet888.com/damier-azur-canvas-C23.html">louis vuitton damier azur bag</a></b> <b><a href="http://www.louisvuittonoutlet888.com/sofia-coppola-and-louis-vuitton-C35.html">sophia coppola louis vuitton</a></b> wearing an.
  2. 2 CG 09 Oct
    Thanks for the article. One issue though: it doesn't work for me if I make the URL end in .rss like you have in your article. It only works for me if the URL ends in .rss.ashx. Any advice on how I can get it to work like you have? Thanks....
  3. 3 Viki Garrison 23 Sep
    Hello!

    I am trying to import my client's (Eddie B & Company) FaceBook Fan Page so their blog (http://www.eddieb.com/blog.aspx) will feed to the Fan Page.

    I have followed the instructions above and I can not get the blog to import. The website admin said this: "I'm sorry to hear you are having problems with Facebook. I recommend contacting their customer support on this. The feed appears to be working correctly on our end."

    FaceBook gives me this error message:
    Import Failed. We couldn't find a feed using the URL you provided.

    When I try to edit the settings on the Social Revitalizer tab (RSS/Blog) I receive this pop-up error message:
     

    One of the RSS feeds you have entered is currently unreadable. This may mean that:

    • The RSS feed URL you have entered is incorrect.
    • The RSS feed contains an error.
    • The feed you have chosen is currently unavailable.
    • The feed type is currently not supported by Social RSS.

    We have highlighted the RSS feed(s) that need(s) your attention. Please make sure the "URL" you have entered is correct. Remember it must be the URL of an RSS feed and not just a website address.

    If this message continues to occur, please feel free to contact us by clicking the "contact" link at the base of the screen. Apologies for the inconvenience.

    Is there someone here that can assist me?

    Thank you!
  4. 4 john s 13 Sep
    Thanks, you pulled together for us. It worked like a charm!
  5. 5 Bryan 24 Aug
    Is there a way to use RSS service for others custom Generic Content Based Modules other than blog and news?
    Thanks,

Comment

  1.    
     
     
      
       

Why Give Our Secrets Away?

I often get asked why I'm willing to journal all of my Sitefinity discoveries. People think I'm insane to give away for free what I labored over at some point.

Let me answer that in 2 parts:

  • Why journal my discoveries?

    Because I forget and I want to a library of knowledge to refer back to. Oh but it is far worse than that... THREE TIMES now, I've gone to Google and searched for a solution to a problem, only to find MY OWN BLOG entry is #1 in Google and viola! there's the solution!
  • Why give it away for free?

    Because others have been kind enough to do it for us; what goes around, comes around.

    There are all levels of experience, thus someone with less experience may defer to us when needed.

    The lines of 'competition' are very much blurred; in our minds competition is a potential customer or partnership in the right situation.

    We maintain healthy partnerships with one of our competitors; they come to us when they need help and visa versa.

    There is plenty of work out there for everyone if you are putting out quality work and you are straightforward with clients and competition.

Talk to us about how we can help YOU!

 


Don't miss out!

Keep up with our Sitefinity discoveries!
Click on the RSS feed icon below or sign up for our newsletter.


Email Address:
     















Company Info  |   Contact Us  |   Site Map  |   Terms  |   Privacy Policy  |  

Automated Results Computer Consulting LLC, 222 South Caldwell Street, Brevard, NC 28712 (828) 862-6667