Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#73 2009-08-26 17:46:00

mrtunes
Member
From: Toronto, On
Registered: 2007-03-12
Posts: 575
Website

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

kimili wrote:

mrtunes and passionado – What version of Textpattern are you using? Have you tried setting the usetextile attribute to false?

there you are! wow that fixed it. i’m on 4.0.8 btw.

Offline

#74 2009-09-02 17:17:03

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

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

Forgive me if this is addressed somewhere: How can I change the tweet_text wraptag from span to something else?

Offline

#75 2009-09-03 00:04:31

tye
Member
From: Pottsville, NSW
Registered: 2005-07-06
Posts: 859
Website

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

Edit line 127 of the code

 $output .= "<span class=\"$tweettext_class\">$text</span>";

Offline

#76 2009-09-04 03:00:54

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

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

Thanks, Tye! I thought there might be a way to do this without hacking the plugin.

Using blockquote or q paired with a cite tag on the Twitter username would be a more semantic way to do this in XHTML 1.0, and HTML5 has dialogue markup available (although I don’t think dt and dd are good fits for dialogue). Since the plugin documentation advertises customizable markup, I thought there might be a way to address the tweet_text specifically.

Offline

#77 2009-09-14 13:38:33

Christopher
Member
From: T.O.
Registered: 2004-05-27
Posts: 42
Website

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

Did Twitter change something in their API? I ask because when I have DISPLAYORDER set to “tweet-time-conversation” the time permalink points to an incorrect URL. I’m pretty sure the permalink was working before.

Currently, permalinks to tweets are set as this in kml_twitter 1.2:

http://twitter.com/chorrell/statuses/-315354453

When they should be:

http://twitter.com/chorrell/status/3979612843

I’ve been trying to figure out what’s happening. Changing “statuses” to “status” was an easy fix (line 108 in the plugin code) but I can’t quite figure out where the rest of the URI is coming from. It seems that somethings going wrong when pulling the tweet ID from the JSOn feed, but I can’t figure out what it is.

Offline

#78 2009-09-17 16:59:39

corkingdesign
New Member
Registered: 2009-09-17
Posts: 4

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

I have been using your plugin for some time now and I think it is great but I am having some issues, I am constanly getting the message:

Rate limit exceeded. Clients may not make more than 150 requests per hour.

On first visit to my site I get the tweets but on refreash I normally get the message, I am not sure why this is occuring can anyone help.

Offline

#79 2009-09-17 18:56:57

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

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

@corkingdesign – It sounds like you’ve not got the plugin’s caching set up properly. There’s a few things to check:

  1. The cache_life attribute is set to something higher than 0. (default is 600)
  2. You’ve created a /textpattern/cache/ directory
  3. The /textpattern/cache/ directory permissions should be set to 777 (World writable)

If any of those items are not as I describe, the plugin won’t create a cache file, but will hit Twitter for content on every page view. That’s probably why you’re going over the limit.

Offline

#80 2009-09-17 18:57:53

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

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

@Christopher – I doesn’t really matter if you use either /status/ or /statuses/ in a URL – they both work. Try it out:

What’s definitely invalid in the first URL you reference is the hyphen in the id. Tweet IDs are sent as an integer, and that’s what’s needed for the URLs to work. Maybe you had an extra hyphen in your attribute? Something like tweet-time--conversation?

Last edited by kimili (2009-09-17 20:06:58)

Offline

#81 2009-09-18 13:38:46

Christopher
Member
From: T.O.
Registered: 2004-05-27
Posts: 42
Website

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

kimili wrote:

What’s definitely invalid in the first URL you reference is the hyphen in the id. Tweet IDs are sent as an integer, and that’s what’s needed for the URLs to work. Maybe you had an extra hyphen in your attribute? Something like tweet-time--conversation?

——

No, no error in the attribute from what I can tell. What I have is the following:

<txp:kml_twitter user="chorrell" displaytitle="false" count="1" displayorder="tweet-time-conversation" displayfooter="false" cache_life="660" usetextile="false" />

And it’s not just the extra hyphen that’s the problem, everything after it is incorrect as well.

So for instance my latest tweet is this:

http://twitter.com/chorrell/status/4078379799

but kml_twitter outputs:

http://twitter.com/chorrell/statuses/-216587497

The numbers at the end are completely different.

Last edited by Christopher (2009-09-18 13:39:06)

Offline

#82 2009-09-18 13:53:27

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

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

That is bizarre. Which version of Kimili Twitter Timeline are you using? I suspect you’re using 1.0 or 1.1.

I tested your <txp:kml_twitter /> tag verbatim in both 1.2 and a 1.3 version which I’ll soon release, and the output was just fine in both cases.

Offline

#83 2009-09-18 14:13:33

Christopher
Member
From: T.O.
Registered: 2004-05-27
Posts: 42
Website

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

I’m currently using 1.2. Maybe it’s a server config issue?

And thanks for your help btw!

Offline

#84 2009-09-22 13:24:01

corkingdesign
New Member
Registered: 2009-09-17
Posts: 4

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

@kimili

I have checked and double checked the folder is in the correct location, the cache_life is set to 600 and the permission are set to 777 but I am still havong the same problem. Anything else that might be up?

Offline

Board footer

Powered by FluxBB