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.
- Login to umbraco
- Goto the Developer section
- Right click the Macros node
- Select Import Package
- Press Browse and find the zip package file you have downloaded
- Follow the steps in the wizard
- Once installed insert the macro into your XHTML template
- 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.