* @license http://www.fsf.org/licensing/licenses/agpl-3.0.html GNU Affero General Public License version 3.0
* @link http://status.net/
*/
-
class SitemapindexAction extends Action
{
/**
*
* @return void
*/
-
function handle($args)
{
header('Content-Type: text/xml; charset=UTF-8');
{
$noticeCounts = Sitemap_notice_count::getAll();
- common_debug(sprintf("Got %d notice counts", count($noticeCounts)));
-
foreach ($noticeCounts as $dt => $cnt) {
if ($cnt == 0) {
continue;