Sitecore Twitter control update

July 29th, 2010

I’ve uploaded a new version of the Sitecore Twitter code at wiki.evident.nl. This is a base for your own Sitecore Twitter Widget/Control. Changes include:

  • Password no longer necessary
  • Search result support (Tweets by hashtag instead of username)
  • Now uses datasource setting on control to choose Twitter setting item

Still no fancy Linq to XML (sorry) but we are one step closer to an “official” module! ;)

0 C: Sitecore

A Sitecore twitter control

February 1st, 2010

I’ve decided to release some code for a Sitecore Twitter control that displays status updates. Please provide feedback & request features. Once the code is little bit more mature and cleaned up it’ll be uploaded to the Sitecore Shared Source site as a user control. You can also uses this to create a custom control.

You can find the instructions and download info on the Evident wiki site. Enjoy!

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 «

Where am I?

You are browsing the category:Sitecore

Click here to return to the blog