I want to show the tags, that are assigned to a K2 item, in an RSS feed.
I have added:
$feedItem->tags = $tag;
and then added:
$feed .= " <tags>" . htmlspecialchars($data->items[$i]->tags, ENT_COMPAT, 'UTF-8') . "</tags>\n";
I get the placeholder in the RSS feed view of but the tags aren't being show.
Any ideas where I'm going wrong?