I’ve avoided the word integration because it really isn’t, but anyway.
Recently I’ve been messing about with Twitter (who hasn’t) and I’ve come up with a fairly simple way of displaying my Twitter feed, but without:
1. Making all feeds one giant link back to Twitter
2. The URLs rendering as plain text
For this, you will need:
1. The Magpie RSS plugin
2. The Auto Linker Plugin
3. The Replace Plugin
You will also need your Twitter feed’s RSS location (mine’s http://twitter.com/statuses/user_timeline/34575329.rss), and your Twitter username, which obviously you know!
Install all 3 plugins, create an empty template and enter the following lines of code
{exp:replace find="username:SPACE" replace=""}
{exp:auto_linker}
{exp:magpie url="http://twitter.com/statuses/user_timeline/34575329.rss" limit="4" refresh="1"}
<ul>
{items}
<li>{title}</li>
{/items}
</ul>
{/exp:magpie}
{/exp:auto_linker}
{/exp:replace}Replace username with your Twitter username and make sure the colon and SPACE follow, as those will also remove the colon and blank space after your username. Also remember to use your own Twitter feed location and the refresh rate is your own preference! 1 isn’t actually the best idea…
Now, save your template and click to view it… hey presto, you should see your feed printed with any URLs rendered correctly.
Example available at http://www.dasgrafik.co.uk/test - it’s where I muck about with code so don’t expect anything too wild!
Now, if anyone has any improvement or suggestions - just say! I have to go out now as the shops close in 20 minutes, but I’ll check this when I get back in just in case I’ve written something wrong!
Enjoy.