Textpattern Forum

You are not logged in. Register | Login | Help

#121 2010-09-15 01:07:52

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

Re: kml_twitter: Kimili Twitter Timeline

@kimili – two use cases

  1. when you want to filter your own timeline for tweets relating to a particular subject (e.g. event hashtag “#lg2010”)
  2. when you have multiple authors contributing to a timeline, and you want to extract just one individuals tweets (e.g. “^AB”)

for an example of multiple authors contributing to a tweet stream, see http://twitter.com/campaignmonitor

Offline

#122 2010-09-15 13:30:07

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

Re: kml_twitter: Kimili Twitter Timeline

@nardo – Seems like a simple search parameter could take care of both use cases. So, something like:

<txp:kml_twitter user="campaignmonitor" search="^AB" />

or

<txp:kml_twitter user="campaignmonitor" search="#lg2010" />

I wasn’t planning on any updates, but I’ll put it on my todo list and see when I can find a bit of time to address it in the near future.

Offline

#123 2010-09-16 08:05:12

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

Re: kml_twitter: Kimili Twitter Timeline

Thanks Michael — for those moments when you don’t want to create another Twitter account

Offline

#124 2010-09-24 06:00:25

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

Re: kml_twitter: Kimili Twitter Timeline

Hey Michael, smd_xml is my immediate solution – but not as smart a solution as your plugin with the auto markup/formatting for replies, links etc

Offline

#125 2013-06-12 13:42:25

Manaus
Member
From: Turin, Italy
Registered: 2010-10-22
Posts: 194
Website

Re: kml_twitter: Kimili Twitter Timeline

Hello,
I’m using this plugin, and all of a sudden my div full of tweets stopped working, I see just a ‘ Jan 1st, 1970’ instead of the tweets. Could be the Api’s from Twitter changed suddenly?

Thanks!

Offline

#126 2013-06-12 13:48:47

etc
Plugin Author
Registered: 2010-11-11
Posts: 1,063
Website

Re: kml_twitter: Kimili Twitter Timeline

see here

Offline

#127 2013-06-18 20:52:35

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

Re: kml_twitter: Kimili Twitter Timeline

@Manaus – Thanks for pointing this issue out. Twitter did indeed retire the old API, and the plugin needs to be updated to use Twitter’s OAuth scheme if it has any hope of working again.

Right now, I don’t really have the available time to update it, but will look into it as time becomes available.

If there are any developers here who are interested in this plugin and would be willing and available to contribute towards updating it, I’d welcome the help.

Offline

#128 2013-10-30 09:55:28

catnip
Member
From: Sydney Australia
Registered: 2006-07-29
Posts: 50
Website

Re: kml_twitter: Kimili Twitter Timeline

@kimili, hi, I’ve been using your plugin religiously (well on 3 websites). It’s simple and effective. You set it up once and it it runs. The
Clearly, I’m sucking up here, hoping you wouldn’t mind reviewing the plugin and making t work again.

Thanks C

Offline

#129 2013-10-30 14:20:30

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

Re: kml_twitter: Kimili Twitter Timeline

Hi Catnip –

As was the case back in June when it stopped working, I still don’t have the time to update it so it implements OAUTH and works with the new Twitter API. If you’re willing and able to take a stab at it, I’d be more than happy to put the source up on Github.

All the best,
Michael

Offline

#130 2013-10-30 20:29:20

jakob
Moderator
From: Germany
Registered: 2005-01-20
Posts: 1,893
Website

Re: kml_twitter: Kimili Twitter Timeline

Hi Catnip,

As a workaround you might want to try rssitforme which will provide an old-style rss feed for your twitter account which you can then pull into txp with smd_xml:

<txp:smd_xml
     data="http://www.rssitfor.me/getrss?name=your-twitter-name"
     record="entry"
     fields="title,id,published"
     format="published|date|%d %B %Y"
     wraptag="ul"
     limit="5">
   <li class="tweet_text">
      <a href="http://twitter.com/{id}">
         {title}
      </a>
      <h3 class="tweet_time">{published}</h3>
   </li>
</txp:smd_xml>

I found rssitforme a bit unreliable (but maybe that was temporary) and the tweet text contained no links. Another alternative is to install tweetledee on your own server which provides you with an rss feed of your twitter account with full tweet content including embedded links. With tweetledee your smd_xml tag needs to look something like this, e.g.:

<txp:smd_xml
     data="http://www.yourdomain.com/tweetledee/userrss.php"
     record="item" 
     fields="title,guid,pubDate,description" 
     format="pubDate|date|%d %B %Y"
     wraptag="ul" 
     limit="5">
   <li class="tweet_text">
     {description}
     <h3 class="tweet_time"><a href="http://twitter.com/your-twitter-name/statuses/{guid}">{pubDate}</a></h3>
   </li>
</txp:smd_xml>

replacing yourdomain.com and your-twitter-name with your own site/twitter details.


TXP Builders – finely-crafted code, design and txp

Offline

Board footer

Powered by FluxBB