<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" 
      xmlns:thr="http://purl.org/syndication/thread/1.0">
  <link rel="alternate" type="text/html" href="http://forums.movabletype.org/2008/08/recently-commented-on-no-longe.html" />
  <link rel="self" type="application/atom+xml" href="http://forums.movabletype.org/atom.xml" />
  <id>tag:forums.movabletype.org,2011://24/tag:forums.movabletype.org,2008://24.7161-</id>
  <updated>2011-09-01T02:28:24Z</updated>
  <title>Comments for recently_commented_on no longer working?</title>
  
  <generator uri="http://www.sixapart.com/movabletype/">Movable Type 4.292</generator>
  <entry>
    <id>tag:forums.movabletype.org,2008://24.7161</id>
    <link rel="alternate" type="text/html" href="http://forums.movabletype.org/2008/08/recently-commented-on-no-longe.html" />
    <link rel="service.edit" type="application/atom+xml" href="http://www.movabletype.org/cgi-bin/mt/mt-atom.cgi/weblog/blog_id=24/entry_id=7161" title="recently_commented_on no longer working?" />
    <published>2008-08-13T22:13:51Z</published>
    <updated>2008-08-19T16:45:26Z</updated>
    <title>recently_commented_on no longer working?</title>
    <summary>I&apos;ve just upgraded to 4.2 and the mt:Entries attribute recentlycommentedon doesn&apos;t seem to be working for me any more. I have a test template like this: But it outputs nothing, despite there being comments on the site recently (eg here...</summary>
    <author>
      <name>Phil Gyford</name>
      <uri>http://www.gyford.com/</uri>
    </author>
    
    <category term="Design, Templates, &amp; Tags" />
    
    <content type="html" xml:lang="en" xml:base="http://forums.movabletype.org/">
      <![CDATA[<p>I've just upgraded to 4.2 and the mt:Entries attribute recently<em>commented</em>on doesn't seem to be working for me any more.</p>

<p>I have a test template like this:</p>

<p><br /></p>

<p>But it outputs nothing, despite there being comments on the site recently (eg here http://www.pepysdiary.com/archive/1665/08/12/ )</p>

<p>Have I made some stupid mistake or can anyone else replicate this?</p>

<p>Also, am I imagining things, or did the value for recently<em>commented</em>on used to be the number of entries to display, rather than "the number of days to use to limit the selection"? http://www.movabletype.org/documentation/appendices/tags/entries.html</p>

<p>Thanks.</p>
]]>
      

    </content>
  </entry>

  <entry>
    <id>tag:forums.movabletype.org,2008://24.7161-comment:5961</id>
    <thr:in-reply-to ref="tag:forums.movabletype.org,2008://24.7161" type="text/html" href="http://forums.movabletype.org/2008/08/recently-commented-on-no-longe.html"/>
    <link rel="alternate" type="text/html" href="http://forums.movabletype.org/2008/08/recently-commented-on-no-longe.html#c5961" />
    <title>Comment from Phil Gyford on 2008-08-13</title>
    <author>
        <name>Phil Gyford</name>
        <uri></uri>
    </author>
    <content type="html" xml:lang="en" xml:base="">
        <![CDATA[<p>My test template didn't show up (and I couldn't see an option to Preview my post). Here it is:</p>

<p>	<br />
	<br /><br />
	</p>

<p>Strange, works fine in a reply...</p>]]>
    </content>
    <published>2008-08-13T22:15:52Z</published>
  </entry>

  <entry>
    <id>tag:forums.movabletype.org,2008://24.7161-comment:6005</id>
    <thr:in-reply-to ref="tag:forums.movabletype.org,2008://24.7161" type="text/html" href="http://forums.movabletype.org/2008/08/recently-commented-on-no-longe.html"/>
    <link rel="alternate" type="text/html" href="http://forums.movabletype.org/2008/08/recently-commented-on-no-longe.html#c6005" />
    <title>Comment from Su on 2008-08-14</title>
    <author>
        <name>Su</name>
        <uri></uri>
    </author>
    <content type="html" xml:lang="en" xml:base="">
        <![CDATA[<p>Pasted your snippet in exactly, and it works fine. Have you tried isolating it in its own index template and manually rebuilding it, just to see if something else might be interfering?</p>

<p>The docs are wrong. <a href="http://bugs.movabletype.org/default.asp?81127" rel="nofollow">Bug filed</a>; I'll submit a patch this weekend if someone doesn't get to it first.</p>]]>
    </content>
    <published>2008-08-14T11:26:04Z</published>
  </entry>

  <entry>
    <id>tag:forums.movabletype.org,2008://24.7161-comment:6013</id>
    <thr:in-reply-to ref="tag:forums.movabletype.org,2008://24.7161" type="text/html" href="http://forums.movabletype.org/2008/08/recently-commented-on-no-longe.html"/>
    <link rel="alternate" type="text/html" href="http://forums.movabletype.org/2008/08/recently-commented-on-no-longe.html#c6013" />
    <title>Comment from Phil Gyford on 2008-08-14</title>
    <author>
        <name>Phil Gyford</name>
        <uri></uri>
    </author>
    <content type="html" xml:lang="en" xml:base="">
        <![CDATA[<p>Many thanks for checking that for me Su, but I can't seem to fix the problem here. </p>

<p>[Here's a sample page](http://www.gyford.com/temp/recent_comments_test.html) including the MT code I'm using in an index template, and a list of recent comments to show that more Entries should appear.</p>

<p>Anything obvious I've done wrong there, or is there some other weirdness at play?</p>]]>
    </content>
    <published>2008-08-14T14:28:23Z</published>
  </entry>

  <entry>
    <id>tag:forums.movabletype.org,2008://24.7161-comment:6015</id>
    <thr:in-reply-to ref="tag:forums.movabletype.org,2008://24.7161" type="text/html" href="http://forums.movabletype.org/2008/08/recently-commented-on-no-longe.html"/>
    <link rel="alternate" type="text/html" href="http://forums.movabletype.org/2008/08/recently-commented-on-no-longe.html#c6015" />
    <title>Comment from Phil Gyford on 2008-08-14</title>
    <author>
        <name>Phil Gyford</name>
        <uri></uri>
    </author>
    <content type="html" xml:lang="en" xml:base="">
        <![CDATA[<p>Many thanks for checking that for me Su, but I can't seem to fix the problem here. </p>

<p>[Here's a sample page](http://www.gyford.com/temp/recent_comments_test.html) including the MT code I'm using in an index template, and a list of recent comments to show that more Entries should appear.</p>

<p>Anything obvious I've done wrong there, or is there some other weirdness at play?</p>]]>
    </content>
    <published>2008-08-14T14:29:06Z</published>
  </entry>

  <entry>
    <id>tag:forums.movabletype.org,2008://24.7161-comment:6017</id>
    <thr:in-reply-to ref="tag:forums.movabletype.org,2008://24.7161" type="text/html" href="http://forums.movabletype.org/2008/08/recently-commented-on-no-longe.html"/>
    <link rel="alternate" type="text/html" href="http://forums.movabletype.org/2008/08/recently-commented-on-no-longe.html#c6017" />
    <title>Comment from Phil Gyford on 2008-08-14</title>
    <author>
        <name>Phil Gyford</name>
        <uri></uri>
    </author>
    <content type="html" xml:lang="en" xml:base="">
        <![CDATA[<p>(Oops, sorry for duplicate... seems it's possible to go 'Back' to a previous page and submit the same comment again.)</p>]]>
    </content>
    <published>2008-08-14T14:30:33Z</published>
  </entry>

  <entry>
    <id>tag:forums.movabletype.org,2008://24.7161-comment:6287</id>
    <thr:in-reply-to ref="tag:forums.movabletype.org,2008://24.7161" type="text/html" href="http://forums.movabletype.org/2008/08/recently-commented-on-no-longe.html"/>
    <link rel="alternate" type="text/html" href="http://forums.movabletype.org/2008/08/recently-commented-on-no-longe.html#c6287" />
    <title>Comment from Phil Gyford on 2008-08-19</title>
    <author>
        <name>Phil Gyford</name>
        <uri></uri>
    </author>
    <content type="html" xml:lang="en" xml:base="">
        <![CDATA[<p>The solution is to add limit="100" to the MTEntries tag, so something like:</p>

<p>	<br />
	...<br />
	</p>

<p>If 100 isn't enough, try a larger number. No idea why this works or is needed, but it does.</p>

<p>Incidentally, this is only needed if the template is being published statically. If you're publishing the template dynamically, the limit modifer isn't required to get recently\_commented\_on working.</p>]]>
    </content>
    <published>2008-08-19T16:45:26Z</published>
  </entry>

</feed>

