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:
@@ -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>";
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user