1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-15 22:15:56 +00:00

headlines: use JSON instead of separate helper xml objects like headlines-unread

This commit is contained in:
Andrew Dolgov
2010-11-06 22:19:08 +03:00
parent f72a7b6696
commit ffbe082dd0
3 changed files with 40 additions and 20 deletions

View File

@@ -6842,10 +6842,16 @@
print "</div>]]>";
print "</headlines>";
print "<headlines-count value=\"0\"/>";
print "<vgroup-last-feed value=\"0\"/>";
print "<headlines-unread value=\"0\"/>";
print "<disable-cache value=\"1\"/>";
print "<headlines-info><![CDATA[";
$info = array("count" => 0,
"vgroup_last_feed" => '',
"unread" => 0,
"disable_cache" => true);
print json_encode($info);
print "]]></headlines-info>";
}