Generating a valid Sitecore RSS feed (and other XML)

January 9th, 2010

The newer Sitecore (6.2+) versions are able to automatically generate RSS feeds. If you want to create your custom feed or are using a older version of Sitecore you can use this code as a guideline. The supplied code is an .ASHX handler to generate a valid RSS feed. I’m using the .NET XmlTextWriter class to help us out a little. This example takes a itemLanguage parameter to get the right content language. Please keep in mind that the code can be structured better, its just an example. With some editing you can also use this for other types of XML output. The generated RSS passes validation and most browsers recognize it as being RSS.

Check out the example code.

0 C: Sitecore T:

Custom sorting in the Sitecore backend

January 9th, 2010

Example: I want to order my news items in the Content Tree by a (custom) Sitecore field named “News date”. The “sort subitems” function in the Sitecore (6.0) backend does not allow to select this custom field. Two steps are needed to accomplish this. The first is creating a icomparer class and the second is adding it to Sitecore.

» Read the whole post «

Embedding the Radeditor on Sitecore pages (html text input)

January 9th, 2010

Looking for a easy way to let users send or save data using a HTML enabled text field?
It’s possible to embed the “Radeditor” that is already included in your Sitecore installation. You can include it this way on an .ascx or aspx control/page:

» Read the whole post «

Well hello there..

January 9th, 2010

Hiya! I’m the first post on tech.digisaru.com. Don’t forget to check back later!

1 C: News

  • Welcome!

    I'm Vincent van Middendorp a webdeveloper from The Netherlands. This site is all about sharing experiences & tips. You can expect small posts and articles about all kinds of subject matters that have to do with: the Sitecore CMS, Windows 7, XSL, ASP.NET, Html,CSS and other random geek stuff. Don't expect this site to be updated dialy :) Enjoy!

    I'm currently working at Evident Interactive in Utrecht.

    This is a subdomain of my personal dutch site Digisaru.com (warning: this site may contain brief nudity or songs with explicit lyrics).

  • Categories