Igor Gariev (gariev) wrote in changelog,
Igor Gariev
gariev
changelog

[livejournal] r15236: LJSUP-4414: add the number of recieved c...

Committer: gariev
LJSUP-4414: add the number of recieved comments to RSS feeds

U   trunk/cgi-bin/ljfeed.pl
Modified: trunk/cgi-bin/ljfeed.pl
===================================================================
--- trunk/cgi-bin/ljfeed.pl	2009-06-02 10:26:41 UTC (rev 15235)
+++ trunk/cgi-bin/ljfeed.pl	2009-06-03 10:37:33 UTC (rev 15236)
@@ -265,6 +265,7 @@
             tags       => [ values %{$logtags->{$itemid} || {}} ],
             security   => $it->{security},
             posterid   => $it->{posterid},
+            replycount => $logprops{$itemid}->{'replycount'},
         };
         push @cleanitems, $cleanitem;
         push @entries,    $entry_obj;
@@ -359,6 +360,7 @@
             $ret .= "  <lj:poster>" . LJ::exml($poster->user) . "</lj:poster>\n";
             $ret .= "  <lj:posterid>" . $poster->userid . "</lj:posterid>\n";
         }
+        $ret .= "  <lj:reply-count>$it->{replycount}</lj:reply-count>\n";
         $ret .= "</item>\n";
     }
 

Subscribe

  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 0 comments