From ee78f81ccdcc12055927a708e31ab0a85442b27b Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Wed, 1 May 2013 20:33:59 +0400 Subject: [PATCH] update: better tag-related debugging info --- include/rssfuncs.php | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/include/rssfuncs.php b/include/rssfuncs.php index 57e63b87..d1175a30 100644 --- a/include/rssfuncs.php +++ b/include/rssfuncs.php @@ -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 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 -- 2.39.2