update: better tag-related debugging info

This commit is contained in:
Andrew Dolgov 2013-05-01 20:33:59 +04:00
parent 852d4ac890
commit ee78f81ccd
1 changed files with 3 additions and 4 deletions

View File

@ -591,7 +591,7 @@
_debug("author $entry_author", $debug_enabled);
_debug("num_comments: $num_comments", $debug_enabled);
_debug("looking for tags [1]...", $debug_enabled);
_debug("looking for tags...", $debug_enabled);
// parse <category> entries into tags
@ -605,14 +605,13 @@
}
}
_debug("category tags:", $debug_enabled);
_debug("looking for tags [2]...", $debug_enabled);
$entry_tags = array_unique($additional_tags);
for ($i = 0; $i < count($entry_tags); $i++)
$entry_tags[$i] = mb_strtolower($entry_tags[$i], 'utf-8');
_debug("tags found: " . join(",", $entry_tags), $debug_enabled);
_debug("done collecting data.", $debug_enabled);
// TODO: less memory-hungry implementation