mirror of
https://github.com/YunoHost-Apps/freshrss_ynh.git
synced 2024-09-03 18:36:33 +02:00
8 lines
176 B
PHTML
Executable file
8 lines
176 B
PHTML
Executable file
<?php
|
|
$result = array();
|
|
foreach ($this->categories as $cat) {
|
|
foreach ($cat->feeds() as $feed) {
|
|
$result[$feed->id()] = $feed->nbNotRead();
|
|
}
|
|
}
|
|
echo json_encode($result);
|