Creative Web Specialist - An online portfolio and resource site of Warren Buckley

Latest Posts

Feb19th

Twitter Umbraco Package

Hello all this is my first package for 2008. I have created a quick XSLT package to allow you to display your latest twitter status’s on your website/blog.

For example here is my twitter page where you can see what upto or thinking.

This package installs the following files:

  • bin/CWSHelperTwitter.dll
  • xslt/CWS_twitterStatus.xslt
  • /usercontrols/Installer/CWSTwitter/cwsTwitterInstaller.ascx

The installer usercontrol cwsTwitterInstaller.ascx is used to modify the /config/xsltExtensions.config
to setup my custom XSLT extension to allow us to modify the strange format of the twitter date format.

The actual package installs the following into umbraco:

  • Macro: [XSLT] CWS:Display Twitter Status
  • XSLT: CWS_twitterStatus.xslt

To use this package just install this package, to do this take the following steps.

  1. Login to umbraco
  2. Goto the Developer section
  3. Right click the Macros node
  4. Select Import Package
  5. Press Browse and find the zip package file you have downloaded
  6. Follow the steps in the wizard
  7. Once installed insert the macro into your XHTML template
  8. Insert your twitter id (not username) and the number of items you want to display (upto 20)
How do I find my Twitter user id?

You can find your twitter id by browsing to your twitter page, for example http://twitter.com/warrenbuckley and clicking on the RSS link at the bottom of the page. Which loads your RSS feed like this, http://twitter.com/statuses/user_timeline/9751992.rss
So in my case my Twitter user id is 9751992

The XSLT I have supplied is easy to read and edit to format and fit into your site design and structure, if you have any questions please leave a comment and ask me.

If you have enjoyed using this package, please tell your friends and tell them to use it

Without further-a-do here is the package for you to download.
Download Creative Website Specialist - Twitter Package v1.0.0

Thanks goes to Thomas Höhler for helping me to reformat the date.

4 comments
20th February, 2008
Clean and cool as always. I started using twitter and then stopped again. I had too many “oh I forgot Twitter” and I was unable to come up with a great answer when asked “… but what do you use it for”. But maybe I should give it another go. Maybe I was wrong.

Do you use this package anywhere?

Kindly,
Jesper
20th February, 2008
Hi Jesper, thanks for the comment.
I am currently using this to display my latest status on my blog that I am redeveloping on Umbraco.

But I use twitter how I use FaceBook status updates, it is to inform and tell people what you are upto, thinking or feeling or whatever you wish to tell the world.

I will blog later today how I use MSN to update my twitter account which then updates my FaceBook status.

Warren
06th June, 2008
Cool package Warren. What does the dll do, I guess it hooks into Twitter API and exports the tweets in xml?
06th June, 2008
@Jay Thanks the DLL is a XSLT extension so that you can format the date correctly in XSLT and automatically render @username links to link to the twitter users site

I should recommend you look at the latest version though.
http://www.creativewebspecialist.co.uk/2008/04/21/twitter-umbraco-package-version-12.aspx

Warren
Post a comment »

Comment's have been disabled, due to getting hit badly with comment form spam

My Skill Set

This is a quick list of my skill set to date

  • XHTML
  • CSS
  • Photoshop (Slicing)
  • XSLT
  • ASP.NET
  • Umbraco .NET CMS

My del.icio.us

My Last.FM

I am listening to:

  • Ain't Pretending by CowbellOh Girl29 Jul 2010, 10:37
  • Just Want Your Love by CowbellOh Girl29 Jul 2010, 10:33
  • Oh Girl by CowbellOh Girl29 Jul 2010, 10:31
Warren Buckley is an umbraco MVP 2008/2009 Warren Buckley is an umbraco level 1 certified developer

Photo of Warren Buckley Warren Buckley is a Creative Web Specialist based in Leigh on Sea, Essex , UK.