Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2008-10-06 21:51:43

kimili
Plugin Author
From: Massachusetts, USA
Registered: 2004-06-17
Posts: 108
Website

[plugin] [ORPHAN] kml_twitter: Kimili Twitter Timeline

I’m happy to announce that I’ve released a new plugin for Textpattern – Kimili Twitter Timeline.

It’s a simple, highly configurable plugin that pulls in the latest tweets from your public Twitter timeline and displays them on your site. As far as I could see, this functionality was already available for a number of other CMS, but Textpattern users weren’t getting in on any of that love—until now, that is.

Some of the features of Kimili Twitter Timeline include:

  • Specify the number of tweets to display
  • Display your Twitter Avatar
  • Hashtag linking within tweets
  • Tweet caching
  • Graceful error handling
  • Configurable HTML output
  • Display multiple timelines on a single page

So if you’re a Twitter user with a Textpattern site, point your browser to the Kimili Twitter Timeline Homepage to find out all the details and download the plugin.

Any feedback is much appreciated!

Last edited by uli (2017-03-16 13:28:54)

Offline

#2 2008-10-07 06:53:14

TNT
Member
From: Rotterdam, Netherlands
Registered: 2006-01-06
Posts: 256
Website

Re: [plugin] [ORPHAN] kml_twitter: Kimili Twitter Timeline

Nice plugin. Well documented, should be really easy to set up. Gonna try it out!

I’m feeling the love! :-)


Prrrrrrrr

Offline

#3 2008-10-07 08:33:44

kemie
Plugin Author
From: mexico<-->sweden
Registered: 2004-05-20
Posts: 495
Website

Re: [plugin] [ORPHAN] kml_twitter: Kimili Twitter Timeline

this looks awesome :)


~~~~~~~~~~~~~| monolinea.com | pixilate.com | istockphoto.com/kemie |~~~~~~~~~~~~~

Offline

#4 2008-10-11 18:51:56

mistersugar
Member
From: North Carolina
Registered: 2004-04-13
Posts: 141
Website

Re: [plugin] [ORPHAN] kml_twitter: Kimili Twitter Timeline

I’m attempting to use this plugin, but when I activate it and refresh my site, I get this:

Fatal error: Call to undefined function json_decode() in /users/home/mistersugar/domains/mistersugar.com/public_html/textpattern/lib/txplib_misc.php(512) : eval()’d code on line 64

Ideas?

Offline

#5 2008-10-11 22:05:28

kimili
Plugin Author
From: Massachusetts, USA
Registered: 2004-06-17
Posts: 108
Website

Re: [plugin] [ORPHAN] kml_twitter: Kimili Twitter Timeline

Ah – json_decode() is only available when using PHP 5.2 and up. You must be using an older version. I’ll look into a way to make the code compatible with older versions of PHP.

Last edited by kimili (2008-10-12 02:37:01)

Offline

#6 2008-10-12 02:37:53

mistersugar
Member
From: North Carolina
Registered: 2004-04-13
Posts: 141
Website

Re: [plugin] [ORPHAN] kml_twitter: Kimili Twitter Timeline

Thanks. (I’m on Joyent’s barclay server for the time being, for what it’s worth, and moving over to my Accelerator space shortly.)

Offline

#7 2008-10-24 06:22:01

johnstephens
Plugin Author
From: Woodbridge, VA
Registered: 2008-06-01
Posts: 999
Website

Re: [plugin] [ORPHAN] kml_twitter: Kimili Twitter Timeline

This plugin is great. My initial test on my dev installation has yielded mixed results: the tag recognizes my username, and shows my latest update, but no matter what number I use in the count attribute, I only get one item:

This

<txp:kml_twitter user="johnstephens" count="20" title="Test" />

outputs this

<h3>Test</h3>
<ul>
	<li class="tweet"><span class="tweet">My latest update</span> <a href="http://twitter.com/johnstephens/statuses/{permalink}" class="tweet_time">1 hour ago</a></li>
</ul>
<p class="my_twitter">See more at <a href="http://twitter.com/johnstephens/" title="See all of my tweets">Twitter</a></p>

Realistically, I only want to show 3-5, but I can only get one. Do you have any ideas what I should try?

Thanks!
/john

Offline

#8 2008-10-24 15:30:22

kimili
Plugin Author
From: Massachusetts, USA
Registered: 2004-06-17
Posts: 108
Website

Re: [plugin] [ORPHAN] kml_twitter: Kimili Twitter Timeline

John -

Try waiting for the plugin cache to expire or simply delete the cache file in /textpattern/cache/. If you make changes to the tag attributes, they don’t actually take until it re-requests your tweets from Twitter, which only happens when there’s no cache file or the cache file is older than cache_life setting, which defaults to 10 minutes.

Hope that helps.
Michael

Offline

#9 2008-10-24 15:37:06

johnstephens
Plugin Author
From: Woodbridge, VA
Registered: 2008-06-01
Posts: 999
Website

Re: [plugin] [ORPHAN] kml_twitter: Kimili Twitter Timeline

That makes sense. It fixed itself— thanks!

Offline

#10 2008-10-24 15:45:10

johnstephens
Plugin Author
From: Woodbridge, VA
Registered: 2008-06-01
Posts: 999
Website

Re: [plugin] [ORPHAN] kml_twitter: Kimili Twitter Timeline

Is there any way to grab your Twitter portrait icon, like Makkintosshu’s Twitter Statuses Javascript?

Offline

#11 2008-10-27 03:53:47

nardo
Member
From: tuvalahiti
Registered: 2004-04-22
Posts: 743

Re: [plugin] [ORPHAN] kml_twitter: Kimili Twitter Timeline

kimili – any chance of incorporating results from search.twitter.com? so you can display a list of tweets based on a hash tag search?

Offline

#12 2008-11-04 08:38:11

ronan
Member
From: luzern (schweiz)
Registered: 2008-05-02
Posts: 53
Website

Re: [plugin] [ORPHAN] kml_twitter: Kimili Twitter Timeline

great plugin. if is possible, to display messages from a (own) protected twitter-account?

Offline

Board footer

Powered by FluxBB