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.3
Release Date: December 11, 2009

  • kml_twitter_1.3.txt (11.44KB)

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.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

  • 18+91
  • Panna Cotta
  • Seen Better Days
  • Walk
  • Berth
  • Trek?
  • Vault Alarm

See more at Flickr

Recent Listening

  1. Celso Fonseca - Rive Gauche Rio
  2. Latin Playboys - Latin Playboys
  3. Orchestra Baobab - Specialist in all Styles
  4. Anoushka Shankar - Rise
  5. Miles Davis - Kind Of Blue
  6. Amadou & Mariam – Welcome To Mali
  7. Charlie Parker - Bird's Best Bop on Verve
  8. Charlie Parker - Best of The Complete Savoy & Dial Studio Recordings
  9. Björk - Homogenic

See more at Last.fm

Tweet, Tweet

  • 18+91. http://flic.kr/p/7JAFem

    • @dailyshoot #photo #ds114
    17 hours ago
  • I’m playing Angry Birds far too much. http://yfrog.com/6zlj1jj 1 day ago
  • Don’t Tell the Kids – http://nyti.ms/bpsqaN 4 days ago
  • Panna Cotta. http://flic.kr/p/7HDdg1 (thanks to @mammalicia)

    • @dailyshoot #photo #ds110
    4 days ago
  • Anyone have good book recommendations for someone who wants to get started in web design/dev today? Been ages since I’ve read one. 4 days ago

See more at Twitter

©MMII—MMX Michael Bester