Committer: gariev
LJSUP-4414: add the number of recieved comments to RSS feedsU 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"; }