<?xml version="1.0" encoding="UTF-8"?>
<feed xml:lang="en-US" xmlns="http://www.w3.org/2005/Atom">
  <title>dnite.org - Mephisto Plugin for Twitter Comments</title>
  <id>tag:dnite.org,2009:/2007/3/23/mephisto-plugin-for-twitter/comments</id>
  <generator uri="http://mephistoblog.com" version="0.8.0">Mephisto Drax</generator>
  <link href="http://dnite.org/2007/3/23/mephisto-plugin-for-twitter/comments.xml" rel="self" type="application/atom+xml"/>
  <link href="/2007/3/23/mephisto-plugin-for-twitter" rel="alternate" type="text/html"/>
  <updated>2007-07-20T15:22:32Z</updated>
  <entry xml:base="http://dnite.org/">
    <author>
      <name>benoit caccinolo</name>
    </author>
    <id>tag:dnite.org,2007-03-23:28:223</id>
    <published>2007-07-20T15:22:32Z</published>
    <updated>2007-07-20T15:22:32Z</updated>
    <category term="My Stuff"/>
    <link href="http://dnite.org/2007/3/23/mephisto-plugin-for-twitter" rel="alternate" type="text/html"/>
    <title>Comment on 'Mephisto Plugin for Twitter' by benoit caccinolo</title>
<content type="html">&lt;p&gt;Hi, 
I just installed your plugin on my Mephisto 0.7.3 and experienced the problem: &#8220;Wrong num of argument (2 for 3)&#8221;. After some ressearch, I discovered the initialized method takes only 2 args. It seems this method has changed with new versions of Liquid plugin.&lt;/p&gt;


	&lt;p&gt;So in &#8216;twitter_status.rb&#8217;, the initialize method is declared like this:
   def initialize(markup, tokens)&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://dnite.org/">
    <author>
      <name>Peter Lutz</name>
    </author>
    <id>tag:dnite.org,2007-03-23:28:127</id>
    <published>2007-06-14T13:48:50Z</published>
    <updated>2007-06-14T13:48:50Z</updated>
    <category term="My Stuff"/>
    <link href="http://dnite.org/2007/3/23/mephisto-plugin-for-twitter" rel="alternate" type="text/html"/>
    <title>Comment on 'Mephisto Plugin for Twitter' by Peter Lutz</title>
<content type="html">&lt;p&gt;Heh, sorry about the html formatting error towards the end.  It should look like:&lt;/p&gt;


	&lt;p&gt;I think this has to do with adapting this plugin from Dan Webb’s lastfm plugin, he uses &lt;code&gt;chart&lt;/code&gt; as the variable while you use &lt;code&gt;timeline&lt;/code&gt;. I hope this helps!&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://dnite.org/">
    <author>
      <name>Peter Lutz</name>
    </author>
    <id>tag:dnite.org,2007-03-23:28:126</id>
    <published>2007-06-14T13:46:14Z</published>
    <updated>2007-06-14T13:46:14Z</updated>
    <category term="My Stuff"/>
    <link href="http://dnite.org/2007/3/23/mephisto-plugin-for-twitter" rel="alternate" type="text/html"/>
    <title>Comment on 'Mephisto Plugin for Twitter' by Peter Lutz</title>
<content type="html">&lt;p&gt;I was having the same problem as justways&#8212;I couldn&#8217;t limit the number of twitter posts displayed.  Using &#8220;top: 1&#8221; as in &lt;code&gt;{% twittertimeline user: 'my_username', type: 'user_timeline', top: 1 as status %}&lt;/code&gt; wasn&#8217;t working, but I fixed it.&lt;/p&gt;


The problem is on line 23 of mephisto_twitter/lib/twitter_status.rb&#8212;it says:
&lt;code&gt;timeline = chart[0..options[:top].to_i - 1] if options[:top]&lt;/code&gt;
but if you change it to:
&lt;code&gt;timeline = timeline[0..options[:top].to_i - 1] if options[:top]&lt;/code&gt;
the &lt;code&gt;twittertimeline&lt;/code&gt; tag above should work.

	&lt;p&gt;I think this has to do with adapting this plugin from Dan Webb&#8217;s lastfm plugin, he uses &lt;code&gt;chart&amp;lt;code&amp;gt; as the variable while you use &amp;lt;code&amp;gt;timeline&amp;lt;/code&amp;gt;.  I hope this helps!&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://dnite.org/">
    <author>
      <name>Justways</name>
    </author>
    <id>tag:dnite.org,2007-03-23:28:47</id>
    <published>2007-04-13T00:15:38Z</published>
    <updated>2007-04-13T00:15:38Z</updated>
    <category term="My Stuff"/>
    <link href="http://dnite.org/2007/3/23/mephisto-plugin-for-twitter" rel="alternate" type="text/html"/>
    <title>Comment on 'Mephisto Plugin for Twitter' by Justways</title>
<content type="html">&lt;p&gt;Hello,&lt;/p&gt;


Thanks for your plugin but I&#8217;ve a problem. I want to show one post and I write this:
&lt;code&gt;{% twittertimeline user: 'my_username', type: 'user_timeline', top: 1 as status %}&lt;/code&gt;

But it doesn&#8217;t work, it return
&lt;blockquote&gt;Something went wrong.&lt;/blockquote&gt;

	&lt;p&gt;Thanks for your help.&lt;/p&gt;</content>  </entry>
</feed>
