Skip to content

Commit 4b1b18d

Browse files
committed
even more opml export logging
1 parent a6c5084 commit 4b1b18d

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

controllers/Opml.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -302,12 +302,13 @@ public function export() {
302302
// create associative array with tag names as keys, colors as values
303303
$tagColors = array();
304304
foreach ($this->tagsDao->get() as $key => $tag) {
305+
\F3::get('logger')->log("OPML export: tag ".$tag['tag']." has color ".$tag['color'], \DEBUG);
305306
$tagColors[$tag['tag']] = $tag['color'];
306307
}
307308

308309
// generate outline elements for all sources
309310
foreach ($sources['tagged'] as $tag => $children) {
310-
\F3::get('logger')->log("OPML export: exporting tag $tag", \DEBUG);
311+
\F3::get('logger')->log("OPML export: exporting tag $tag sources", \DEBUG);
311312
$this->writer->startElement('outline');
312313
$this->writer->writeAttribute('title', $tag);
313314
$this->writer->writeAttribute('text', $tag);
@@ -320,6 +321,8 @@ public function export() {
320321

321322
$this->writer->endElement(); // outline
322323
}
324+
325+
\F3::get('logger')->log("OPML export: exporting untagged sources", \DEBUG);
323326
foreach ($sources['untagged'] as $key => $source) {
324327
$this->writeSource($source);
325328
}

0 commit comments

Comments
 (0)