Web developers wiki ASP.NET Sitecore Sharepoint Kentico by Evident Interactive

Update 29-7-2010: uploaded new version and changed description accordingly.

I've created a code base for a Sitecore Webcontrol that displays a Twitter timeline for a specific user (no password needed) or that displays Tweets from different users about a certain subject (# tag). The control is a base for your own control & is intended for developers. Although all types of users can enjoy the end product!

It features: valid HTML output (as UL), Twitter "@" user link support and "#" searchterm support as well as displaying if a update is a reply and what the source of the tweet was (web or custom twitter app). Currently only English is supported but it should be easy to use a Resource file to included multiple languages.

The control now uses a Twitter setting item (based on Twitter template) that you can create in a "Widgets" node. When including the webcontrol on your page you can use the datasource setting to point to a Twitter item with the different settings. Confused? Please see these screenshots: Control placement & Control template .

What you need to think about before using it:
Multilanguage support has to be added
No styling included (but there is valid html with classes available)
Add caching
Create a Widget Node where you or users can place Twitter setting items based on the Twitter template included in the SC package.

I've included a Sitecore package with:
\layout\Renderings\Widgets\TwitterWidget - Webcontrol definition (don't forget to point to the right assembly in the settings on this item)
\sitecore\system\modules\EviTwitter - Lookup items for the template (to choose between user or search mode)
\sitecore\templates\Widgets\Twitter - The template for the widget settings items


Example output for the User Account setting:
Twitter example

Twitter example



Download the zip here (includes Source Code & Sitecore 6.2 package)


The following links were very helpful, although i couldn't find all the features I wanted (which i now added to this Evicontrol) http://twitterfeedwidget.codeplex.com/
http://www.aidandoolan.com/blog/post/Custom-Twitter-Web-Control-with-Storage-and-Caching.aspx

 © Evident Interactive BV