]> git.wh0rd.org - tt-rss.git/commitdiff
update: better tag-related debugging info
authorAndrew Dolgov <fox@madoka.volgo-balt.ru>
Wed, 1 May 2013 16:33:59 +0000 (20:33 +0400)
committerAndrew Dolgov <fox@madoka.volgo-balt.ru>
Wed, 1 May 2013 16:33:59 +0000 (20:33 +0400)
include/rssfuncs.php

index 57e63b8737759dc8cf6947412b29402eb1952d57..d1175a30386eceff23c2cdeb49093c4012514e56 100644 (file)
 
                                _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
 
                                        }
                                }
 
-                               _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