Jump to Content
Kimili
  • Journal
  • Portfolio
  • Projects
  • About
  • Contact

Kimili Twitter Timeline for Textpattern

The Kimili Twitter Timeline for Textpattern is the simplest way to place your recent Twitter timeline on your Texpattern powered site. It is easy to use and rich in features and flexibility.

Download

Current Version: 1.4
Release Date: May 5, 2009

  • kml_twitter_1.4.txt (11.55KB)

Archived Versions

Although I strongly recommend that you use the latest version of Kimili Twitter Timeline, available above, what follows is an archive of earlier versions, should you want them:

  • kml_twitter_1.3.txt (11.44KB)
  • kml_twitter_1.2.txt (9.96KB)
  • kml_twitter_1.1.txt (9.16KB)
  • kml_twitter_1.0.txt (7.54KB)

Installation

Installing Kimili Twitter Timeline is fairly straight-forward. The first thing you need to do is create a cache directory in your textpattern directory if you don’t already have one there and make it world writable. There are a number of ways you can do this, but here’s an example of how you can do it via the command line:

  1. $ cd /path/to/your/installation/of/textpattern
  2. $ mkdir cache
  3. $ chmod 777 cache

Once you have the cache directory in place, simply paste the contents of kml_twitter.txt into Textpattern’s “Install Plugin” box and activate the plugin.

Usage

There is only one tag for this plugin: <txp:kml_twitter />. Putting that in your pages or a form will output something like the following HTML:

  1. <h3>Twitter</h3>
  2. <ul>
  3. <li>
  4. <span class="tweet"><a href="http://twitter.com/blacksceva">@blacksceva</a> You're a real mensch, my friend!</span>
  5. <a href="http://twitter.com/kimili/statuses/927472181" class="tweet_time">4 hours ago</a>
  6. </li>
  7. </ul>
  8. <p class="my_twitter">
  9. See more at <a href="http://twitter.com/kimili/" title="See all of my tweets">Twitter</a>
  10. </p>

There are no required attributes, but you’ll surely want to use at least one – user – to output your tweets instead of mine! Just specify your Twitter user name like this:

  1. <txp:kml_twitter user="kimili" />

In order to get your tweets displaying exactly how you want them, take a look at all of the available attributes on the Kimili Twitter Timeline homepage

Bugs

If you come across a bug or an incompatibility, please contact me with the specifics. I will do my best to rectify it as quickly as possible.

Donate

If you enjoy using Kimili Twitter Timeline and find it useful, please consider making a donation. Your donation will help encourage the plugin’s continued development so new features can be implemented and you can be sure it always works with ever newer versions of Textpattern. Besides, when you donate, you will be repaid tenfold in good karma.

  • Donate Now

Flickr

  • Crystal Jelly
  • After Work
  • Resting Robots
  • Through the trees
  • Brussels Sprouts?
  • Vault Alarm
  • Willow

See more at Flickr

Recent Listening

  1. Cujo - Adventures in Foam
  2. Frank Morgan - Frank Morgan
  3. Quadro Nuevo - Mocca Flor
  4. Sweetback
  5. The Budos Band
  6. Adele - 21
  7. The Budos Band - III
  8. Amon Tobin - Chaos Theory
  9. Sonny Rollins - Saxophone Colossus

See more at Last.fm

Tweet, Tweet

  • Toss paintballs at your browser with your iPhone. Very, very impressive toy, built with HTML5/CSS3/Node.js -> http://t.co/QtiFXGMD 6 days ago
  • Crystal Jelly http://t.co/NraeRkQ4 May 6th
  • OH: “There’s no kill switch on AWESOME” May 2nd
  • De Niro, De Faro. http://t.co/6nPwfRaG May 2nd
  • Stephen King pulls no punches: “Tax Me, for F@%&’s Sake!” http://t.co/eukNkxtA Apr 30th

See more at Twitter

©MMII—MMXII Michael Bester