update: better tag-related debugging info
This commit is contained in:
parent
852d4ac890
commit
ee78f81ccd
|
@ -591,7 +591,7 @@
|
||||||
|
|
||||||
_debug("author $entry_author", $debug_enabled);
|
_debug("author $entry_author", $debug_enabled);
|
||||||
_debug("num_comments: $num_comments", $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
|
// 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);
|
$entry_tags = array_unique($additional_tags);
|
||||||
|
|
||||||
for ($i = 0; $i < count($entry_tags); $i++)
|
for ($i = 0; $i < count($entry_tags); $i++)
|
||||||
$entry_tags[$i] = mb_strtolower($entry_tags[$i], 'utf-8');
|
$entry_tags[$i] = mb_strtolower($entry_tags[$i], 'utf-8');
|
||||||
|
|
||||||
|
_debug("tags found: " . join(",", $entry_tags), $debug_enabled);
|
||||||
|
|
||||||
_debug("done collecting data.", $debug_enabled);
|
_debug("done collecting data.", $debug_enabled);
|
||||||
|
|
||||||
// TODO: less memory-hungry implementation
|
// TODO: less memory-hungry implementation
|
||||||
|
|
Loading…
Reference in New Issue